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
Good Morning, All! How can I convert, apply, or change, efficiently, my html web pages into a CSS template so I don't have to change each page every time I add something to the main page-also, I currently have two tables (I know, old-fashioned) one w [More]
HELP!!! I purchased CS 5.5 illustrator/photoshop/acrobat in CD version.  I now have a new laptop which does not have a cd player.  How can I upload these programs? Adobe.com no longer has CS5 for downloads. I really need these programs on my new lapt [More]
Hello, maybe that you can also help my with the installation of the driver software for my B110a on my Windows 7 64-bit Enterprise Edition Laptop. I downloaded the driver software from: http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwar [More]
Hello, I have a Macbook Air, bought May 2012 or so that came with OS 10.7.4 on it.  Did not try to upgrade OS until recently.  Tried to upgrade to OS Mavericks, however received error message 'Before installing OS X Mavericks this system requires Mac [More]
Hi Using AutoCAD2008, and experimenting with Adobe Acrobat 9 Pro extended (trial version). When converting the CAD file to a 3d pdf, all works well except the text in the CAD file is not included in the pdf file.  Any tips or tricks? Thanks TomAcroba [More]
There is a grey area following behind the current time indicator everywhere it goes, and animation presets will move along, how do I change this problemWhat is the problem? The grey area around the current-time indicator merely indicates the shutter [More]
I was trying out thr auto clone process on Sun Solaris where E-Business suite 11.10.5.2 was installed. The following error occur: RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack. Do any one know was need be done. I will appreciate [More]
My user is running a crosstab query against the first .unx universe published in production. We are on SAP BI 4.0  no SP. When a normal query is run the heading columns default backkground blue and print white. However, on the crosstab the other grou [More]
I am experiencing a problem with a Cisco Router 7204VXR with the fastEthernet interface. The board is model PA-2FE-TX (FE2/0 and FE2/1): the FE2/1 seems to work correctly, while I have problems with the FE2/0. After putting it up and as soon as a dat [More]
I am building many to many webcam based chat application . The application page on client side will show streams anywhere from 1 up to 10 webcams. Most of the streams or chat will inactive so I am thinking that I can broadcast those inactive streams [More]