2008 Jan 15 4:57 PM
I am using LSMW for a conversion. I am going to transaction FB01 wtihin it. Currently I have a text file and everything is going through fine, but the issue is the posting keys and account numbers.
I have them set as constants on step 5 under field mapping; however, the keys are different for the next line item...so they really aren't constant all the way through. I only see one field NEWBS and NEWKO in step 5, so am assuming I need to do something to those fields. Currently when running through both line items show up PK 40 and Account 900020. But the next line item should be PK 50 and Account 900030.
I am using LSMW for a conversion. I am going to transaction FB01 wtihin it. Currently I have a text file and everything is going through fine, but the issue is the posting keys and account numbers.
I have them set as constants on step 5 under field mapping; however, the keys are different for the next line item...so they really aren't constant all the way through. I only see one field NEWBS and NEWKO in step 5, so am assuming I need to do something to those fields. Currently when running through both line items show up PK 40 and Account 900020. But the next line item should be PK 50 and Account 900030.
2008 Jan 15 5:01 PM
are you using your own recording of FB01 (not recommended) or an SAP program/BAPI/IDoc?
usually I would expect posting keys and especially the account numbers to arrive in the text file, so you would just map them and not define constants. Why are those not contained in the file?
Greetings
Thomas
2008 Jan 15 9:01 PM
Thomas...talked to my superior we are going to go the route of using RFBILB00 to solve this issue rather than using the LSMW. Do you have any experience in this route?
2008 Jan 16 9:45 AM
Lindsey,
using RFBIBL00 is a good idea. Actually I would still recommend using LSMW with batch input object 0100 and method 0000. This will trigger that very RFBIBL00 program for the actual postings. LSMW is just a wrapper to help you map the source data to the target structures as expected by RFBIBL00 in this case.
Still I find it very unusual to not have the account numbers in the input file. Are you really posting to the same two accounts in each document?
Greetings
Thomas