cancel
Showing results for 
Search instead for 
Did you mean: 

How to gets all Fields of XML

Former Member
0 Kudos

Hi,

When data coming from R/3 to XML File. When data not

there in the field then that field is not coming in xml

file.

For example CHARG (Field is sap) if it doesn't have

value then this field is not in XML file...

How to get the field name (Tag in XML) even it doesn't

contain any data...?

Thx,

Anasr.

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Ansar,

Use node function --> MAPWITHDEFAULT.

This will check if the field is available in the source and if it is available then map the source value to the target. if the field is not in the source, it will map the target feild with some default value.

Regards,

Bhavesh

former_member206604
Active Contributor
0 Kudos

Hi,

What is the mode of communication.. IDOC or RFC?

Basically to have that field you need to have the occurance as 1..1 or 1..n

Thanks,

Prakash