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
Explain the Inportance of pa30? : abap hr
How we can retrieve data using secondary index. Explain with simple example?
how do you transport lsmw data from one system to another?
What will be your approach towards optimizing legacy code? Will you suggest change in technology? Does OO ABAP bring any performance benefits? How will you deal with queries in a loop? How will you optimize nested loops?
Why are insert and append statement used in sap abap?
What are the domains and data elements?
Explain what is sequence of event triggered in report?
What is the difference between the exits created in M.M and S&D?
Why do we use logical blocks in abap program?
What is at exit-command:?
What are the function modules used in a sap script driver program?
What are logical data bases used in hr module? : abap hr
What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary
Can a transparent table exist in the data dictionary but not in the database physically?
Explain what are extracts?