Skip to Content
avatar image
Former Member

Java mapping to call RFC lookup in it

Hi ,

Requirement is i need to call rfc lookup in java mapping to call BAPI "BAPI_COMAPNY_GETDETAIL"

Input parameter is CompanyID and in result we need 3 output RCOM (company), NAME1, CURR.

Can anyone provide me the java code for it?

It will be very helpful

thanks,

siddharth

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 15, 2017 at 08:21 AM

    Hello Sid,

    Why dont use the standard RFC lookup provided in mapping

    http://saptechnical.com/Tutorials/XI/RFCLookup/Page2.htm

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      thanks for your input. but its client requirement.

      They want me to do this by Java mapping.

      So pleaase help me that if its possible.

  • Feb 15, 2017 at 08:42 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Manoj K

      Hi Manoj,

      Please follow below details:

      BAPI name :( Its a standard u can find it in r3)

      BAPI_COMAPNY_GETDETAIL

      Structure:

      capture.jpg

      Input parameter is CompanyID and in result we need 3 output RCOM (company), NAME1, CURR.

      Please let me know if you need any.

      thanks,

      Sid

      capture.jpg (111.6 kB)
  • Feb 17, 2017 at 10:36 AM

    Hello Sid,

    Post the code u have used?

    And also as Manoj suggested check why thy need JAva code when we have a standard RFC lookup in PI

    Add comment
    10|10000 characters needed characters exceeded