Sitemap

Amicuk Programming Answers

Try to Execute CRM_TEXT_MAINTAIN_OW

-0001-11-30   Views:2

Advertisement

Hi Experts, i am trying to execute the fm CRM_TEXT_MAINTAIN_OW, but i will not work, what is the mistake in my test report, i cannot find him. *& Report ZTEST_CRM_TEXT_MAINTAIN_OW REPORT ZTEST_CRM_TEXT_MAINTAIN_OW. DATA: lv_guid_ref TYPE crmt_object_

Hi Experts,
i am trying to execute the fm CRM_TEXT_MAINTAIN_OW, but i will not work, what is the mistake in my test report, i cannot find him.
*& Report ZTEST_CRM_TEXT_MAINTAIN_OW
REPORT ZTEST_CRM_TEXT_MAINTAIN_OW.
DATA: lv_guid_ref TYPE crmt_object_guid,
l_table_it_text TYPE CRMT_TEXT_COMT,
l_wrk_it_text TYPE CRMT_TEXT_COM,
l_wrk_line TYPE TLINE,
l_wrk_text TYPE CRMT_TEXT_WRK,
lt_input_fields TYPE CRMT_INPUT_FIELD_NAMES_TAB,
lt_changed_objects_guid_tab TYPE crmt_object_guid_tab,
l_wrk_input_field TYPE CRMT_INPUT_FIELD_NAMES.
CLEAR l_wrk_line.
l_wrk_line-tdformat = '*'.
l_wrk_line-tdline = 'TEST OK'.
APPEND l_wrk_line TO l_wrk_text-lines.
l_wrk_it_text-lines[] = l_wrk_text-lines[].
lv_guid_ref = '4A7B9459B27B2A4AE1000000AC116637'.
l_wrk_it_text-ref_guid = '4A7B9459B27B2A4AE1000000AC116637'.
l_wrk_it_text-ref_kind = 'A'.
"l_wrk_it_text-text_object = ''.
l_wrk_it_text-tdid = 'CD01'.
l_wrk_it_text-tdspras = 'D'.
l_wrk_it_text-tdform = 'SYSTEM'.
l_wrk_it_text-tdtexttype = ''.
l_wrk_it_text-tdstyle = 'SYSTEM'.
APPEND l_wrk_it_text to l_table_it_text.
l_wrk_input_field-fieldname = 'LINES'.
INSERT l_wrk_input_field INTO TABLE lt_input_fields.
CALL FUNCTION 'CRM_TEXT_MAINTAIN_OW'
EXPORTING
IT_TEXT = l_table_it_text
IV_OBJECT_GUID = lv_guid_ref
IV_OBJECT_KIND = 'A'
CHANGING
CT_INPUT_FIELD_NAMES = lt_input_fields
EXCEPTIONS
OBJECT_KIND_UNKNOWN = 1
READ_ERROR_OBJECT_BUFFER = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
INSERT lv_guid_ref INTO TABLE lt_changed_objects_guid_tab.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
IT_OBJECTS_TO_SAVE = lt_changed_objects_guid_tab
EXCEPTIONS
DOCUMENT_NOT_SAVED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks for your help.

The replay answer
Advertisement
Whenever using external repositories, we may loose the track.
The Windows Space is empty.
What was the solution?
We have such a problem with creating notes as well.

Go to See the other 3 answers

Try to Execute CRM_TEXT_MAINTAIN_OW

Category:DefaultRelease time:-0001-11-30Views:130

Hi Experts, i am trying to execute the fm CRM_TEXT_MAINTAIN_OW, but i will not work, what is the mistake in my test report, i cannot find him. *& Report ZTEST_CRM_TEXT_MAINTAIN_OW REPORT ZTEST_CRM_TEXT_MAINTAIN_OW. DATA: lv_guid_ref TYPE crmt_object_[More]

Error while executing a DTP

Category:DefaultRelease time:2015-10-11Views:130

Hi All , I got  an error while executing a DTP. Short Dump analysis points this error. :   DBIF_REPO_SQL_ERROR. Please provide in your valuable inputs to resolve this error. Thank & Regards, Rohit GargThis error comes majorly when you have a deadlock[More]

Built-in: Execute procedure - delete statement

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am trying to delete rejected invoices from AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE tables each time form is opened. I am not developer so I have not access to form design, but I am allowed to use forms personalization, however I am[More]

Dynamic CRM 2013 Online how to execute Report, generate PDF and email

Category:DefaultRelease time:2015-10-11Views:130

