cancel
Showing results for 
Search instead for 
Did you mean: 

cardinality issue ?

Former Member
0 Kudos

Hi Guys,

I have a field in the request xml with occurance 0-unbounded and i mapped it with other field in the receiver side with occurance 0-1. when i send the request, i am able to see the field on the receiver side only once.

Do i need to change the cardinality on the receiver side ? The filed on the receiver side is from the standard function module from sap.

any help would be appreciated

Thanks,

srini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

yeah,as the occurence is 0-1,it will show only once,you can change the cardinality to 0-unbounded

thanx

Ahmad

Former Member
0 Kudos

Hi Ahmad,

can we change that in the standard sap function module ?

Thanks,

srini

Former Member
0 Kudos

get in touch with your ABAP guys,coz it has to be done on R/3 side and the re-imported in IR,else you will get error when u try to send multiple values.

thanx

Ahmad

Former Member
0 Kudos

Hi Ahmad,

Thanks

Srini

justin_santhanam
Active Contributor
0 Kudos

Srini,

Since its SAP standard FM I won't think so its possible to change. Can u tell us the exact reqmt.

Best regards,

raj.

Former Member
0 Kudos

Hi raj,

yes u right, we cannot change as it is standard sap function module.

source structure

<UnitVentureInfo>0-1

<Combprdcd> 0-unbounded

</UnitventureInfo>

Target structure

<I_Load> 0-1

<Item> 0-unbounded

<Combprdcd> 0-1

</Item>

<I_Load>

when the request comes with multiple Combprdcd the result is only one as it is defined as 0-1 in the standard function module.

how we can acheive the multipleprdcd also on the target side ?

any help would be really appreciated

Thanks,

srini

Message was edited by:

srinivas kapu

sridharreddy_kondam
Active Contributor
0 Kudos

Hi Srinivas,

Map the target node <Item> with source field <Combprdcd> amd remaining same field mapping and try once..

and use <b>remove context</b> for the node Item and try

Regards,

sridhar reddy

sridharreddy_kondam
Active Contributor
0 Kudos

Hi Srinivas,

There is no need to change the Function Module...

Just do this

Map Like this

1) Target node <Item> with source field <Combprdcd>

2) Target field <Combprdcd> with source <Combprdcd>

Also use <b>RemoveCOntext</b> for 1) in between

and <b>SplitByValue</b> (EachValue) for 2)

<b>This will work ...</b>

Regards,

sridhar

Former Member
0 Kudos

Use SplitByValue when mapping source Combprdcd to target Combprdcd and also map source Combprdcd to target item

Former Member
0 Kudos

Hey

>>yes u right, we cannot change as it is standard sap function module

look for any user exits of BADI's for this,if you can't find ,then you can always copy this function module to a Zfunction module and make changes there and use this Zfunction module intead of standard SAP module

thanx

Ahmad

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Srinivas,

Yes u have to change the occurrence. But if you give us the structure, it could be easy for us to suggest.

Best regards,

raj.