cancel
Showing results for 
Search instead for 
Did you mean: 

File for each store

Former Member
0 Kudos

Hi all,

We have a scenario which is idoc-xi-file.

we are using the idoc WPDBBY01.this idoc generates bonus buys for number of stores.

the file which has to be generated at the target is of the structure(CSV file)

[Data.1]

Promo,1000,,,,,,,

Promo,2000,,SIPK

Item,1,ITEM,12345,,,,,,3

TerDef,1,,,,PRCH,,1.99,ALL_,,

for each store a separate file should be generated.

this is the issue we are facing now.

any help on this issue would be appreciated.

thanks in advance

cheers

ahmed

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can make a split on adapter engine and than in the next step route to correct station. Please check multimapping without BPM.

regards,

wojtek

Answers (4)

Answers (4)

Former Member
0 Kudos

hi guys,

thanks a lot for your info.

the idoc which is already generated would contain separate segements for each store.

so is there any solution where we can handle this in XI only witout using proxy.

and also thanks to praveen as well,

we have not used proxies so i would appreciate if you could provide sample code on this issue.

we will decide to go for best as per performance wise.

thanks wojtek as well,

could u throw more light on how to achive the solution without using BPM

thanks

ahmed

former_member192798
Active Contributor
0 Kudos

Hi Parvez,

Let me explain what is a Proxy:-

Applications based on SAP WEB AS version 6.20 or higher can communiate with the XI in the native XI-SOAP format via proxies. All other applications, including "legacy" SAP systems (those on the Basis releases lower than version 6.20), communicate with the XI via Adapters.

Go thro' this link for ABAP Proxy Scenarios:

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

I hope this helps.

Regards.

Praveen

Former Member
0 Kudos

Hi Praveen,

I agree that there can be no performance problems but don't you think that additional communication is another place to check?

Hi Parvez,

Below is weblog how to do it (you need SP14 or above):

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

Regards,

wojtek

former_member192798
Active Contributor
0 Kudos

Hi,

I have done such a scenario using Proxy and I haven't faced any performance issues.

Regards.

Praveen

Former Member
0 Kudos

Hi,

In my opinion it's better to enhance IDOC with store id than to ask R/3 system thanks that you can avoid performance, communication and monitoring problems.

regards,

wojtek

former_member192798
Active Contributor
0 Kudos

Hi Parvez,

You can do this using an ABAP proxy.

1. From SAP R/3 an IDoc gets fired and the data is passed into XI.

2. From XI the data is sent back to R/3 to get the corresponding Store number for the Reference number that is present in the IDOC. (Using Proxy get the Store No using the Reference No)

3. Then from R/3 the data with the store number is sent to XI.

4. XI processes the data and generates a csv file in the target system.

I hope this provides you a solution.

Regards.

Praveen