cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue While Testing Dummy Data in SPROXY ?

prathmesh00923
Participant
0 Likes
1,132

Hello Experts,

Currently I am working on a Scenario Proxy to Rest on PO 7.5 Dual Stack.

Process Overview : Whenever an ABAP Program is Executed it sends request payload to the outbound service interface which i have created on PO System which again passes the payload to receiver system and gets back with response, And response is stored in a ZTable with the help of ABAP.

Problem : Since we all know ESR Objects created on PO System reflects on SAP System (SPROXY Tcode) we need to regenerate the Proxy and create a Proxy class to use it into the ABAP Program.

While testing with dummy data in SPROXY Tcode, Structure visible two times which is not expected.

(IMG 1 - Snapshot from SPROXY Tcode)




Snapshot of Structure Created in PO System (Request Message Types) in ESR.


As The Structure is created to accept one ProcessOrderNumber, Why i am having getting structure with two input nodes in SPROXY (Img 1).

Even, Configurations of all other interfaces are same and tried clearing cache and regenerating proxy in SAP whenever changes has been done in ESR.


Created 6 other Interface following the same process flow they are totally working fine.

Accepted Solutions (0)

Answers (3)

Answers (3)

HammerM
Active Participant

Because your DT_Request is 0 to unbounded in the ESR that means it can contain more than 1 item of ProcessOrderNumber.

When the example structure is being generated it's showing more than 1 ProcessOrderNumber to demonstrate this 0 to unbounded cardinality that you have defined in the ESR

0 Likes

if you see multiple segments means it is not only single, it can be multiple, you can edit in sproxy and delete if you dont need it.

anilwesley
Explorer
0 Likes

Hi Prathmesh,


Can you change the max occurence of DT_Request to 1 and try once


Thanks,

Anil K