cancel
Showing results for 
Search instead for 
Did you mean: 

No payload in Request messagemapping in MONI

Former Member
0 Kudos

Hi ,

I did a file to proxy scenario to update R/3 table. it is showing everything successful in PI sxmb_moni. In R/3 moni, i found application error occured (used fault message type).

i observed in PI sxmb_moni, pipeline step of Request messagemapping doesnt have the target payload(data).

it is showing only

<?xml version="1.0" encoding="UTF-8" ?>

<ns0:f2ps_p_mt xmlns:ns0="http://xyz.com/f2ps" />

i tested messagemapping in IR, and is working fine and generating the output structure.

why is it not showing the message payload in PI moni?

can anybody help me?....

thanks ,

kumar

Accepted Solutions (0)

Answers (11)

Answers (11)

Former Member
0 Kudos

hi kishore,

i tested in messagemapping testing , it was successful.

i did mapping as shown bellow and cardinality as u mentioned earlier.

>f2ps_f_mt

>recset >f2ps_p_mt

>rec -


> >record

eno -


> empcode

ename -


> ename

dept -


> dept

sal -


> sal

Thanks

kumar

Former Member
0 Kudos

hi koshore,

earlier also i did same type of mapping as u said.

but ia mnot able to see the target payload in moni of PI.

Thanks,

Kumar

Former Member
0 Kudos

Hi Kumar,

Please check the namespace as said earlier you have source and target structure in different namespace.

Thanks

Sudharshan

Former Member
0 Kudos

Hi Kumar ,

No need to check this in SXMB_MONI . You can test it stand alone in the test tab of message mapping .

Please use the source payload and test it using test tab and let me know the result. If you can get the Target structure successfully in this test you can resolve the issue.

Please explain us the mappings you have developed in message mapping

Regards,

Kishore

Former Member
0 Kudos

hi kishore , you r right,

i did as u said. its not giving the target msg as required.

then how to resolve it?

thanks

kumar

Former Member
0 Kudos

Hi Kumar ,

It is issue with your message mapping .

Source message -

recset 1..1 cardinality

rec 0..n cardinality

Target message

record 0...n cardinality

In Graphical mapping try to map between rec node in source to record in Target message.

Pls let me know the mappings set at top level for the root elements.

regards,

Kishore

Former Member
0 Kudos

have you done a configuration at R/3 side by tcode SXMB_ADM, and have you done all you configuration for proxy activation as per this blog.

Former Member
0 Kudos

hi All,

I did cache refresh also,

the cardinality u asked for is same as u mentioned(kishore).

in PI moni the message status is successful, but the pay load in pipeline step of Request Message Mapping is shoeing empty. its just showing as fallows:

<?xml version="1.0" encoding="UTF-8" ?>

<ns0:f2ps_p_mt xmlns:ns0="http://xyz.com/f2ps" />

And in R/3 moni the message status is 'application error'.

In 'Call Inbound Proxy ' pipeline step, its showing an exception has occured. In the payload document, its showing the error detail that i created in proxy program as "no data found in the incomming file".

this has happend because of no data has trasferred from the PI, as the 'Request Message Mapping' has no payload appended, right?

i am not able to unerstand why the payload is not appended in the pipe line step Request Message Mapping of PI?

please , help me.

Thanks,

Kumar

former_member190389
Active Contributor
0 Kudos

Please check the namespace .

Before you said it is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:f2ps_p_mt xmlns:ns0="http://hcl.com/f2ps">

in the target struct

but now you have

<?xml version="1.0" encoding="UTF-8" ?>

<ns0:f2ps_p_mt xmlns:ns0="http://xyz.com/f2ps" />

how come?

Former Member
0 Kudos

Hi Kumar ,

It shows that the request message mapping step is not getting executed correctly . Please check the Source message in PI Pipeline and take the payload and check in the message mapping wether are you getting the target structure is getting created correctly .

You can test it standalone with the source payload in message mapping or interface mapping .

pls check this and let us know the output.

Regards,

Kishore

Former Member
0 Kudos

Hi ,

this is my source structure (source message):

<?xml version="1.0" encoding="UTF-8"?>

<ns0:f2ps_f_mt xmlns:ns0="http://xyz.com/f2ps">

<recset>

<rec>

<eno>123</eno>

<ename>name1</ename>

<dept>prod</dept>

<sal>20000</sal>

</rec>

<rec>

<eno>456</eno>

<ename>name2</ename>

<dept>it</dept>

<sal>30000</sal>

</rec>

</recset>

</ns0:f2ps_f_mt>

this is the target structure:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:f2ps_p_mt xmlns:ns0="http://hcl.com/f2ps">

<record>

<empcode>123</empcode>

<ename>name1</ename>

<sal>20000</sal>

<dept>prod</dept>

</record>

<record>

<empcode>456</empcode>

<ename>name2</ename>

<sal>30000</sal>

<dept>it</dept>

</record>

</ns0:f2ps_p_mt>

thanks,

kumar

Former Member
0 Kudos

Hi Kumar ,

1)Are you able to see the target message in Payload in PI server ?

2)Is all the steps in PI pipeline ( SXMB_MONI) are successful ?

3)Please let us know the pipeline steps in SXMB_MONI of R/3 system.

4)Please confirm this - Source message -

recset 1..1 cardinality

rec 0..n cardinality

Target message

record 0...n cardinality

Please confirm that there is no root element in the Target message structure.

Please provide answers to above questions.

Regards,

Kishore

Former Member
0 Kudos

Hi Kumar,

Can you please paste your source and target structure and the mapping you have done over there.

Thanks

Sudharshan

Former Member
0 Kudos

hi Farooq,

I did mapping test, interface mapping test also, everything is fine.

But in moni i couldnt get the target payload.

what wud be the problem?

thanks,

kumar

former_member190389
Active Contributor
0 Kudos

perform cache refresh using sxi_cache and then execute

Former Member
0 Kudos

Hi Kumar,

Just do the "Test configuration" in ID(to ensure that everything is fine with config objects).

former_member190389
Active Contributor
0 Kudos

Check if the file was properly uploaded (if its a ftp) sometimes Adapter picks up half loaded file and does the processing.

Former Member
0 Kudos

Hi Kumar ,

some time it might be Possible,that the message may got struck in Queue . clear the Queue and check once again.

Regards,

Azeez khan.

Former Member
0 Kudos

- Check your source file.

- Test the same with the help of Mapping Test tool.

- Check the source message in XI moni..it is same you sent or not.

thanks

farooq.