Skip to Content
avatar image
Former Member

Exeception Handling

Hi all,

I am using a BAPI "CCAP_ECN_CREATE" to create a change number, this BAPI has two response messages like one for the Successful creation of the change number and other to throw any execeptions while executing this BAPI. Now while executing this BAPI thro' SAP XI, I have created the normal flow using this blog "https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29" but I am not able to get the required output and it throws an exeception in MONI

like (In Request message mapping)

<SAP:Category>Application</SAP:Category>

<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>

and also

" <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>

<SAP:P1>Object ID F4802E69C70B3A27B9DFFEF504252607 Software Component D84621B148DD11DDB501D48DAA290035</SAP:P1> "

I am not aware of how to handle the execeptions(Fault messages) while using BAPI's.

Please provide inputs.

Regards,

Nithiyanandam

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 06, 2008 at 12:11 PM

    Hi

    To kick off , try doing an SXI_cache refresh

    regards

    krishna

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 06, 2008 at 12:13 PM

    Hey,

    you can use a BPM and use the fault message in the applicaiton error field of the send step.

    based on the application error you can trigger an exception.

    regards,

    Milan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 06, 2008 at 12:14 PM

    hi,

    chk ur mapping program using the test tab.

    Regards.

    Siddhesh

    Add comment
    10|10000 characters needed characters exceeded