cancel
Showing results for 
Search instead for 
Did you mean: 

invoice based on ship to party

former_member209864
Participant
0 Kudos

Dear

i need to to give invoice print out ship to party along with payer also

but here ship to party and payer and bill to party is different not same

so in this case what we have to do 

Accepted Solutions (1)

Accepted Solutions (1)

former_member220617
Contributor
0 Kudos

Dear Amith,

invoice print as per your scenario payer is coming and now you want to incorporate ship to party and bill to party .

I think logic is not there that's why it is not printing , for this you have to give the logic to your abaper to change in the program level .

pass billing number to VBFA_VBELN and pass VBTYP_V='C'  and fetch VBELV(sales order number) and pass in VBPA and select your partner according to your requirement and print in invoice.

To see the program --go to Tcode- NACE and select your billing and click on rotinue .. there you can find the program name and your smart form.

Regards,

C.B Reddy.

Answers (3)

Answers (3)

Former Member
0 Kudos

I guess your item shipto is different. but invoice payer and bill to is same for all items. You should just design your form to have payer and bill to at header of the form and shipto party at item of the form.

srinu_s1
Active Contributor
0 Kudos

From VBRP-VBELN ( here VBELN=VBRK-VBELN) take ADRNR field where PARVW=SH and pass this to ADRC table from there take required fields and display this into output program..

Example : ADRC-NAME1

                  ADRC-STR_SUPPL1

                  ADRC-STR_SUPPL2

                  ADRC-CITY1

                  ADRC-POST_CODE1  etc.

thanks,

Srinu.

ajith_kumar10
Participant
0 Kudos

hi

on smart form make the changes as per your requirement with the help of Abaper.

regards

Gopi Ponnala