cancel
Showing results for 
Search instead for 
Did you mean: 

File to proxy scenario

Former Member
0 Kudos

Dear one,

I need a solution for my problem facing this moment.

Here is the File to proxy scenario explained.

I created three new fields in XI IR to map three more fields from File to CRM .On this line,I created three fields in IR and passed the updated file(containing three new filelds) and interfaced.Before that I had regenarated and activated CRM level proxy too.

The file was red by XI and moved to CRM also.

Now my problem is that I can see the three new fields in SXMB_MONI when I got into detail of that . But when I debug the CRM proxy the value for these three fields are not displaying over there .

These three values are displayed in XML message but not in proxy ,why it is so?.

Please help me out to resolve the issue.

Swasthi,

Karthik

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

did you perform proxy (re)generation after the DT in XI was changed?

Former Member
0 Kudos

yes I regenerated and activated after DT in XI changed ...I mean I have activated proxy interface

former_member181962
Active Contributor
0 Kudos

Hi Karthik,

Click on the Refresh button on the SPROXY transaction and then right click on the interface for which the proxy has to be implemented.

Then, you will see an option called regenerate.

It is not the same as activating.

Try regenrating it and see if you are getting the values for the new fields that you have added.

Regards,

Ravi

Former Member
0 Kudos

Ravi,

Performed as you said. But no progress...It is coming with XML message but not in proxy.Do you know any

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Karthik,

first you clear the SLD Cache, then reactivate your scenario,

and then try to execute the scenario

Regrads,

Praveen Kalwa

Former Member
0 Kudos
when I debug the CRM proxy the value for these three fields are not displaying over there .

Is the issue with the fields , or the values in the fields ?

Is it that your proxy structure doesn't have the fields ?

Can you check sxmb_moni in the CRM system if these fields with value appears.

If the issue is with the code , here is a blog reference to debug

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Regards,

Manjusha.

Former Member
0 Kudos

Hi Manjusha,

Here is the reply:

Is the issue with the fields , or the values in the fields ?

Ans:Issue is with the values ,not with the fields .

Is it that your proxy structure doesn't have the fields ?

Ans:Proxy structure have the fields but not value.

Can you check sxmb_moni in the CRM system if these fields with value appears.

Ans:I checked in the CRM system

<TOTL_INFO>

<DT_INVOICE>

<MT_Invoice>

......

<ECOMM_VAT_BASIS_AMT>12</ECOMM_VAT_BASIS_AMT>

<ECOMM_VAT_AMT>13</ECOMM_VAT_AMT>

<ECOMM_CURR_CODE>GBP</ECOMM_CURR_CODE>

</TOTL_INFO>

</DT_INVOICE>

</MT_Invoice>

Both field and values are coming perfectly in XML message..

You can see that above in last three fields (Field- ECOMM_VAT_BASIS_AMT , Value-12 and etc.).

Only values are not coming in proxy structure(table) ....fields are coming with no values

Pls let us know yr views.

Former Member
0 Kudos

Both field and values are coming perfectly in XML message..

Then there shouldn't be any problem.Rest of the job will be done by the inbound proxy code.

Only values are not coming in proxy structure(table) ....fields are coming with no values

If you are checking the proxy structure in sproxy , you will just see the structure and there wouldn't be any values.

Regards,

Manjusha.

Former Member
0 Kudos

Manjusha,

To make understanding clear ,I am checking the field values at debugging mode.I am using the SPRX_TEST_INBOUND report which takes the XML message as input.I have put seeeion debugger in EXECUTE_ASYNCHRONOUS method .When I run the SPRX_TEST_INBOUND report the control stops at the point in EXECUTE_ASYNCHRONOUS method where I put the debugger.Here I can see the proxy with both field and values for all other fields except these three .I can only see the fields but not values for these three fields .Why it is so ?

Knidly, help me in this . I am dsparately looking for the answer.

Swasthi,

Karthik

Former Member
0 Kudos

am using the SPRX_TEST_INBOUND report which takes the XML message as input

Please check if your input XML message here has the fields with the values..

And check your code too.

Former Member
0 Kudos

If the source of a WSDL document has changed, then you must regenerate the proxy objects.

for detail refer this link [http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm]