Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create Delivery Note with STO

Former Member
0 Likes
887

Hi,

I am trying create the Delivery note by using following two BAPI, it is showing success message & delivery note is getting created

but when I am going & checking in VL03N , it shows Delivery note does not exist or archied.

   BAPI_OUTB_DELIVERY_CREATE_STO  

for above Bapi input is STO(PO number)

   W_FRM_DELIVERY_CREATE_GENERAL

for this BAPI input is PO number, line item number, PO qty & Unit

For both the BAPI return message is success & it is generating the Delivery number, but in VL03N showing does not exist.


Please help or provide me with some other BAPI with reference code.

I had tried with BDC recording but it fails.

My requirement is to create the delivery note & Post Goods Issue after creating the PO (STO).

1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
644

Please attach the sample code.. Did you use BAPI_TRANSACTION_COMMIT after successful call?

Hi,

I am trying create the Delivery note by using following two BAPI, it is showing success message & delivery note is getting created

but when I am going & checking in VL03N , it shows Delivery note does not exist or archied.

   BAPI_OUTB_DELIVERY_CREATE_STO  

for above Bapi input is STO(PO number)

   W_FRM_DELIVERY_CREATE_GENERAL

for this BAPI input is PO number, line item number, PO qty & Unit

For both the BAPI return message is success & it is generating the Delivery number, but in VL03N showing does not exist.


Please help or provide me with some other BAPI with reference code.

I had tried with BDC recording but it fails.

My requirement is to create the delivery note & Post Goods Issue after creating the PO (STO).

1 REPLY 1
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
645

Please attach the sample code.. Did you use BAPI_TRANSACTION_COMMIT after successful call?