cancel
Showing results for 
Search instead for 
Did you mean: 

Remove output Empty Tags in abap webservice

ClaudioCapra
Explorer
0 Kudos

Hi,

i've developed an sync abap webservice provider, everything work fine, but i need to remove the empty tags in te outbound structure.

is it possible?

thanks a lot.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Claudio,

If you would use a middleware like PI you could to remove the empty tags easily. With only an ABAP proxy you will need to change you dictionary structure as Harish pointed.

Regards.

ClaudioCapra
Explorer
0 Kudos

Hi Inaki,

how can i change a dictionary structure setting optional fields?

thanks.

Former Member
0 Kudos

Hi

I don't think we can have any options for setting occurrence in ABAP structures.

Harish
Active Contributor
0 Kudos

Hi Claudio,

you can remove the empty tags by clearing the data (if there occurrence is optional). But it the tags are mandatory then you can not remove the empty tag. you need to change the occurrence and then clear the data.

ClaudioCapra
Explorer
0 Kudos

Hi Harish,

yes but i have a output structure based on dictionary structure, so i think a cannot set that as optional.

thanks a lot.