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 are the different types of sapscript symbols?
Sales Order Information Report that lists information like sales order no, Item no, material no, Quantity, Quantity unit, Net value, Currency,Sub Total, Grand Total. plz mention the detail coding Tahnks, Rahul
How many default tab strips are there? How to insert more tabs in it?
Exception handling and how does it transfer from called method to calling method?
How do you delete duplicate records from internal table?
Difference between select option and ranges ?
Can we make use of flow logic control key words in abap/4 and vice-versa?
Explain badi in abap.
What are Tickets in Realtime ?
How do you write a function module in sap?
What is the table buffer?
Table events aNd table maintains generation
What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr
What are authorization objects and what statement is used to perform an authorization check in an abap program?
What are the different methods of bdc? : abap bdc