on 2022 Jan 13 1:50 PM
Hi Experts,
I recently started using AIF and wanted to know more on its capabilities. Is it possible to use value mapping for SNDPRN in idoc control records. Since partner profile is called first and then AIF, I wanted to check the feasibility.
The actual use case I have is that there are different external child companies which works under same parent company in SAP. So, when a Order is sent from any of the child company, it should be posted with parent company name in SAP. We usually have value mapping in PO which converts the child company partner name to parent company partner name and map it in SNDPRN field in Idoc control record. Can this be achieved with AIF value mapping.
Thanks,
Varry
HI varinder7717_22 ,
Yes, it is possible. Value mappings can also be applied to the control set.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sebastian,
Thanks for your response. Let me elaborate it bit more.
My requirement is for a child partner (name ABC) which creates ORDER in SAP with ORDERS05 Idoc. The order needs to be created with parent partner name (123). So, I currently have value mapping in PO which convert ABC to 123 and map in SNDPRN. The partner profile is created with parent partner name 123 and orders get posted using this partner.
If I move this value mapping to AIF, how can I manipulate SNDPRN value so that it picks 123 using AIF. As far as I understand, AIF gets called using process code in partner profile. It means I need the partner profile as the first step before calling AIF. But the partner profile I have is with partner name 123. When the idoc comes in with partner name XYZ, it would firstly search a partner profile with XYZ before it hits AIF.
Am I incorrect here in my understanding? or do I need to create another partner profile with XYZ and then call AIF and then do value mapping and change the partner name to 123 and post order. Please share your thoughts.
Thanks
Hi varinder7717_22 ,
Yes, your assumption is correct so far. If you want to move the mapping to the AIF, you need a corresponding partner profile (XYZ). Here the IDoc must be directed to the AIF runtime. In the AIF the value mapping can then be implemented on SNDPRN. The creation of the order should then be processed with the mapped partner.
User | Count |
---|---|
67 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.