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

Similar Messages

  • 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 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 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

  • 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!!!

  • 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.

  • 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

  • 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

  • BAPI_BUS2001_CREATE customer fields

    Hi Experts,
    I am trying to use BAPI_BUS2001_CREATE to create project definition. We also have customer fields defined in CI_PROJ. I am not sure how to use table ExtensionIn of this bapi to pass customer fields data. Can someone guide me please.
    Thanks,
    Apps

    Hi Poorna Chandrasekhar,
    I am first time interacting with BAPi so please help me out urgent.
    I am using BAPI_BUS2001_CREATE for creating project, I have created structure and now I have pass the data from internal table to this BAPI for project creation
    My structure is:
    types:begin of t_header,
    PSPID TYPE PROJ-PSPID, "Project Definition
    POST1 TYPE PROJ-POST1, " Description .
    PROFL TYPE PROJ-PROFL, " Project Profile.
    VKOKR type PROJ-VKOKR, "Controlling Area
    VBUKR TYPE PROJ-VBUKR, " Company Code.
    VERNR TYPE PROJ-VERNR, " Responsible Person.
    PLFAZ TYPE PROJ-PLFAZ, " Start Date.
    PLSEZ TYPE PROJ-PLSEZ, " Finish date.
    TXJCD TYPE PROJ-TXJCD, " Tax Jurisdiction.
    END OF t_header.
    Please elaborate it well and how to check:
    Before the project definition is created, the following is checked:
    Is another project already being processed in the LUW (Logical Unit of Work)?
    Does another project with the same project definition already exist?
    Is the transferred data consistent (do the company code and the controlling area match)?
    If all checks are successful, then the project definition is created in the document tables.
    Please help me out. Thanks in advance.
    Regards,
    Vikash

  • Custom fields not updaing from BADI implmentaion MB_BAPI_GOODSMVT_CREATE

    Dear All,
    I am using BAPI_GOODSMVT_CREATE for creating GRN.For some custom fields in append structure of MSEG( Material document ), i have implemented BADI MB_BAPI_GOODSMVT_CREATE. PAssing custom fields in Extension of BAPI...
    But still values are not getting reflected in Material Document.
    Please suggest me , if i am missing any step.
    regards,
    subhash karidhal

    Hi
    I have added key fields BLNR(document no)  Itemno and  custom zfieldsv in MSEG into my new BAPI structure ZMSEG_BAPI.
    Now i am trying to pass values to those zfields using VALUEPART1 and update the MSEG table using BADI method EXTENSIONIN_TO_MATDOC
    since I am creating document using BAPI_GOODSMVT_CREATE i will not have key field values of document number and item no to pass in Valuepart1 field.
    Can you pls confirm should i have to pass blank valuesfor key field in valuepart1. just wondering how the key fields n BAPI structure will related with MSEG Table.
    Regard
    Chandra
    Edited by: princeck on Sep 26, 2011 3:17 AM

  • Displaying change documents for custom fields  in FPP2

    I have added a new subscreen to the Business partner via BUPT. The new fields are on a custom table. I have created change documents for the new fields and all that is working fine - details are being written to CDHDR/CDPOS as expected. In the standard FPP2 transaction the user can select Extras / Partner changes which will display a list of the change documents. This does not include my custom fields.
    Does anyone know if it is possible to include my custom field changes in this list? I have searched several forums but cannot find any reference to this.

    Hi,
    Fix a break-point in the following function modules and check whether you are passing custom fields
    CHANGEDOCUMENT_SINGLE_CASE
    or
    CHANGEDOCUMENT_MULTIPLE_CASE
    SAP uses the above said function modules to update change documents. Its have two import paratmeters
    WORKAREA_OLD
    WORKAREA_NEW 
    or
    TABLE_OLD          
    TABLE_NEW 

  • How to update a custom field in declarative workflow with VS 2013

    Hello,
    How to update a custom field in declarative workflow with VS 2013
    any help would be appreciated!!!!!
    Thanks regards, Vignesh.

    Dear all,
    I'm using 4.6C right now, i already implement BADI MEREQ001, but this only valid
    for creating PR via ME51N.
    I found an EXIT_SAPLEBND_001 and tried to implement it,
    but i got another difficulties since how i transfer CEBAN structure to EBAN structure.
    thanks very much.
    Regards,
    Billy

  • Pass PO Customer Field to Backend System

    Hi,
    I added a customer field to purchase order using notes 458591 and 672960.
    What are the steps to transfer and save the value of the field in the SRM and in the backend system, SAP R3.
    We are using the extended classic scenario.
    Thanks a lot,
    Eyal.

    Hello Eyal,
    Do you have created this CUF for the PO only, or also for the SC ?
    How is this field populated ? by the user ?
    What is the logic associated to this CUF ?
    Usually, we define the same H/I CUF field for SC, PO and all follow-on doc that need this data (ex BID_INV...). In that case, there is noting else to do to save the values in SRM. We sometimes use the CUF BADI to control the field display and values.
    For the backend, you have several options depending on:
    - what do you want to do with this CUF in R/3 ?
       - update a standard R/3 field
       - update a custom R/3 field (append structure)
    - where do you want to do the mapping
       - in R/3
       - in SRM
    In standard, CUF are passed to R/3 via a table (extensionin/out for BAPI_PO_CREATE1). So you can process them in a R/3 user-exit to map your CUF to standard or custom R/3 fields.
    (exit EXIT_SAPL2012_001 for BAPI_PO_CREATE1)
    (exit EXIT_SAPL2012_002 for BAPI_PO_CHANGE)
    You can also use BADI BBP_ECS_PO_OUT_BADI to map the CUF to standard R/3 fields in SRM, before sending the data to R/3.
    Please, next time give us more details in your post.
    Otherwise generic questions result in generic answers.
    Rgds
    Christophe

Maybe you are looking for

  • How do i share a file so another user of my mac pro can access

    Hi I have a file on my mac pro that I want others to use for presentations without them seeing all my private info.  I have set up a new user but how do I share the file the other user on my mac pro can see it?

  • IDoc- XI- IDoc - Problem in TRFC-Queue

    Hi everybody, in Integration Builder i have created an A2A-Scenario (Idoc->XI->IDoc). After designing and configurating i want to send an IDoc to XI. But the IDoc stands in the TRFC-Queue with error "no service for system <xxx> client 020 in Integrat

  • Repairing permissions frequently - daily

    Can anyone shed light on this puzzle?: I have to repair permissions at least 2 or 3 times every day. I generally run only Mail 2.1.3, Safari 3.1.2, Filemaker Pro 5.5v2, Quickeys 3.2.3, and a small number of always-on gadgets (Sidenote, TypeIt4Me, Ala

  • Using a Pages template

    When trying to use a template in pages, I have access to edit the first page, but can't "find" the subsequent pages. I am trying to use a newsletter template.

  • Top Of Page in ABAP Queries

    Hello everyone,     I want to write some text in theTop-of-page event of Queries.     I am trying to print the text by using a write statement.But I am not succesful.     Let me know how to use top-of-page in ABAP Queries.    Regards,    Najam