Answer Posted / mahesh
Updating Idoc data in Segments:
Step1:Open doc to edit
call function 'EDI_DOCUMENT_OPEN_FOR_EDIT'
Step2:Loop at itab_edidd and change data
Step3a:Change data segments
Call function 'EDI_CHANGE_DATA_SEGMENTS'
Step3b:Change control record
Call function 'EDI_CHANGE_CONTROL_RECORD'
Step4:Close Idoc
*UPDATE IDOC STATUS
Call function 'EDI_DOCUMENT_CLOSE_EDIT'
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is the difference between a substructure and an append structure?
What is the table buffer?
What are base tables of an aggregate object?
In sap script how to print bar code in vertical manner
How do you convert non-char field into char type fields ?
What data is contained? : abap data dictionary
What are client dependent objects in abap/sap?
What is sap abap data dictionary?
What is macro? : abap hr
Explain about Recording Function?
What are the data types of the external layer? : abap data dictionary
How do you use structures in the abap programs?
What are the basic object types? : sap abap hr
What are field groups?
How to combine multiple billing into one RV document ( Step by Step)?