08-19-2017 5:54 AM
Hi,
I use LSMW to post invoice receipt by using BAPI: BAPI_INCOMINGINVOICE_CREATE1
but there is an error message
Vendor master data already extended and table LFB1 existed.But error cann't be solved.
Please help...
Thanks,
Rtn
08-19-2017 9:35 AM
are you sure you have leading zeros for the vendor number in your IDOC
08-22-2017 11:40 PM
This is my uploading file
Vendor doesn't leading with zero value
08-23-2017 5:31 AM
you could have tested it already by adding leading zeros.
Actually such technical refinements do not really belong into a source file as this is usually prepared by users who don't need to be bothered with such requirements, this is what consultants convert themselves with a little ABAP coding in the field mapping.
08-23-2017 4:50 AM
Can you check in XK03 that vendor actually exists for the company code and is nto blocked / deleted
Also as Jurgen stated try to prefix the vendor with leading Zero use FM CONVERSION_EXIT_ALPHA_INPUT that should work
I found a similar thread https://archive.sap.com/discussions/thread/1380853
where also the issue was same and got resolved when leading Zeros were used
let me know if that helps
08-23-2017 10:24 AM
Method 1:
I add leading zero value in file:
Method 2:
Adding code:
Both of two methods get an error:
08-23-2017 12:03 PM
this screenshot is insufficient to know the reason for the dump.
Actually is a dump supposed to give you all the info that you need to solve the issue, just read the first 50 lines and look at the coding to know at which statement the program was when it dumped.
From the far distance I would just say both options you used for the vendor number just worked well, you got beyond your initial error and you are now in trouble with another field