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 sapscript symbols?

1016


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

2115


How many default tab strips are there? How to insert more tabs in it?

1046


Exception handling and how does it transfer from called method to calling method?

1438


How do you delete duplicate records from internal table?

1149


Difference between select option and ranges ?

1047


Can we make use of flow logic control key words in abap/4 and vice-versa?

1009


Explain badi in abap.

975


What are Tickets in Realtime ?

2171


How do you write a function module in sap?

1020


What is the table buffer?

972


Table events aNd table maintains generation

1447


What is meant by payscale structure? How did you configure pay scale structure? : sap abap hr

950


What are authorization objects and what statement is used to perform an authorization check in an abap program?

954


What are the different methods of bdc? : abap bdc

996