06-03-2011 4:04 PM
Hello Guys,
I'm having a problem with the bapi BAPI_PO_CREATE1. I'm filling all the structures correctly but when I enter a line in the table BAPIMEPOACCOUNT with an asset and run it, i get the message that the asset i'm using does not exist, and the asset does exist since i can visualize it in the transaction AS03.
Any helpful answers will be highly appreciated.
Regards,
Roberto
06-03-2011 4:11 PM
Run the asset through FM CONVERSION_EXIT_ALPHA_INPUT before passing it to the BAPI.
Rob
06-06-2011 11:22 AM
Hi,
Before you run the FM, put a break point in BAPI_PO_CREATE1 and test. You should be seeing data being formatted accordingly.
In your report, pass your data through CONVERSION_EXIT_ALPHA_INPUT to convert data from external to internal format-
Example:
(Input field and output field are both eight characters in length)
1. '1234 ' --> '00001234'
2. 'ABCD ' --> 'ABCD '
3. ' 1234 ' --> '00001234'
Regards,
Ajay