Passing custom fields to BAPI

Hi All,
How can i handle the Quantity field using BAPIPAREX?
EX.
I have added the following custom fields to the standard table EKKO.   
    zf_base        (Price per ton, CURRENCY)
    zreq_tons      (Tons Required,QUANTITY)
    zpo_issue_date (PO Issue date,Date)
Here I am using the bapi 'BAPI_PO_CREATE1' to create Purchase Order. How can i pass the above fields to BAPI.

U dont have to create a Z verion. u can use extensionIN parameter. take a look at the bapi funtion module documentation. here is the hint,
<b>Customer's Own Fields (Import Parameters)</b>
This table allows you to add to the import parameters of the BAPI without modifying it.
The customer enhancement SAPL2012 allows you to add to or modify the PurchaseOrder.Change and PurchaseOrder.CreateFromData1BAPIs by:
•     Adapting existing SAP database tables
o     Adding customer-specific fields to SAP tables
o     Including existing database fields
•     Including additional customer-specific database tables
The following BAPI Table Extensions are available:
•     BAPI_TE_MEPOHEADER
•     BAPI_TE_MEPOHEADERX
•     BAPI_TE_MEPOITEM
•     BAPI_TE_MEPOITEMX
•     BAPI_TE_MEPOACCOUNTING
•     BAPI_TE_MEPOACCOUNTINGX

