cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI message mapping queue problem

christian_pichler
Participant
0 Kudos

Hello!

my queue shows the following values:

I would like to get rid of all contexts without values (<null>) but I need to keep the information how many values I had in each context (e.g. 140.000 and 60.000 in the first context, 20.000 and 180.000 in the third context,...).. That's why removeContext and SplitByValue will not work as I would lose this information.

Does anyone know how to handle this?

Thanks in advance,

Christian

Accepted Solutions (0)

Answers (2)

Answers (2)

PRAGSMATIC
Participant
0 Kudos

you map by default , this would remove null entries and you will have a well defined context.

christian_pichler
Participant
0 Kudos

Hi Anurag,

thanks for your reply. map by default would just substitute the null entries with another entry (the one chosen in the map by default settings) which wouldn't help me. I would need an output which has no null entries and no alternative entries (e.g. made by map by default) but with all other entries unchanged.

Regards,

Christian

former_member190293
Active Contributor
0 Kudos

Hi Christian!

The most straightforward way is to write UDF to remove empty contexts from the queue.

Regards, Evgeniy.

christian_pichler
Participant
0 Kudos

Hi Evgeniy,

thank you for your answer. I tried some of the UDFs I found on SDN but it didn't work.

Regards,

Christian

malathi2608
Explorer
0 Kudos

Hi Christian,

Try to remove all the context and reproduce the queue context using Format by example node function if possible.