2010 Aug 09 8:36 AM
Hi All,
I have created an enhancement in VL01N while creating Delivery.
Now when I do manual Delivery the code is working fine . Enhancement gets triggred and the desired output is achived.
But the problem comes when the I uase BAPI to create the Delivery, whenevr I use BAPI 'BAPI_OUTB_DELIVERY_CREATE_SLS' to create the delivery the enhancement does not get triggered & that logic is not performed so the final result is wrong .
This is not olny in case of delivery, this is in all cases like Creating Invoice, Sales Order etc. We have written some checks in these creation after which these documents should be created. But now when I use BAPI's instead of manual creation these checks dont work and the document get created even when they had not to be created.
Can you please help me in this ASAP.
Thanks,
Sameer
Hi All,
I have created an enhancement in VL01N while creating Delivery.
Now when I do manual Delivery the code is working fine . Enhancement gets triggred and the desired output is achived.
But the problem comes when the I uase BAPI to create the Delivery, whenevr I use BAPI 'BAPI_OUTB_DELIVERY_CREATE_SLS' to create the delivery the enhancement does not get triggered & that logic is not performed so the final result is wrong .
This is not olny in case of delivery, this is in all cases like Creating Invoice, Sales Order etc. We have written some checks in these creation after which these documents should be created. But now when I use BAPI's instead of manual creation these checks dont work and the document get created even when they had not to be created.
Can you please help me in this ASAP.
Thanks,
Sameer
2010 Aug 09 8:41 AM
Hi,
Are you using SAP standard enhancement / BADI?
Regards
Vinod
2010 Aug 09 9:07 AM
Hi,
I am using Implicit Enhancement Implementation which normally appears at the begin ang End of Form routines.
Do you have any idea about this.
Thanks,
Sameer
2010 Aug 09 11:04 AM
Hi Sameer,
I assume that that current bapi is not hitting(Calling ) the piece of code written by you. So you need to put the same piece of code in the corresponding bapi also.
Thanks
Kamath
2010 Aug 09 10:36 AM
Hi Sameer,
Most of the BAPI's internally use CALL TRANSACTION for posting the documents.
So let us know what kind of checks you providing for your code while implementing implicit enhancement option in VL01N.
May be importing parameters are not filled while calling the BAPI for which your code triggers
OR if u have used any tcode checks for your code.
Regards,
Dwarakanath.S
2010 Aug 09 2:29 PM
Hi Sameer,
You have to implement the same piece of code in BAPIs also, even BAPI : BAPI_OUTB_DELIVERY_CREATE_SLS enahncement points.
Please check the feasibility of the same. This BAPi is also calling two BADis badi_dlv_create_sls_extin and badi_dlv_create_extout, probably the implementation of the same will help you to solve your problem.
Please check feasiblity, best wishes,
regards,
Antony Thomas
2010 Aug 10 6:43 AM
You should use the BAPI_TRANSACTION_COMMIT to do the commit work. I think there is no commit work exist in standard bapi.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |