Skip to Content
avatar image
Former Member

http client to synchronous BAPI

Hi,

i am preparing to provide training for TBIT40 to our customer, but i am standing on exercise 3 - http client to synchronous BAPI.

i created Z_BAPI_PO_CREATE and every step is ok, but

in interface mapping, i can not see xslt mapping defined by imported archives(PurchaseOrder_ZBAPI_PO_CREATE).

this step took me.

does anybody has any experience?

thanks

venjamin.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 20, 2006 at 09:15 AM

    Hi,

    You may not have selected XSLT as mapping type .

    Regards,

    Alok

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 20, 2006 at 09:17 AM

    Venjamin,

    ABAP and XSLT mapping have to be explicitly activated.

    To do the same, check this blog,

    Now that we have seen, what SAP XI has to offer on creating mappings,let us now see how we can activate the ABAP and XSLT mapping in the Integration repository if XI.

    <i>For this, we need to set a parameter in the exchange Profile of XI. The URL for the same is http://XIHOME:50000/exchangeProfile.

    We also need to set the parameter com.sap.aii.repository.mapping.additionaltypes with a value R3_ABAP|Abap-class;R3_XSLT|XSL</i>

    /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi

    Regards,

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 20, 2006 at 09:18 AM

    Hi venjamin.

    I'm not sure what you mean so I'll give you two answers:

    First, If you are missing the XSLT file,it is provided on the XI host server in the File system you have to look at the courses libraries.

    If you are missing the XSLT mapping option on interface mapping. you have to go to edit mode,then click on the drop-down window in the interface mapping screen.then youll see 3 options: First one for your regular graphical mapping programs,second one for XSLT and the third one for java jars.

    Hope this will solve the problem.

    Good luck

    Nimrod

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 16, 2006 at 06:02 PM

    Hi Venjamin,

    How did you create the custom wrapper BAPI Z_BAPI_PO_CREATE? Can you share the steps?

    Thanks,

    Francis

    Add comment
    10|10000 characters needed characters exceeded

    • hi pragathi,

      could you please post the actual code for creating the RFC (ZBAPI_PO_CREATE) if you got it right and also as i am new to XI and i would like to know where should i plug in this ABAP code to create the RFC.

      kalyan.