cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple files in zip folder

Former Member
0 Kudos

Hi

I am working on a scenario File-> XI-> BW

<b>Question 1.</b>

I would be getting a zip file which will have 3 files, I know how to unzip the file. Once file is unzipped then I will create three different data types and message types as the layout is different. So now how would file be mapped to each data types correctly?

<b>Question 2.</b>

How can I map three data types to one target message type calling BAPI by using ABAP proxy in target system(BW).

Regards

Rinku

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Rinku,

First of all these are three separate interfaces or one interface only. If they are separate then according to the filename each interface will run. Please shed some more light on this?

---Satish

Former Member
0 Kudos

It's only one interface and these three files have to be mapped to one BAPI....

three files are like header.txt, item.txt and payment.txt

Regards

Rinku

Former Member
0 Kudos

Rinku,

Why dont you do multimapping then. Check this weblog on how to do this:

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

---Satish

justin_santhanam
Active Contributor
0 Kudos

Rinku,

As you said that you will unzip the files, I want to know whether it will be placed in any File System? If yes please follow the below steps.

Since you are receiving 3 files ,I would suggest you to go for BPM. Please follow the below help, to achieve the part 1

http://help.sap.com/saphelp_nw70/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm

You have already created 3 DT& MT right? Create one more DT & MT with the combined structure of those three inputs, so this is part 1, you can see the help and achieve the same.

Now you got all the combined structure inside BPM, the part 2 is map this combined MT to your reqd BAPI structure inside BPM Transformation step.

Hope it helps!!!

Please reply back , if not.

Best regards,

raj.

Former Member
0 Kudos

Hi Satish,

As in FAQ section they have mentioned that this is not applicable for IDOCs as it is not part of AE...it's part of integeration Engin so I am presuming won't be applicable for BAPI too.

Please let me know the alternative solution...

Regards

Rinku

Former Member
0 Kudos

Hi Raj,

This seems to be a helpfull answer, but I hope by using BPM there won't be any performance issue.

Regards

Rinku

Former Member
0 Kudos

Rinku,

I think it is not applicable to adapters which run on Integration Engine i.e, IDoc or HTTP. But it is applicable to all the adapters which run on the Adapter Engine. Since you are using BAPI I though you are going to use RFC Adapter which will run on the Adapter engine. That is the reason why I have given you this.

---Satish

justin_santhanam
Active Contributor
0 Kudos

Rinku,

We can avoid BPM , but in your case since 3 interfaces is reaching same target I doesn't know how to collect all these except BPM.

Best regards,

raj.

Former Member
0 Kudos

Satish,

I would be using ABAP proxy so I guess which is part of IE not AE.

Regards

Rinku

Former Member
0 Kudos

Hi Raj

Can you give me step by step deatials how to do the configuration.

Regards

Rinku

justin_santhanam
Active Contributor
0 Kudos

Rinku,

Have you created all the 4 DT & MT. First do the mapping part for 3 MT to Combined MT. Then Combined MT to BAPI Structure.

Create Abstract interface for all those MT.

Step 1 : Create Fork step with 3 branches. (Place 3 Receive steps Parallel , make each receive step as start process)

Step 2 : Transformation step (Mapping 3 source to one target)

Step 3 : Transformatio step (Mapping the previous step o/p to BAPI structure)

Step 4 : Send

Best regards,

raj.

justin_santhanam
Active Contributor
0 Kudos

Rinku,

Does these three files have any fields in common, then use correlation with that field.

I really doesn't know whether the above steps help you are not, since I came home I don't have access to XI system to tell the exact technical steps to do so. But the above steps are logically correct in order to achieve till the BAPI mapping.

Best regards,

raj.

Former Member
0 Kudos

Hi Raj,

Files has first 5 common fields, can you ammend the steps with correlation. I am writitng tech specs and once get system access will configure the same and let you know if it worked or not.

Regards

Rinku

justin_santhanam
Active Contributor
0 Kudos

Rinku,

Tommorow morning I'll send you the exact flow and the scenario details send test mail to sapient.xi@gmail.com

Best regards,

raj.