05-16-2007 2:45 PM
Hi,
In my LSMW program i use FB01 tcode.
No my program creates a separate document for each and every record(from the source file).
I wanted only one document to be created for all the records?
Say for example if there are 5 records, using FB01, a single document has to be posted with all the 5 records or line items.
Pls help
Thanks
05-16-2007 3:06 PM
hi,
For this case u need to go for direct input method.bcoz while using direct inout method in LSMW u can pass header level file and item level file at once.
madhukar
05-16-2007 2:48 PM
HI,
Use the Direct input method, There will be a field which will link the Header and the Line items fields. so here you need to create the file according to the Direct input method
Regards
Sudheer
05-16-2007 2:49 PM
Hi,
I'm using BDC recording , can you help me out how to achieve this in BDC.
I'm suppose to use only BDC.
I'm strugling pls help
Thanks
05-16-2007 2:53 PM
normally LSMW is sued to upload Master data transactions.
in ur case it is transactional data, so the best method is to write a BDC program and upload the data so that it will create only 1 document.
05-16-2007 2:56 PM
Hey Ramesh,
Thanks for reply. I'm using BDC and recordrd the trasaction Fb01.
But still it creates seaparte documents.
Can you pls help me out on this ?
Thanks
05-16-2007 2:54 PM
Hi,
Use the session method(i.e recording method). For more information check the follwoing link:
[Removed by the moderator.]
Regards,
Bhaskar
05-16-2007 2:58 PM
Hey bhaskar,
Thanks for reply,
Can you pls help me out with an example.
What needs to be done for creating as one document.
I'm using BDC recording
Pls help
05-16-2007 3:04 PM
you must be doing
loop at itab...
and calling ur full code + call transaction here...
endloop...
try to put the header details like.. dicument date.. posting date..reference, company code.. etc outsid ethe loop...,
then start the loop... and populate fields for posting key, account ... etc insid ethe loop.,...
look thru the code, which was generated by bdc,.. and find out where exactly to start the loop..
05-17-2007 6:53 AM
Hi Sujamol,
Thanks fo rreply,
Can you pls explain more on this?
Where can i use the LOOP. U mean in Field mapping.
I'm using LSMW and BDC recording of FB01.
Thanks
05-16-2007 3:03 PM
after recording one line item use pageup option in menu and also use seperator for Header ANd item data
05-16-2007 3:06 PM
hi,
For this case u need to go for direct input method.bcoz while using direct inout method in LSMW u can pass header level file and item level file at once.
madhukar
05-16-2007 3:13 PM
Hi Madhu,
Can you pls help me out with an example.
I'm new to direct input method.
Pls help
Thanks
05-17-2007 7:13 AM
Prabha,
Handling table control in LSMW-BDC Recording method is Difficult. So instead of that use the Object 0100 Financial documents, fot this object it uses Direct input method and program is RFBIBL00. It works in your case.
Regards
Vijay
05-17-2007 7:18 AM
Can you pls help me with an example. I'm very new to Direct Input method.
Just need one clarification.
I need to post for both Credits & Debits. So for each record from Source file, i need to post 2 line item(credit & debit).
Is this possible? .Pls help with an example for "Field Mapping" alone.
Thanks