Similar Messages

  • Getting error when passing custom fields to BAPI extension

    Hi ,
    I have problem with standard BAPI_PO_CREATE1 bapi function.
    ERROR DETAILS
    when FM:- BAPI_PO_CREATE1 first time executed  getting error  "Check item number 30 in table EXTENSIONIN" and PO not creating.
    when using function key reverse(cntl+f12) in BAPI_PO_CREATE1 in same execution ,po document  creating ,but data is not papulating custom field.
    CODE USING IN MY PROGRAM
    DATA : 
           ltab_extensionin TYPE TABLE OF bapiparex,
           wa_extensionin TYPE bapiparex,
           wa_BAPI_TE_MEPOITEM type BAPI_TE_MEPOITEM.
    wa_bapi_te_mepoitem-po_item = wa_itab-item.
    wa_bapi_te_mepoitem-zvsart  = wa_itab-ship_type.
    move 'BAPI_TE_MEPOITEM' to wa_extensionin-structure.
    move wa_BAPI_TE_MEPOITEM to  wa_extensionin-VALUEPART1 .
    APPEND wa_extensionin TO ltab_extensionin.
       CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader         = wa_pohead
          poheaderx        = wa_poheadx
          testrun          = ' '
        IMPORTING
          exppurchaseorder = v_po_number
        TABLES
          return           = itab_return
          poitem           = itab_poitem
          poitemx          = itab_poitemx
          poschedule       = itab_posched
          poschedulex      = itab_poschedx
          poshipping       = itab_poshipping
          poshippingx      = itab_poshippingx
          extensionin      = ltab_extensionin.
    Could one of u help me ?? .
    Regards,
    Nayak

    Hi,
    Try populating the ltab_extensionin as the code given below:
    Maybe it can help you.
    Constants: c_flag_bape_vbak TYPE  char10 VALUE  'BAPE_VBAK', " Constant
                     c_flag_bape_vbakx TYPE char10 VALUE  'BAPE_VBAKX'," Constant
      wa_bape_vbap-vbeln             = space.
       wa_bape_vbap-posnr            = wa_order_items_in-in_linenumber.
       MOVE c_flag_bape_vbak TO wa_extensionin-structure.
       MOVE c_flag_bape_vbap TO wa_extensionin-structure.
       CALL METHOD cl_abap_container_utilities=>fill_container_c
         EXPORTING
           im_value       = wa_bape_vbap
         IMPORTING
           ex_container = wa_extensionin-valuepart1.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
       MOVE c_flag_bape_vbapx TO wa_extensionin-structure.
       wa_extensionin-valuepart1+0(10) = space.
       wa_extensionin-valuepart1+10(6) = wa_order_items_in-in_linenumber.
       wa_extensionin-valuepart1+80(3) = abap_true.
       APPEND wa_extensionin TO it_extensionin.
       CLEAR : wa_extensionin.
    Regards,
    Shweta

  • SRM Limit Confirmation - Pass custom fields

    I have a requirement to pass custom fields when doing confirmation for Limit PO line item. What I heard is that the SES is not created by idoc instead a direct bapi is called. But how to I extend / pass custom fields in that case?
    Any thoughts please?

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Customer Creation - Want to pass custom field data to KNA1(Customer Master)

    Hi,
    I have created BAPI for customer creation which uses standard program RFBIDE00 for customer creation.
    I have appended new custom field(ZZATTR1) in the table KNA1 and its currosponding stucture used in the standard program BKNA1.
    Import parameters of my BAPI is one structure which is having this custom field, on executing this BAPI it creates the customer but data which I give through this field is not getting transfered in the table KNA1.
    This sstandard progaram uses file to containing customer information, In the BAPI I on the data from the structure to the file and further it gets submitted to the program.
    My requirement is to pass the data of teh custom field which I have created, How to achieve this ?
    Pls Suggest.
    Regards
    Vishal

    Hi Vishal,
    When implementing a customer exit (i.e. field, user etc) have you ever wanted to be able to read additional
    field values available in the main SAP program but not available in your exit. Now with the use of
    field-symbols you can have access to any field available in the main SAP program. The code below
    demonstrates how this is done within a field exit on BSTNR which can be tested using transaction
    ME21. Information on creating field exits can be found here. 
    FUNCTION field_exit_bstnr.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(INPUT)
    *"  EXPORTING
    *"     REFERENCE(OUTPUT)
    create field symbol
      FIELD-SYMBOLS: <status>.
    Assign value of variable from calling prog to field symbol
      ASSIGN ('(SAPMM06E)RM06E-BSART') TO <status>.
    Display value retrieved in message
    Note: Messages of type i and w are not allowed
      IF sy-subrc = 0.
        MESSAGE e003(zr) WITH <status> 'kkk'.
      ENDIF.
    ENDFUNCTION.
    Rewords some point if it is helpful.
    Rgds,
    P.Naganjana Reddy

  • Passing customized field of accounting in BAPI_INCOMINGINVOICE_PARK

    Hi All,
    I am using BAPI  BAPI_INCOMINGINVOICE_PARK to park the invoice,  we have added some custom field in FI,
    For example we have added field line of product in the FI.
    When i  park the invoice  i need to pass accounting data  into BAPI, i could able to pass cost centre , profile centre ,controlling area other than  field Line of PRoduct  becuase this field is a customized one.
    Since i am not able to pass line of producti, when invocie get post and generate accounting document ,  line of product pass blank value into it.
    So give me solution of how can i pass the this customized field of accouting in BAPI  BAPI_INCOMINGINVOICE_PARK
    Thanks,
    D.prabhu

    The BAPI_INCOMINGINVOICE_PARK appears to be a non-extensible BAPI, that means EXTENSIONIN parameter required for BAPI extension is not provided for, so you cannot pass or retrieve data for custom fields using this BAPI.
    Find some other BAPI related to INVOICE where EXTENSIONIN parameter is available in Importing or Tables.
    Cheers!!!

  • Customized field in bapi

    Hi,
    We have to create a contract by using bapi 'BAPI_CONTRACT_CREATEFROMDATA'. In the contract we have a customized field in additional data B in header. For which there is entry in vbak but not in bape_vbak , bape_vbakx ,  VBAKKOZ and VBAKKOZX.
    Is it necessary to have entry for that field in all these tables.
    when I make entry in these tables, I got runtime message "DA_PAREX-VALUES" and "DA_BAPE_VBAK" are not mutually convertible in a" unicode program.
    Please help me on this.

    Hi,
    Many BAPI's has a method to pass any customer information to standard  tables that use append structure technology.
    in this case, this BAPI has a table parameter called EXTENSIONIN of type BAPIPAREX as you can see in Tx. SE11 this structure has a filed named "Structure".
    As you can see in the function module documentation, with this aproach you can pass data to the SD tables VBAK, VBKD, VBAP and VBEP.
    So, answering your cuestion, you have to include the particular field named B as you added in VBAK in the structure BAPE_VBAK.
    Please check inside the BAPI code, get in SD_SALESDOCUMENT_CREATE FM, form ms_move_extensionin. There is a move-corresponding from BAPE_VBAK to VBAKKOM. Take care about this to avoid any conversion issues.
    I hope this may help you.

  • In LSMW how to include customer fields in BAPI method ?

    Hi all,
    We have a requirement to use BAPI method in LSMW. We have some custom fields defined needs to be handled in BAPI structures.Please tell me how to handle BAPI extension structures(EXTENSIONIN/OUT) in LSMW.

    Hi Venugopal,
    You can use the sold to party field fiield for your requirement.
    Press f4, you will get a pop up to select customer depending on various selection criteria including customer name.
    If can enter the customer name, which will sort out the sold to party number whihc you can use.
    If this is not wat is required you have to copy the transaction and create a new Zreport.
    Hope this helps you.
    Thanks
    Arun

  • Passing custom field in contract in SRM to contract in ECC

    Hi,
    We are using SRM 7.0 with ECC 6 (no EHP). We're planning to use central contract distributed with IDOCs. Our contract in ECC has custom field added in the header. We have tried and successfully pass the contract from SRM to ECC (using IDOC BLAORD03 and COND_A).
    I know we can create custom field in contract in SRM, but how to pass the value in the custom field in SRM contract to custom field in ECC contract? Do we need to edit IDOC BLAORD03? Is it possible?
    Best regards,
    Yosea

    Hi,
    Does anyone know the answer?
    John

  • Passing Custom fields to Req and PO

    Hi,
    We are on SRM 5.0 and ECC 5.0.We are using the classic scenario .I am trying to transfer the catalog ID from SRM shopping cart to R3 Req .There are number of threads in this forum that describe the procedure, which i understand.
    But now if the Req is converted to PO in R3 either manually or auto, does the custom fields also get transferred automatically ,if i maintain the same custom fields in CI_EKPODB & CI_EKPODBX? or is there anything else i need to do.
    Thanks
    Raghu

    Hi
    Besides BBP_CUFMAP, you have to of course :
    - create the same Zdata element datain ECC as you have done it in SRM.
    - maintain CI_EKPODB with append of your Zdata element
    - create CI_EKPODBX and activate it !
    Then you will be able to sea your Zdata element (or CUF) in the EKPO table.
    You don't need to use BBP_PO_INBOUND !
    Re: Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
    Re: Mapping fields in SRM with R/3
    <u>Also, Please refer to SAP OSS Notes 672960 and 485891.</u>
    <b>The BADIs in SRM which can used in this case, using transaction SE18 are </b>
    <u>BBP_TARGET_OBJECTS</u>
    <u>BBP_TARGET_OBJTYPE</u>
    <b><u>In SRM Customization</u></b>
    In the following step : " Go to SRM --> SRM Server --> Cross Application Settings --> Define Objects in Backend System --> go to external procurement and select the function from the drop down box", it says "purchase order if item data is complete, otherwise Purchase Requsition.
    <b>Related links for source code and other configuration -></b>
    R3 field is not populated????
    implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
    Custom field values are not being transfered to the backend system
    Re: custom field values not passed to R/3
    Do let me know, incase you face any issues.
    Regards
    - Atul

  • Passing customized field to workflow

    Whenever I pass user USusername, the wfl returns a  value but whenever I passed BPobjid, the wfl encounters and error eventhough the rule test returns a value..
    the BPobjid if I may add is a customized field. And if shown at bbp_pd contains 10digit BP number.
    I'd made sure that the Function module called by the rule can handle BP0000000000, 0000000000, formats.. but then, theres no value being returned.
    Is there a way where I can see the value passed by the WFL to the rule container? I even tried to test hardcoding values from the WFL Binding with (BP0000000000, 0000000000, formats).
    Thank you
    Cindy Sy

    Hi Lakshmi,
    Create Workflow container
      swc_container        lt_container.
      swc_create_container lt_container.
    Fill internal table with data
    The container type and the internal table type should be same, U can use a structure to define both.
    Declare a structure with all the fields.
    Define a conatiner of same type of structure in worklow and set it in <b>wait for event</b> setp.
    swc_set_table lt_container '<container_name>' lit_int_data.
    CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = lc_objtyp
          objkey            = lv_objkey
          event             = lc_event
        IMPORTING
          event_id          = lv_eventid
        TABLES
          event_container   = lt_container
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
    Rgds,
    Prakash
    Message was edited by: Prakashsingh Mehra

  • LORD: ERP Quotation passing custom fields to ERP system

    Hi Gurus
    I extended the ERP quotation screen with custom fields which are same like ERP fields using AET and generated the setter and getter and methods for those fields in CRM system , but after entering the values into the custom fields and pressing enter the values are not getting retained , I mean after pressing enter it will communicate with ERP system using RFC call and return back to the CRM systme after that the custom fields are becoming empty, how can I track those values after coming back to the crm system .
    Thanks & Regards
    Madhu

    Hi Madhu,
    I am facing same problem.
    Could you please share your ideas?? It will be helpful to several guys.
    Thanks in advance,
    S.Meganadhan.

  • Update EKKO table for the custom field through BAPI

    Hi Experts,
    I need to create an Custom field in EKKO table through Include Structure.
    Now I have to update that custom field in my program.
    I have gone through the following but could not solve my question.
    Update EKKO table
    User Exit for ME21 PO Creation at the time of saving--Urgent
    I don't need to update when I hit the save button or any thing
    I have the PO's which needs to be updated with that field...
    Any suggestions would be greatly helpful.
    Thanks,
    Chaithanya...
    <removed_by_moderator>
    Edited by: Julius Bussche on Jul 7, 2008 10:47 PM

    Hi Patrick,
    Sorry Patrick you are right.. The structure is at header level.
    I have made the changes still I could not achieve it.
    I have made the following
    In EKKO table I have append the structure with a custom field ZZBUY.
    Now I have also appended BAPI_TE_MEPOHEADER and BAPI_TE_MEPOHEADERX with the custom field
    ZZBUY.
    Here is my program
    Data: wa_bapi_poheader  type BAPIMEPOHEADER,
             wa_bapi_poheaderx type BAPIMEPOHEADERX.
    Data: it1_bapi_poheader  like BAPI_TE_MEPOHEADER,
             it1_bapi_poheaderx like BAPI_TE_MEPOHEADERX.
    CALL FUNCTION 'BAPI_PO_GETDETAIL1'
      EXPORTING
        PURCHASEORDER            = wa_DATA-ebeln
    *   ACCOUNT_ASSIGNMENT       = ' '
    *   ITEM_TEXT                = ' '
    *   HEADER_TEXT              = ' '
    *   DELIVERY_ADDRESS         = ' '
    *   VERSION                  = ' '
    *   SERVICES                 = ' '
      IMPORTING
        POHEADER                 = wa_bapi_poheader
    *    POEXPIMPHEADER           =
      TABLES
        RETURN                   = it_bapireturn
    it1_bapi_poheader-ZZBUY = 'X'.
    it1_bapi_poheaderx-ZZBUY = 'X'.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
    it_extensionin-valuepart1 = it1_bapi_poheader.
    append it_extensionin.
    Clear  it_extensionin.
    it_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
    it_extensionin-valuepart1 = it1_bapi_poheaderx.
    append it_extensionin.
    Clear  it_extensionin.
       CALL FUNCTION 'BAPI_PO_CHANGE'
         EXPORTING
           PURCHASEORDER                = wa_data-ebeln
           POHEADER                     = wa_bapi_poheader
           POHEADERX                    = wa_bapi_poheaderx
    *      POADDRVENDOR                 =
    *      TESTRUN                      =
    *      MEMORY_UNCOMPLETE            =
    *      MEMORY_COMPLETE              =
    *      POEXPIMPHEADER               =
    *      POEXPIMPHEADERX              =
    *      VERSIONS                     =
    *      NO_MESSAGING                 =
    *      NO_MESSAGE_REQ               =
    *      NO_AUTHORITY                 =
    *      NO_PRICE_FROM_PO             =
    *    IMPORTING
    *      EXPHEADER                    =
    *      EXPPOEXPIMPHEADER            =
         TABLES
           RETURN                       = it_bapireturn
    *      POITEM                       =
    *      POITEMX                      =
    *      POADDRDELIVERY               =
    *      POSCHEDULE                   =
    *      POSCHEDULEX                  =
    *      POACCOUNT                    =
    *      POACCOUNTPROFITSEGMENT       =
    *      POACCOUNTX                   =
    *      POCONDHEADER                 =
    *      POCONDHEADERX                =
    *      POCOND                       =
    *      POCONDX                      =
    *      POLIMITS                     =
    *      POCONTRACTLIMITS             =
    *      POSERVICES                   =
    *      POSRVACCESSVALUES            =
    *      POSERVICESTEXT               =
           EXTENSIONIN                  = it_extensionin
    *      EXTENSIONOUT                 =
    *      POEXPIMPITEM                 =
    *      POEXPIMPITEMX                =
    *      POTEXTHEADER                 =
    *      POTEXTITEM                   =
    *      ALLVERSIONS                  =
    *      POPARTNER                    =
    *      POCOMPONENTS                 =
    *      POCOMPONENTSX                =
    *      POSHIPPING                   =
    *      POSHIPPINGX                  =
    *      POSHIPPINGEXP                =
    *      POHISTORY                    =
    *      POHISTORY_TOTALS             =
    *      POCONFIRMATION               =
    It gives me messages saying that
    Please also populate interface parameter POHEADERX
    No data changed
    Where am I going wrong..
    Waiting for your replies....
    Thanks,
    Chaitanya

  • Purchase Order item customer fields

    I have the following scenario:
    - I need to save some customer fields in Purchase Order item, when it is generated through the Shopping Cart (EBP).
    - When EBP will generate a PO in backend (R/3), it calls B470_PO_CREATE function module and inside it calls BAPI_PO_CREATE1 in R/3. This call does not use extensionin parameter.
    - I have all the values in PO_ITEMS parameters. (an append structure in bapi_mepoitem).
    - Trying to solve this, I think I have to use EXIT_SAPL2012_001 to create the extensionin parameter.
    - Anyone else has this problem?
    - How can I create the extensionin parameter? Is it only necessary to add 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX'?
    - Do you have an example?
    Thank you!

    Hi
    You have to extend CI_EKPODBX with the same fieldnames with type BAPIUPDATE (in SE11), and then while passing the EXTENSIONIN to the bapi, you have to flag those. Like the following:
    DATA: wa_extensionin TYPE BAPIPAREX,
    wa_BAPIPAREX TYPE BAPIPAREX,
    wa_BAPI_TE_MEPOITEM TYPE BAPI_TE_MEPOITEM,
    wa_BAPI_TE_MEPOITEMX TYPE BAPI_TE_MEPOITEMX.
    wa_BAPI_TE_MEPOITEM-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEM-ZZZ_FIELD1 = <z-field value>.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEM'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEM.
    APPEND wa_BAPIPAREX TO extensionin.
    wa_BAPI_TE_MEPOITEMX-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEMX-ZZZ_FIELD1 = 'X'.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEMX'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEMX.
    APPEND wa_BAPIPAREX TO extensionin.
    This will work. Please let me know if it does not.
    See related links ->
    Re: BAPI_PO_CREATE1 and EXTENSIONIN structure
    Re: Passing custom fields to BAPI
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: BAPI_PO_CHANGE
    Yann i need ur help..
    Re: Custom field values are not being transfered to the backend system
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: Implement ME_PROCESS_PO_CUST-Urgently!
    Re: Purchase Order (BAPI_PO_CREATE! --> EXTENSIONIN)
    Re: How to use BAPI extensions?
    Re: BAPI_PO_CREATE1 user fields not saving on EKPO
    BAPI_PO_CREATE1 - EXIT_SAPL2012_001
    Do let me know.
    Regards
    - Atul

  • Limitation on Adding custom fields into VBAP (Updating from BAPI )

    I have added some custom fields into BAPI structure BAPE_VBAP and corresponding structure to update the custom fields added into VBAP.
    in my code i am passing the value bapiparex-valuepart1 = bape_vbap0(240). bapiparex-valuepart1 = bape_vbap240(240),
    bapiparex-valuepart1 = bape_vbap480(240) and bapiparex-valuepart1 = bape_vbap720(240)
    But, while activation its informing me that more than 441 character length not allowed for the structure. Where the total length should be allowed upto 960.
    is there any OSS notes which i can apply to extend the limit for adding more custom fields into VBAP .
    Please help

    Dear All,
    Good Morining.
    The User creation and Assigining roles is done by the same preson and As i have mentioned above i am disabling the Manage_User action,And if i give the responsiblity of assigining  roles to an other person then he can also create user (standard functionality) where i cannot add my required features.Thereby leading for inconsistency.Therefore we thought that we will also add this funtionality in Webdynpro application and for the same, we have to provide the search criteria where currently we are able to search the role based on data entry(eg:t* or Ume etc) .But we need to search also based on the DataSource(ie Portal Role ,All DataSource and UME).Please Can you guide me in this.
    Also please let me know if we are going in a right approach and also suggest any better approach to achieve the same.
    Thanks and Regards,
    Nishita Salver

  • Passing customer id(logged in user)  to BAPI

    Hi,
    I am creating a sales order application where in i have to pass the user id (customer  logged in through portal) .
    I have made the MODEL RFC as ticket, and meta data as user id password where i have passed the service user and password.
    Now my problem is that there will be 'N' customer ids in Portal but we are not creating any customer ids in SAP ECC. We are planning to pass the user id of portal logged in user to ECC (which will be customer id) and get the data based on the customer id passed.
    Question is how do i pass customer id to BAPI, ? Do i have to make the MODEL JCO as user/password or ticket should be fine as i am getting information for only customer logged in Portal ?
    How and where do i write the the following piece of code ? Should it be in wdDo init() or in the execute method of Controller ?
    try{
    IUser user = WDClientUser.getLoggedInClientUser().getSAPUser();
    IUserAccount[] acct = user.getUserAccounts();
    if(acct[0] != null)
    String strUserid = acct[0].getLogonUid();
    customer=strUserid.substring(0,strUserid.indexOf("."));
    if(customer.equalsIgnoreCase(customer))
    wdContext.currentYOURRFC_InputElement().setCustomer(customer);
    }catch(Exception ex)
    ex.getMessage();
    Should the above code be in the component controller before i execute the BAPI ?
    your help is appreciated.
    Regards
    PN

    Hi Portal Newbie,
    Your tickets and userid/password works as following:
    Tickets: When u select SAP logon ticket (SLT), EP generates a ticket with the user id of the logged in user, attached to the ticket. Now when it reaches R/3 it will check for the same user id. If no such user id is exits it will throw an error. To over come this u can define a reference system where u can do the user mapping.
    UIDPD: When u select this option u have to manually enter the user id and password in JCo. So when a EP user logs in the UID and password mentioned in JCo will be passed, not the EP user id, and R/3 will look for that user and execute the BAPI. And i guess u dont want that.
    Solution:
    As far as i have understood u dont want the same number of users in EP and R/3, (might be a licensing issue) and want only a few user IDs in R/3.
    1. Select UIDPD in JCo, and in your BAPI add another field like "user_id" through which u can send the user id to R/3 and execute a query which shall return the value corresponding to that particular user. [issue: there is a limit to the JCo connections created for a user.] Also there is an api to handle JCo connection in webdynpro. There u can set the user id, password and client number. But here also the user id that you set should be present in R/3.
    2. Select SLT in JCo and configure a reference system. You have to perform user mapping for every user. Now when a user logs in the ticket will contain the user id of EP and also the one u have mapped, ie the R/3 user. Make sure the R/3 user id exists in R/3. Now the sy-unam in BAPI will contain the R/3 user id. I guess there is an option to retrieve the EP user id from the ticket, but im not sure.
    In your kind of scenario its always recommended to have same number of user ids in EP and R/3. If user names are same then there is no need to configure reference system.
    Regards,
    Piyush.
    ps: reference system is just a system that we create in EP but in UME settings we have to specify this system as the reference system.

Maybe you are looking for

  • "=" at the end of composed message

    hey there, a friend of mine told me, that my emails composed in Mail contain a "=" at the end of the text (e.g. "Best wishes="), leading (at least in some cases) to a spam suspicion of my messages. I can only see this character if I choose to view in

  • Patterns in java imageio API

    Hello, Can somebody help me in figuring out 'Patterns' used in creating the javax.imageio API. By patterns I mean the Gang of Four Patterns like singleton, Decorator, Chain of responsibility.... Please tell me if you know of any pattern used in this

  • Can one post movies via iWeb which cannot be saved by the viewer?

    Does anyone know of a way to make movies on iWeb "view only" and not savable by the viewer of the website? This would enable me to post movies which I want to show but don't want them to have to have access to the file to use as they please.

  • Purchased Mountain Lion Download Failure!

    Dears! One week ago I purchased a Mountain Lion X from App Store to upgrade my OS X Lion 10.7.4 (11ES3) on my iMac 27-inch, Mid 2011 and since, App Store didn't succeed to download it! "An error has occurred" message in RED color is shown in "Purchas

  • Any problemes with App. ONYX and Mountain Lion ?

    What could be the problems using Onyx ?