2007 Nov 05 9:40 AM
Im using Call transaction FBB1. I have a output table, by looping it i'm updating that FBB1 so for each record its creating single document. But I need that all the record will be in 1 doc not individual one...SO FOR MULTIPLE entry i have to give entry in SAPMF05A 0330 field which will continue for that next record....how to do it??
Regards
Im using Call transaction FBB1. I have a output table, by looping it i'm updating that FBB1 so for each record its creating single document. But I need that all the record will be in 1 doc not individual one...SO FOR MULTIPLE entry i have to give entry in SAPMF05A 0330 field which will continue for that next record....how to do it??
Regards
2007 Nov 05 9:51 AM
Hi,
For that you have populate 2 internal table one with header record other with item record and then you should use nested loop on which outer loop for header record and inner loop on item records but restriction of innerloop should be powered by header table. for example.
loop at ekko.
ebeln
aedat
loop at ekpo where ebeln = ekko-ebeln.
ebeln
ebelp..(will take all item for that po number).
matne
endloop.
-
-
-
endloop.
rewards if helpful.
Regards
Gagan
2007 Nov 05 10:01 AM
DO ANYONE HAVE EXAMPLES ON MULTIPLE BDC ENTRY IN FBB1 OR ANU OTHER TRANSACTION?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |