cancel
Showing results for 
Search instead for 
Did you mean: 

MapwithDefault function in SAP PO NWDS

former_member187447
Participant
0 Kudos
100

Hi Folks,

Do we have any standard function available in NWDS for achieving the MapwithDefault mapping. FYI, I am trying to propagate the tag of the field for no input value in the source.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member191643
Active Contributor
0 Kudos

Did not understand. What is your requirement buddy?

former_member187447
Participant
0 Kudos

Actually I was looking for a mapwithDefault standard UDF supplied by SAP which we can normally access in SAP PO ESR, was wondering if we have the same available. Looks like we don't in BPM.

former_member191643
Active Contributor
0 Kudos

BPM does not provide this. At least not for the moment.

pardhreddyc
Active Contributor
0 Kudos

Dear,

Could you kindly elaborate pls?

Regards,

pardhu

former_member187447
Participant
0 Kudos

Hi PardhaSaradhi,

for example if we have a tag, <ABC></ABC>, which has no value, then the target xml needs to have the xml tag propagated like <ABC/> instead of missing it altogether. So in graphical mapping we use MapwithDefault standard function to achieve this. So would be interested in knowing any standard function inn NWDS of BPM(NW) which achieves the same.

Regards

Kalyan.

0 Kudos

hi kalyan golla.

use follow statement

IF(boolean-equal(isSet(ABC),false),"default values", ABC)

Best Regards.