cancel
Showing results for 
Search instead for 
Did you mean: 

How can i add a constant value at source field in CIG mapping?

velayudham
Explorer
0 Kudos
878

Hello Experts,

I have a query on the CIG Custom Mapping. Can someone please answer the below if you are aware?

We are testing the CIG Custom Routing option to connect one Ariba Child realm to multiple ERP systems(QA and DEV ECCs). We have the same master data available in both QA and DEV ECC systems. We were able to send and receive the PO number and the Invoice number from One child realm to our DEV and QA ECC systems(We have the integration projects created and accordingly mapped the Xpaths in CIG Custom Routing, For PO we used the PR Title begins with Logic to replace the system ID and for Invoice we used the Unique name logic to replace the system ID). However we are not able to find any place holder/Logic in ReceiptExportRequest XML to route the XML to a different ERP system.

Can someone please tell if there is an option in CIG Mapping to add a source constant in the Source XML of ReceiptExportRequest XML Structure? Looks like we only have option to add a constant value in the Target side but not on the source side. Also, i couldnt find Extrinsic structure available in ReceiptExportRequest XML Structure, should we request Ariba to create an Extrinsic Structure in Source XML?

NOTE: We have the same master data available in DEV and QA and thats where we couldnt place any logic on ERP PO number or company code etc,.

Thanks,
Velu

Accepted Solutions (1)

Accepted Solutions (1)

rdemchuk
Active Participant

Indeed an issue.. You can ask Ariba to add this for your test. Also, look at possibly using Shipto.. Maybe you can change Plants for your test...

rdemchuk
Active Participant
0 Kudos

So in one of my clients we have it set up to go to different SystemIds based on shipto or Partition.. (prealm/vrealm) (if not the same). Easiest way is to ask Ariba for an added field attribute that you can use to maintain this, or just manually change the pointer in every test, which is a pain, but its your companies business decision to try it this way.. You will see this same issue for other transactions as well. You can become crafty.. good luck.

If you have the Recipt go to all clients it will fail one but should process another, but this can be a pain as well..

Best answer is ask SAP Ariba to add a field in Receipt processing that can be used for your test.

Answers (1)

Answers (1)

rdemchuk
Active Participant
0 Kudos

I will help you here, but I need more input..

1. Why not use the Custom Routing solution for Inbound ReceiptExportRequest?

2. Why add a source constant? If there is an Ariba (source) field for your solution the field will be available to add a condition.. is this a new CustomString?.. In any case you can add a Set Condition to a mapped xpath and add equals or contains. ... unlike add constant to the target field..

velayudham
Explorer
0 Kudos

Hi Rob,

Thanks for your response! I am doing the same thing, Custom routing Inbound for ReceiptExportRequest. I couldn't find any attribute or Field that is currently passed by standard to distinguish between our ERP Dev and QA System. The reason why i asked for Source constant is to see if i can map a source value to any of the custom String/name and use that in the ReceiptExportRequest XML Structure to map that.

If I couldn't find an attribute that can distinguish between the different ERPs, how to leverage this Custom Routing for Goods Receipt? Do you have any suggestion on what field/attribute you have mapped in your scenario to route Receipts to different ERP systems?

NOTE: Just for information, we have same master data including document number range, so i cant put filter on PO Number also.

Attached Preprocessing XML Structure from CIG just in case for reference. There isn't any unique attribute to set a condition to map to change the system ID to a different ERP System. Please let me know if you need more details on this.

Thanks,
Velu