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

Explain the Inportance of pa30? : abap hr

1339


How we can retrieve data using secondary index. Explain with simple example?

1155


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

1109


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?

1353


Why are insert and append statement used in sap abap?

1157


What are the domains and data elements?

1553


Explain what is sequence of event triggered in report?

993


What is the difference between the exits created in M.M and S&D?

2090


Why do we use logical blocks in abap program?

2083


What is at exit-command:?

975


What are the function modules used in a sap script driver program?

1136


What are logical data bases used in hr module? : abap hr

1294


What is the significance of technical settings (specified while creating a table in the data dictionary)? : abap data dictionary

1095


Can a transparent table exist in the data dictionary but not in the database physically?

1029


Explain what are extracts?

1081