cancel
Showing results for 
Search instead for 
Did you mean: 

Assignmnt num population(BSEG-ZUONR) in all line of Acc doc for Cr Memo(G2)

Former Member
0 Kudos

Hi,

Our business process is we create Credit memo request with reference to Returns Sales order and create Credit memo with reference to Credit memo request.

When creating Accounting document from Invoice Assignment number(VBRK-ZUONR) is copied to BSEG-ZUONR of customer line item as well as GL Account line items in the Accounting document.

When creating Acc Doc from Credit memo Assignment number(VBRK-ZUONR) is copied to BSEG-ZUONR of Customer line item only but not GL Account line items in the Accounting document.

The same Customer & GL Account is used in both cases.

Please hlep us to resolve the issue.

Thanks in advance.

Regards,

Rahul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Rahul,

I think It's SAP standard behaviour that field BSEG-ZUONR is not filled in

accounting item lines when you transfer a billing document to

accounting. Please have a look at program LV60BF00,

form accounting_item:

...

  • Felder, die nur in den Steuerzeilen vorkommen

clear xaccit-kbetr.

if vbrk-vbtyp ca vbtyp_reli. "WIA

clear xaccit-stceg.

endif. "WIA

clear xaccit-vbeln.

clear xaccit-xblnr.

clear xaccit-zuonr. ' < here !!!

clear xaccit-gjahr.

...

If you want to have this field filled for all item lines in accounting,

then you have to use userexits to fill XACCIT-ZUONR. E.g. you can use

FUNCTION EXIT_SAPLV60B_004 to set XACCIT-ZUONR = VBRK-ZUONR in the

line items.

I hope this helps.

Balazs