Skip to Content

Remap business partners in the case of intersection of debtors and creditors in SAP EWM

Hi All.

In the ERP system, there is an intersection by numbers of debtors and creditors belonging to different legal entities. It is necessary to Refine CIF for recoding business partners in the event of intersection of debtors and creditors for the EWM system.

Is it possible to implement this based on Map Differentiator in SPRO. Can you tell me exactly how to implement this.

And if this is not possible, how do you evaluate this implementation :

1.Create a BAdI smod_apocf038 implementation.
2. Copy the code from the if_ex_smod_apocf038~EXIT_/SAPAPO/SAPLCIF_BP_001 implementation example of the CL_EXM_IM_SMOD_APOCF038 class.
3. Instead of getting a new number in FM NUMBER_GET_NEXT (call to comment, page 127), use the following logic:
3.1. If the length of the ls_bpmap-partner_id field without leading zeros is less than 10 characters, then go to clause 3.2.
If 10 characters, the new partner code must be equal to the original one.
3.2. Making a selection of DIFFERENTIATOR from /SCMB/BPMAPDIFF, where ID_TYPE = ls_bpmap-type and LOGSYS = ls_bpmap-logsys. If the selection is successful, then:
lv_number = /SCMB/BPMAPDIFF-DIFFERENTIATOR+ [ls_bpmap-partner_id without leading zeros]

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.