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 did a software update yesterday to the 10.2.1.2102 and now when i receive a text my phone doesnt notify me of this. No tone goes off and no icon appears. HELP!Ok. Do a simple reboot on the BlackBerry in this manner: With the BlackBerry device POWER [More]
I have very little experience with Logic Express (or any other audio recording app). I have recorded a few tracks with it, so it has worked in the past, but I must be overlooking something. I am using a FW-1884, which seems to be working as it should [More]
why cant i log into an account to sign on but i can log into another? possible virus?Some times a disk permisions run will fix this. If the account that you can log onto is an admin you can go to Utilities -> disk utility. Select your disk on the lef [More]
Hi, I find a problem in creating inquiry The basic price PR00 is missing and it shows as an error 1) I have maintained in Item category 2) The document pricing procedure is maintained for inquiry doc type\ 3) Condition record is also maintained. What [More]
Hello, i want to use the change data capture for the typical Data Warehousing progress (bring the new or updatet table from source to the staging area) So i have implemented a mapping with to tables. The source table is S_Account, the target or stagi [More]
Dear all, I´am having a inconsistency between FI(BKPF-BSEG) and MM (RBKP-RSEG)due to the posted of an invoice by MR1M. SAP says that it must to the use of COMMIT WORK within USER EXIT used in the transaction. But that is not the important thing at th [More]
I have a simple Illustrator file. The color values are C=0  M=0  Y=0  K=100 When I run the file through Acrobat Professional's Output Preview to check the colors (I am looking to make sure there are no C, M or Y values), I get values for all four (CM [More]
Hi, I just tried to run the stand alone skin editor (11.1.2) on Mac OS X and noticed some UI rendering issue - All the icon and menu are hidden unless I move the mouse cursor over them. (sometimes they don't even show up if I do so) And every time wh [More]
Hi.... In view of the negative comments that some have made about iPhoto11 and before I actually install it... is it possible, or any reason why not to install BOTH iPhoto 9 and iPhoto11 on my iMac? I appreciate that they would have to have separate [More]
Hello, in my application , when client open a title window i.e popup window. i am allowing him to move the title window.till now is ok. but problem is that he can move popup with in only application. i want he can move or drag a popup over a browser. [More]