Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in code to get xi payload data

pradeep_nellore
Participant
0 Likes
459

Hi,

I am trying to fetch xi payload using CL_XMS_PERSIST.This is my partial code.

CALL METHOD xms_persist->READ_MSG_ALL
          EXPORTING
            IM_MSGGUID      = MSGGUID
            IM_PID                = PID
            IM_VERSION       = VERS
            IM_CLIENT          = CLIENT
            IM_READ_PAYLOAD = 'X'
          IMPORTING
            EX_MESSAGE      = ex_message.
CALL METHOD ex_message>GETATTACHMENTS
     RECEIVING
            SIZE   = SIZE.

But , i am recieving SIZE as ZERO , there by i could not execute other methods.The SIZE is ZERO as the table URES in method GETATTACHMENTS has no entries.

What could be the right solution to get payload..

Thanks

--Pradeep

Edited by: pradeep nellore on Jun 23, 2009 7:29 AM

2 REPLIES 2
Read only

pradeep_nellore
Participant
0 Likes
426

solved problem..

Read only

0 Likes
426

Part of the ethos of these forums is to share information. So please let us know what the solution was.

matt