2007 Dec 05 4:02 PM
Hi,
I am using BAPI_ACC_DOCUMENT_POST to handle assets postings in SAP.Here whenever i am running BAPI from SE37 using asset_no with regular length which is 6digits[730011] bapi is giving me correct results and documents gets posted successfully with assets.
The same thing when I do it from my program by populating values and filling the asset_no correctly in BAPI Structure I am getting error as below
"Asset 730011 not found in Company 1001".
but the same assets works fine through SE37.
Could anyone let me know why is this happening?
Thanks
Hi,
I am using BAPI_ACC_DOCUMENT_POST to handle assets postings in SAP.Here whenever i am running BAPI from SE37 using asset_no with regular length which is 6digits[730011] bapi is giving me correct results and documents gets posted successfully with assets.
The same thing when I do it from my program by populating values and filling the asset_no correctly in BAPI Structure I am getting error as below
"Asset 730011 not found in Company 1001".
but the same assets works fine through SE37.
Could anyone let me know why is this happening?
Thanks
2007 Dec 05 4:04 PM
Try adding leading zeros.
( When you test via SE37 you come across conv_exit_module / kind of screen exit )
Hope this helps,
Erwan
2007 Dec 05 4:51 PM
yup, done using same conversion routine but still no solution.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |