Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC Session Error Handling and flat fie

Former Member
0 Kudos

Hi ,

I need two clarifications in BDC .......

1)I have to upload some data using BDC thru some tcode which contains header and line items...How can i build a flat file which contains both header and line item data for uploading.. pls explain how to differntiate header and line item in flat file

2) In Session method..while uploading some error has occured..How can i reprocess the error data, whether I need to upload it again or can I process the error data in SM35 itself.

Thanks in advance

Regards

Saravan

1 REPLY 1

Former Member
0 Kudos

1) When uploading data is better to ask the flat file with out headers, in case it is impossible, just read the internal table with the data from INDEX 2.

Something like,

LOOP AT IT_DATA FROM INDEX 2.

ENDOOP.

2) It is better to start the process again after checking what happened during last upload.

Bye

Gabriel p.-