Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

generate sequence no.

Hi Experts ,

I have an multiple idocs to file scenario.( file has header ,detail(s) and trailer )

Suppose 100 idocs of same type but different countries( say 2 ) are sent from r/3 then two file should be created .I am able to create 2 files but I have requirement that each file should have a sequence no. in the header starting from 1 and gets incremented when next file is craeted.

can someone tell me how to capture old file no. which has been generated to generate the new sequence no ( old no + 1 ).

regards,

akhil.

Former Member
Not what you were looking for? View more on this topic or Ask a question