cancel
Showing results for 
Search instead for 
Did you mean: 

credit memo print out form

Former Member
0 Kudos


Hi Everyone,

Have requirement  customer wanted original invoice number into credit and debit memo memo (invoice) printout .

I have tried to pull the logic through document flow but it wasn't worked.Can anyone please provide logic to overcome this.

Any  help will be appreciated.

Best Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please pass the Credit memo as a follow on document to the table VBFA and get the preceeding document which is credit memo request.

Pass this Credit memo request into VBFA as a follow on document and get the preceeding document.

There are two cases here.

Case 1: Credit memo request is created w.r.t. Invoice:

In this case,pass the Credit memo request as follow on document and get the preceeding document with category "M" which is Invoice.It is the original Invoice number.

Case 2: Credit memo request is created w.r.t. Order.

In this case,pass the credit memo request as follow on document and get the preceeding document and pass this value to VBFA as preceeding document and get the invoice with category as M.

Regards,

Krishna.

Former Member
0 Kudos

Hi Mohan,

Thanks for your detailed information.

Logic has been developed ..It may work.

Regards


Answers (2)

Answers (2)

former_member186385
Active Contributor
0 Kudos

Hi,

From VBFA you can get

in field VBFA-VBELN  input Credit memo request number

and VBTYP_N enter value M which will filter your Billing document

regards,

santosh

srinu_s1
Active Contributor
0 Kudos

Check in VBFA table, enter the credit memo number in "Follow-on doc" field and take the "Preceding Doc." field.

thanks,

Srinu.