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

Function module to create Invoice from the Delivery no ?

Former Member
0 Likes
2,194

Hi All,

Is there any way (function module) to create an Invoice from the Delivery no and the Billing Type ? We do not want to go with BDC for transaction VF01.

Details:

We want to generate a pro-forma invoice while saving the delivery. We will have 'Special Function' (NAST-NACHA = 😎 in the output determination and a routine would be called from there. That routine would contain the code to generate the Invoice. We will have only the 'Delivery no and the Billing Type' in that routine. So trying to find any function module which can create an Invoice from the Delivery no and the Billing Type.

Any suggestion / hint is welcome.

Thanks,

Ashok

Hi All,

Is there any way (function module) to create an Invoice from the Delivery no and the Billing Type ? We do not want to go with BDC for transaction VF01.

Details:

We want to generate a pro-forma invoice while saving the delivery. We will have 'Special Function' (NAST-NACHA = 😎 in the output determination and a routine would be called from there. That routine would contain the code to generate the Invoice. We will have only the 'Delivery no and the Billing Type' in that routine. So trying to find any function module which can create an Invoice from the Delivery no and the Billing Type.

Any suggestion / hint is welcome.

Thanks,

Ashok

3 REPLIES 3
Read only

Former Member
0 Likes
900

Hello Ashok Satapathy ,

The only option for you is to call the FM "GN_INVOICE_CREATE" .

There is no special FM availaible to pass only the delivery number at this point.

You need to retrieve all the delivery information details and need to pass it to the FM "GN_INVOICE_CREATE".

Thanks,

Greetson

Read only

0 Likes
900

RV_Invoice_create & RV_INVOICE_DOCUMENT_ADD did the trick.

Thanks

Read only

0 Likes
900

can u give example