on 07-22-2009 11:08 AM
Hi All,
I am in the process of preparing Functional Specs. Excise Invoice number should print in Invoice output. Kindly help me writing a logic.
Regards,
Raju
Hi
The Excise Invoice is in J_1IEXCHDR-EXNUM
Need the value in Invoice Output , So VBELN - Billing Document
Logic
Select VBRP-VGBEL where VBRP-VBELN EQ Billing document number......( select delivery number)*
Then
Select VBFA-VBELN where VBFA-VBELV EQ VBRP-VGBEL (from above step)
And VBFA-VBTYP_N EQ U....................( Select Proforma Invoice F8 wrt delivery no)
Then
Select J_1IEXCHDR u2013EXNUM where J_1IEXCHDR-RDOC EQ VBFA-VBELN (From above step)
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nuama
This is a generalized approach to get table name and field name while preparing FS. if you want excercise invoice number to be printed --goto excercise invoice, press F1 for invoice number field then click on technical help in F1 pop up. There you could find all technical details.
For any field anywhere please use this approach.
try and revert
Hi Yadav,
Thanks for your reply. Please modify the below logic and send it to me. We are having Depot sales and Shipment also.We don't have proforma invoice process.Kindly find the details below and help me writing the logic.
The Excise Invoice is in J_1IEXCHDR-EXNUM
Need the value in Invoice Output , So VBELN - Billing Document
Logic
Select VBRP-VGBEL where VBRP-VBELN EQ Billing document number*......( select delivery number)
Then
Select VBFA-VBELN where VBFA-VBELV EQ VBRP-VGBEL (from above step)
And VBFA-VBTYP_N EQ U....................( Select Proforma Invoice F8 wrt delivery no)
Then
Select J_1IEXCHDR u2013EXNUM where J_1IEXCHDR-RDOC EQ VBFA-VBELN (From above step)
Regards,
Raju
Hi
The Excise Invoice is in J_1IEXCHDR-EXNUM
Need the value in Invoice Output , So VBELN - Billing Document
Logic
Billing Doc wrt Delivery No
Excise Invoice wrt Delivery.
So First step
Select VBRP-VGBEL where VBRP-VBELN EQ Billing document number*......( select delivery number from Billing Commercial Invoice)
Then Select Excise Invoice
Select J_1IEXCHDR u2013EXNUM where J_1IEXCHDR-RDOC EQ VBRP-VGBEL.
Check if this works
Rohiit
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.