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 luws?
What primary key and foreign key relationship
Abstract class and interface, multiple inheritance, live example
What is a subroutine?
What are the functional areas? User groups? and how does ABAP query work in relation to these?
How do you find the information on the current screen? : abap bdc
What is bdc? : abap bdc
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization
What is a matchcode?
how do you transport lsmw data from one system to another?
What is the difference b/t Session method and call transaction method ??
Explain read dataset in sap abap?
Do you know any other patterns if yes.. explain
What do you do when the system crashes in the middle of a BDC batch session?
What is the project you are currently working and work that you are doing