on 12-21-2006 8:18 AM
Hi All
I had a scenario of IDoc to file. A batch from SAP R/3 system is scheduled to run daily once, which in turn forwards bunch of IDocs which holds invoices, are forwarded as input to XI. After processing the IDocs only one Flat file need to be generated for all the IDoc's that as come as input to XI.
i.e if 100 IDocs come as input to XI(each IDoc holds 1 Invoice details, so 100 invoices come as input to XI in Idoc's format) so, output of XI should be 1 flat file for all the 100 IDocs.
Is these scenario possible to generate one flat file for all the IDocs. The IDoc i am using is INVOIC02. In what way i can make change the values for min and max occurance of the segments through external defination.
like INVOIC02 0 -unbounded
IDoc 1-1
or
INVOIC02 1-1
IDoc 0-unbounded
If so please let me know the approach i need to follow. Please mail to tshailu81@yahoo.co.in
Thanks
Shailaja
Thanks one and all for you suggessions.
Thanks priya for your suggession , you mean to have the IDoc structure to be,
INVOIC02 0 -unbounded
IDoc 1-1
Subsegments.
or
INVOIC02 1-1
IDoc 0-unbounded
subsegments.
Since I am using standard IDoc, I had its structure as
INVOIC02 1-1
IDoc 1-1
subsegments.
but we can edit it, change its occurances and import as external message
Please let me know.mail me to tshailu81@yahoo.co.in, i need your emailid
Regards
Shailaja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is so easy:
Set the file adapter to append mode. Then you receive one huge file.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shailaja,
Use 0..Unbounded and map accordingly to target structure with 0...unbounded..
and test with sample xml in message mapping with multiple idocs data and see whther u get multiple records in target ...
I assume there is no need to go with BPM...
And one thing map the source segment with 1: unbounded to target segment try in the mapping either way and check the result it will work
Thanks and Regards,
sridhar
Message was edited by:
sridhar reddy kondam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this blog by Stefan
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
cheers
Sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please let me know whether these scenario is possible without BPM.
Thanks
Shailaja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shailaja,
Yes it is possible .. you have to bundle the idocs in a BPM..
Check the URL -- you will get evertything u need...
http://help.sap.com/saphelp_nw04s/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.