cancel
Showing results for 
Search instead for 
Did you mean: 

How does one fill BSEG-KUNNR from a billing document

Former Member
0 Kudos

Hello Experts

When a billing document is released to accounting, I need BSEG-KUNNR to be filled with either the sold-to or ship-to customer. I have noticed that http://scn.sap.com/thread/435697 provides a solution to this via user exit RV60AFZZ (form USEREXIT_ACCOUNT_PREP_KOMKCV). Is anyone aware of an easier method of achieving this ?

regards

Dylan

Accepted Solutions (1)

Accepted Solutions (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

See Note 301077 - User exits for the interface to accounting. I think the most suitable for your requirements is EXIT_SAPLV60B_002. Of course, be careful and finish all flows (until payment). The exit in RV60AFZZ is for add fields for the determination of accounts (tcode VKOA, see SAP Note 314995 - Field LLAND not possible for account determination table). But I suggest to speak with your SD consultant to achieve the proper assignment of partners in SD.

I hope this helps you

Regards

Eduardo

Answers (4)

Answers (4)

Former Member
0 Kudos

The customer number on BSEG can be populated by user exit EXIT_SAPLV60B_008. Thanks everyone for your contributions.

regards

Dylan

Former Member
0 Kudos

Thanks for sharing.

Elias

Former Member
0 Kudos

Hello,

Please check how your G/L account (Trade Receivable) has been defined under the Control Data tab in FS00.  I may be wrong but I do not think you need user-exits, substitutions or validations for your requirement.  If the Trade Receivable and Trade Payable have been maintained as reconciliation account for account types, customers and vendors respectively, automatically, BSEG-KUNNR and BSEG-LIFNR should be populated anytime a billing document is released to accounting or an invoice receipt is made.

Regards,

Elias

Former Member
0 Kudos

Hello Elias

Thanks for your time on this. In fact I am already getting the customer populated on the BSEG record for the debtor line, but I need it also populated on the offsetting lines (revenue, sales deductions etc.).

regards

Dylan

Former Member
0 Kudos

Hi,

you can try substitution to populate that data

Former Member
0 Kudos

Thanks. Unfortunately SAP is telling me that BSEG-KUNNR is not 'substitutable'. Can this setting be changed somehow ?

regards

Dylan

Former Member
0 Kudos

Hi Dylan,

Give this a shot.  In SE16, enter BSEG and make sure the selection account type is available.  Enter 'D' for account type with other required entries and execute.  The customer number field should be filled with a customer number...................unless that's not what you looking for.

Regards,

Elias