Dear All, I am using Dynamic CRM 2013 online. For quote, I have workflow and Dialogue processes for review process. On approval, I want the system to generate a PDF of quote report, attach the PDF and email it to the Customer. Better I would like, Wh[More]

Report Generation Toolkit Excel Vi's do not run after creating an executable​. What am I missing?

Category:DefaultRelease time:2015-10-11Views:130

I have labview 8.5 and Report Generation Toolkit version 1.1.2.   My vi works fine during development. When I make an executable or an installer the excel vi's do not work. I have seen this question posted before but it has always been for earlier re[More]

Open VI Reference Error in the executable version only

Category:DefaultRelease time:2015-10-11Views:130

Hello folks! I am having a strange issue since I updated to Labview 2014: I have a vi that uses "Open VI Reference" in order to programmatically open the desired vi. It worked flawless also in the compiled version (.exe) of the program until yes[More]

Memory usage of excel stays high after Macro is executed and excel crashes after trying to close it

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm trying to resolve an issue with an excel based tool. The macros retrieve data from an Oracle database and do calculations with the data. They also open and write into files in the same directory. The macros all run and finish the calculations[More]

Background job - not sure if its executed in BG

Category:DefaultRelease time:2015-10-11Views:130

Hi, I wanted to submit my program in background and have used Job_open, Job_sumbit, Job_close FM's. I have passed following parameters. Job_open - jobgroup, jobname,sy-datum, sy-timlo job_submit- sy-uname, jobcount,jobname,sy-langu, sy-repid Joc_clos[More]

How can I execute an external program from within a button's event handler?

Category:DefaultRelease time:2015-10-11Views:130

I am using Tomcat ApacheTomcat 6.0.16 with Netbeans 6.1 (with the latest JDK/J2EE) I need to execute external programs from an event handler for a button on a JSF page (the program is compiled, and extremely fast compared both to plain java and espec[More]

How can i execute ejb method in a servlet?

Category:DefaultRelease time:2015-10-11Views:130

hi I am using a IBM HTTP Server and Weblogic Server. I could execute below source in a main method of application but i could not that in a init method of servlet because of ClassCastException. (a classpath of weblogic contains client's classpath) //[More]

Error in executing a process for compilation for jsp

Category:DefaultRelease time:2015-10-11Views:130

We have an iView which has jsp pages in it. We deployed the par & try toaccess the iview & we get an exception. The issue is that the iview has a jsp page. At the run time, this jsp is converted into a .java file without problem. But EP engine is[More]

Hot
I installed the Adobe 9 pro update with the Livecycle designer ES 8.2. Initially it worked and I created some documents, but it is now failing with the following error "An unhandled win32 exception occurred in FormDesigner.exe[2888]." I get this [More]
hello My project is to replicat in real time a JD Edwards database (oracle 10.2.0.4, 1To) with goldengate (11.1.1.1.2 on Aix 6.1) I want to be sure to validate my initial load setup, what I want to do is : 1 -  start extract + pump, begin now  (apply [More]
The question is not a question because I already know..... Mountain Lion Mail obviously cant print or save multiple messages ! There are multiple threads about that, but I couldnt find any solution : I want to export a full folder of mails (emlx) to [More]
I'd like to create a form for clubs to register their members. In this form I want it to include the payment they will owe to Provincial, National and International levels. Is there a way to create the form so that the person filling it out can selec [More]
Hi guys, just curious, since there is very few content about the client side table (available since NW 7.30) Web Dynpro ABAP UI element here on SDN ( sap help link ) Is anybody using this UI element in a more ore less complex application? Since I'd l [More]
Is there any way to make formula node accept complex variables. I do not talk about dividing it to Real and Imag, but to have genuaine complex as an input. thanks in advance PawelAvailable data types are given in the following document: http://digita [More]
My iBook G4 stopped booting properly this morning. I was installing the Adobe After Effects CS3 trial when the screensaver came on after a while, but when I moved the mouse to deactivate it, the authentication dialog did not appear as usual, so I for [More]
How can I upgrade to the final version of IOS 7 if I already have the latest beta version? I am from Guatemala, but I have an Ipod 5th gen and I am registered to the USA. What can I do?You say you have iOS 7. If you are a developer you have access to [More]
I'm hoping you can help me with my Safari 3.2.1 problem on 10.4.11 It crashes within seconds of opening every time. I've tried repairing permissions, resetting, unchecking the warning of fraudulent websites box, which I can usually just reach before [More]
hi frndz, plz don't give me the program which is circulating in forum bcoz i kno tht progm it gives the userexit and BADI but i want to get the include programs for eg:MV45FZZ for VA01 tcode....how to get the include programs like this for other tcod [More]