cancel
Showing results for 
Search instead for 
Did you mean: 

different files using variable substitution

former_member196023
Active Participant
0 Kudos

Hi,

I've one scenario in which I'll be getting information like below

Cust_Data 1..1

VKORG 0..unbounded

KUNNR 1..1

NAME1 0..1

LAND1 0..1

now I am supposed to create various files containing customer data containing kunnr, name1, land1 only for each of VKORG

I've tried using variable substittuion, in which i've given follwing information

File Name Scheme : Customer_for_%vkorg%.txt

Variable name Reference

vkorg payload:Cust_Data,1,VKORG,1

but by providing this information, I am getting only one file having all the customer records.

So My question is:

1. How do I create different files for each of different VKORG

2. How do I place customer data only pertaining to that VKORG only.

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

sunilchandra007
Active Contributor
0 Kudos

Go for 1:n multi-mapping. For details, you can refer to /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible and /people/ranga.rajan2/blog/2010/03/17/multi-mapping-with-a-simple-scenario--fledgling-kit .

Regards,

Sunil Chandra

Answers (0)