Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to add segments to IDOC?

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


Please Help Members By Posting Answers For Below Questions

What are the different types of luws?

1249


What primary key and foreign key relationship

1434


Abstract class and interface, multiple inheritance, live example

1392


What is a subroutine?

1109


What are the functional areas? User groups? and how does ABAP query work in relation to these?

1211


How do you find the information on the current screen? : abap bdc

1114


What is bdc? : abap bdc

1071


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization

1164


What is a matchcode?

1063


how do you transport lsmw data from one system to another?

1172


What is the difference b/t Session method and call transaction method ??

6306


Explain read dataset in sap abap?

1274


Do you know any other patterns if yes.. explain

1350


What do you do when the system crashes in the middle of a BDC batch session?

1233


What is the project you are currently working and work that you are doing

1582