Return order BUS2102 Workflow container data not populated

Hi All,
Please requesting you to provide your advise on the below issue.
I have created a custom workflow with business object BUS2102
In the Workflowtemplate (E.g. WS90000XXX)
i have included the triggering event for BUS2102 with EVENT "CREATED" and
added a container element SDReturnCN of type BUS2102
Once the Return Order is created the Workflow is getting triggered successfully
but data is not populated into the container SDReturnCN.
Do i need to write and EXIT to populate container UNLIKE as in Credit memo bussiness object :BUS2094
if yes please let me know which part i am missing.
Thanks & Regards,
Veeru.

Hello,
"but data is not populated into the container SDReturnCN."
Check the bindings. Where is the value coming from?
regards
Rick Bakker
hanabi technology

Similar Messages

  • Worflow container elements not populating

    Hi,
    I am using a simple method and populating certain parameters of the method. in stand alone from swo1 the method populates the container element. This method is then called from a task in workflow.
    The problem I face is that the workflow container elements are not populated, although the container elements at the task level are populated corectly in the workflow log. Even If I am binding a hardcoded value at the task to workflow binding level, the workflow container elements is not getting correct values; when I check the log and hence the workflow goes in error.
    I would like to know why the workflow container elements not getting filled with right values. I have done many workflows before but never faced such an issue before.
    Regards,
    Vishal Bhatia
    Edited by: Vishal Bhatia on Sep 19, 2011 2:33 PM

    Hi,
    I have checked the binding and workflow is activated again.
    Also buffering was done in SWU_OBUF.
    I also tried to run the workflow from SWDD itself and still the same problem. This is very strange. Never before i encountered such an error.
    Kindly suggest. I also tried to create a new task and change the names of container variables in workflow. The strangest thing is the hardcoding of value also not being passed.
    Types of parameters match and import export set accordingly.
    Regards,
    Vishal Bhatia

  • Data not populating after DS enhancement

    HI pros,
    i have made Data source enhancement.
    i wrote the code in include program.
    when '0FI_GL_40'.
      CHECK NOT c_t_data[] IS INITIAL.
      LOOP AT c_t_data ASSIGNING <fs_data5>.
      SELECT SINGLE matnr FROM bseg INTO <fs_data5>-ZZMATNR
                             where BUKRS eq <fs_data5>-BUKRS and
                                   BELNR eq <fs_data5>-BELNR and
                                   GJAHR eq <fs_data5>-GJAHR and
                                   BUZEI eq <fs_data5>-BUZEI.
    endloop.
    but the data not populating into the report, the Multi provider is real time
    krish..

    Hi,
    Syntax
    ASSIGN mem_area TO <fs> casting_spec range_spec.
    Effect
    This statement assigns the memory area specified using mem_area to the field symbol <fs>. You can assign a data object or a memory area calculated from the address of a data object. After the assignment, the field symbol refers to the assigned memory area and can be used in operand positions. When used in a statement, it behaves like a dereferenced data reference, meaning that the statement works with the content of the memory area.
    The data type with which the assgigned memory area is treated, depends on the specifications in casting_spec. You can either execute an explicit casting or the field symbol takes on the data type of the data object specified in the assignment. A field symbol to which a memory area is assigned, has this data type after the assignment and behaves like a data object of this type.
    The assigned memory area mem_area must be at least as long as the data type specified in casting_spec and must have the same alignment. If the data type determined in casting_spec is deep, the deep components with their type and position must appear in the assigned memory area exactly like this.
    Use the specifications in range_spec to restrict the memory area that can be assigned to the field symbol.
    You have to assign it back to internal table to modify the content.
    Check in debug mode if you have still doubt.
    regards,
    Raju

  • Data not populating in database

    Hi All
    I am trying to insert data into a custom table but unable to do so...
    Steps followed
    1. Created a custom table
    2. Created an EO based on the table
    3. Created a VO associated with the EO.
    4. Created AM and associated the VO with it.
    5. Created page and associated it with the AM.
    Controller Code
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        am.invokeMethod("initEmployee");
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        if("Next".equals(pageContext.getParameter("event")))
           pageContext.setForwardURL("OA.jsp?page=/xx0801/oracle/apps/per/selfservice/val_assignment/webui/PhonePG", null, (byte)0, null, null, true, "N", (byte)99);
    if("Save".equals(pageContext.getParameter("event")))
      am.invokeMethod("createEmployee");
      }AMImpl Code
    public employeeAMImpl()
        public void initEmployee()
          OAViewObject vo = getEmployeeVO1();
            if(!vo.isPreparedForExecution())
               {vo.executeQuery();
            Row row=vo.createRow();
                vo.insertRow(row);
            row.setNewRowState(Row.STATUS_INITIALIZED);
        public void createEmployee()
        getTransaction().commit();
    ...A new row does get created in the table but the data columns are empty only the creation date, created by, last_updated_by etc are getting populated.
    Thanks

A: Data not populating in database

I have put the debug statement as follows:
public void createEmployee()
    EmployeeVORowImpl emp = (EmployeeVORowImpl)getEmployeeVO1().getCurrentRow();
   String name = emp.getEmployeeNumber().toString();  
   System.out.println("Emp Num: " + name);
    getTransaction().commit();
    }The employee number got printed in the messages. However the row still doesnot have any data except the created by, creation date etc
Edited by: Subhasish on Jan 12, 2011 3:38 AM

I have put the debug statement as follows:
public void createEmployee()
    EmployeeVORowImpl emp = (EmployeeVORowImpl)getEmployeeVO1().getCurrentRow();
   String name = emp.getEmployeeNumber().toString();  
   System.out.println("Emp Num: " + name);
    getTransaction().commit();
    }The employee number got printed in the messages. However the row still doesnot have any data except the created by, creation date etc
Edited by: Subhasish on Jan 12, 2011 3:38 AM

  • Rule Result not returned back to Workflow container

    Hi ,
    We have a workflow where the approver for a Process is Manager of  any Orgunit .
    Now the manager is determined using a Rule with Category u201CFunction To be executedu201D .
    The Business requirement is so that If the immediate manager for any Orgunit is not maintained it will traverse through the entire Org structure unless the Manager is determined.  So the Level of the First approver could be of any value starting from 01.
    We also have Deadline  monitoring active .
    Incase the first approver  doesnu2019t act within 7 days  the Work item should go to the next level Manager ( second  approver ).
    The level of the second  approver depends on the level of the First approver .
    Example : If  the level of the First approver   is 3 then the level of the second approver  would be 4 or more.
                  : If  the level of the First approver   is 2 then the level of the second approver  would be 3 or more.
    Hence to achieve the Level dynamically we need to pass the Level of the first  approver  from the Rule to the Workflow  so that it can be used for determining  the next level manager in the next task.
    In the Function Module which determines the first approver  I have got the Value for the Level .
    I also have assigned that value to the Rule Container (_WI_RESULT , this is the only parameter which can be used for the Export )  using the Macro SWC_SET_ELEMENT  .
    I also have done the  binding from the Rule to the Workflow. But the value is not populated in the Workflow container .
    Could any one please help me  on solving this ??  Any other idea to achieve this is functionality is welcome too.
    Regards,
    Raka

    Hi  Arghadip,
    First of all thanks for the reply .
    We alreday have some logic  like this in place .
    But we want to imporve the system performance .
    We get the agent in one task from the Rule .
    Now again if we try to get the same agent in a method ,won't it be doing the same task twice.
    So we are trying to return the manager Counter value from the Rule container itself to the Workflow container so that it can be used to get the escalation manager.
    Regards,
    Raka

  • Retrieve workflow container data in programming exit

    I am trying to use a programming exit in Workflow in order to amend the task container for the receipients field of a "Send Email" step. The reason why we are not determining the receipients in the usual way is because we hold the receipients (amongst other data) in a separate Z* table - this needs to stay this way.
    I created a class and copied method CHANGE_CONT_ELEMENT to base my altered code on. The method is triggered fine when testing the workflow. Here is what it now looks like:
    method CHANGE_CONT_ELEMENT .
      DATA: container TYPE REF TO if_swf_cnt_container,
            if_swf_cnt_container,
            cont TYPE REF TO IF_SWF_IFS_PARAMETER_CONTAINER,
            name TYPE swfdname,
            lh_wihandle TYPE REF TO if_swf_run_wim_internal,
            l_exception TYPE REF TO cx_swf_cnt_container,
            l_wiid TYPE sww_wiid,
            w_container type ref to IF_SWF_IFS_PARAMETER_CONTAINER,
            w_names type SWFDNAMTAB,
            wa_names type line of SWFDNAMTAB,
            w_value(30).
      w_container = me->m_ctx->GET_WI_CONTAINER( ).
      w_names = w_container->LIST_NAMES( ).
    data: w_name type SWFDNAME.
    w_name = 'TEST-NUMBER'.
    TRY.
      loop at w_names into wa_names.
        CALL METHOD w_container->get
         EXPORTING
          name       = wa_names.
      endloop.
    CATCH CX_SWF_CNT_ELEM_NOT_FOUND .
    CATCH CX_SWF_CNT_ELEM_TYPE_CONFLICT .
    CATCH CX_SWF_CNT_UNIT_TYPE_CONFLICT .
    CATCH CX_SWF_CNT_CONTAINER .
    ENDTRY.
    ENDMETHOD.
    Now w_names retrieves the names of the fields fine (including my "TEST" entry which I declared in the Workflow Builder), but the GET method causes a "CX_SWF_CNT_ELEM_NOT_FOUND" exception.
    Is this the correct way to retrieve data out of a Workflow container within a WF programming exit? What am I doing wrong?
    Kind regards,
    Michael Koch

    Hi Michael, Paolo & Other experts,
    I am trying to understand when, why and how to use a 'programming exit' in a SAP workflow.
    (1) Did you figure out the solution to your problem?
    (2) Is there any material / tutorial on use of a  'programming exit' in a workflow?
    Thanks
    Abaper

  • Error in reading workflow container data and populate it in web dynpro pdf

    Hi,
    Please advise on the following issue.
    I have an adobe interactive form built inside a webdynpro java application, on a RFC call this form is sent as an xstring and the BAPI triggers a workflow in the backend. At any point of time, on passing a workitem id, a custom function module returns the form data that exists in the workflow as an xstring back to webdynpro java, intenally this custom FM iterates through the internal table binary contents for IT_SOLIX_TAB and produces an xstring format out of this binary content. This xstring is passed back to the webdynpro java application so that the contents can be displayed in a pdf.
    I assume that since the data source context structure which has to be populated with this wf container form data is exactly the same as the one which generated this pdf in webdynpro java before the workflow trigger, the WDINTERACTIVEFORMHELPER.transer.... method should be sufficient to re-populate the wd java based pdf with wf container data.
    But I am unable to do this as I am getting "PDFDocument processor failed to process input pdf request" at this step. Though I can see that the RFC is returning the binary data
    Versions : ALD 8.1, CE 7.1 SP5 NWDS, Adobe reader 9
    Awaiting your inputs.
    Thanks
    Lisha

    Hi Hari,
    Why do you use a FM to read the container? You couldn't use bindings? Or are you reading the container of the workflow in a separate program?
    Are you sure the container element is filled when the workflow is started? If so how is it filled, in the event binding?
    Regards,
    Martin

  • Error in reading workflow container data and populate it in web dynpro pd

    Hi,
    Please advise on the following issue.
    I have an adobe interactive form built inside a webdynpro java application, on a RFC call this form is sent as an xstring and the BAPI triggers a workflow in the backend. At any point of time, on passing a workitem id, a custom function module returns the form data that exists in the workflow as an xstring back to webdynpro java. This xstring is passed back to the webdynpro java application so that the contents can be displayed in a pdf.
    I assume that since the data source context structure which has to be populated with this wf container form data is exactly the same as the one which generated this pdf in webdynpro java before the workflow trigger, the WDINTERACTIVEFORMHELPER.transer.... method should be sufficient to re-populate the wd java based pdf with wf container data.
    But I am unable to do this as I am getting "PDFDocument processor failed to process input pdf request" at this step. Though I can see that the RFC is returning the binary data
    Versions : ALD 8.1, CE 7.1 SP5 NWDS, Adobe reader 9
    Awaiting your inputs.
    Thanks
    Lisha

    Hi Hari,
    Why do you use a FM to read the container? You couldn't use bindings? Or are you reading the container of the workflow in a separate program?
    Are you sure the container element is filled when the workflow is started? If so how is it filled, in the event binding?
    Regards,
    Martin

  • Return Order Creation with Multiple Lines not possible - EHP3

    Hi Experts,
    We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3.
    While we select multiple line items from the external reference billing document and Create a return order(BT120H_CPL/NewComplEF ), the very first line item gets repeated instead of all the line items getting copied to the subsequent view(BT120H_CPL/ItemList ).
    Please help.
    Thanks,
    Rohit

    I hope you have tried.If not can you  please try with  below qualifier
    '015' Billing Document Number of Invoicing Party
    Provide the billing document EEDK02-BELNR.
    Also give qualifier at item level
    E1EDP02 : use Qualifier =15
    Provide the Billing document number at E1EDP02_BELNR and item at ZEILE.
    I am not sure what is error you are getting when you are referencing billing document.If something STD Idoc  is not working as you expected use your custom logic to bring the data when you are posting the Idoc.
    I have not worked on sales order process,But I have worked on Purchase Order creation process.
    Please let me know the error ,If i know the error i will defiantly help you.

  • Send workflow container data to workflow within BSP

    Hi Experts,
    Good day. I think this must be the right place for asking BSP related questions.
    My question is: I'm triggerring a workflow from BSP and container data for the workflow shall also be transferred.  But when my workflow is triggerred, related container data is not transferred to it. I think there might be something special to care about when calling workflow from BSP, but no exact information is found.
    Following is my code in onInputProcessing event handler.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = lv_objtype
          objkey            = lv_objkey
          event             = lv_event
        IMPORTING
          event_id          = lv_eventid
        TABLES
          event_container   = lt_container
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
      IF sy-subrc = 0.
        COMMIT WORK.
      ENDIF.
    This code is triggering the workflow but the containers in workflow remain initial. Please kindly help me with this issue, any information is highly appriciated.
    Thanks in advance
    Regards
    Luis

    Hi Shailaja,
    The problems are solved, the related thread is in Business Process Management forum and you can search with 'Trigger workflow from BSP and transfer container data' under my name.(sorry I dont have the url to that, the address in my Firefox is always sdn.sap.com/irj/sdn/collaboration).
    Poinst have been distributed and thanks for your time and kindness.
    Best regards
    Luis

  • Standard Container element not populating....

    Hi All,
    I am using a standard task TS17900100 to process the HCM Form in workflow at 2 places. There is a standard container element STEP_OBJECT of this task which gets populated at run time.
    Now at first place this container is getting populated correctly. But in the second place I have used the same binding and same task but STEP_OBJECT container is not getting populated. Also, STEP_OBJECT is not an import/export parameter.
    Please suggest.
    The task is using  the following class and method :
    CL_HRASR00_WF_COMPONENTS
    WI_EXECUTION_VIA_R3_INBOX

    Hi,
    I have checked the bindings in both the steps. It is same and all the containers are getting populated in the log except STEP_OBJECT. That's why I am not getting the reason for such a case. STEP_OBJECT is getting populated by itself in the first step. But it is not getting populated in the second step.
    Please suggest.
    Regards,
    Guddan

  • Getting error in return order as free goods are not copying

    Hi
    We are facing error as free goods are not copying in return orders,We have done upto the billing and creating return order with the reference of billing
    Many Thanks
    Rakesh Naveen

    Hi,
    Kindly check the copying control at IMG->Sales and Distribution->Basic Functions->Free Goods->Maintain Copying Control.
    Thank You,
    RB

  • Over Time Workflow Container elements not updated

    Hi,
    I am using Standard Task TS20000459 for approval of Overtime entered for an employee in CAT2 transaction.
    Work item is getting generated to his manager's inbox.
    Issue is, subject of the work item should have employee number and Employe name. Standard Task contains Container elements &TS_PERNR& and &TS_ENAME& which is not getting filled with any values.
    Can any one suggest me how to get the same?
    Regards,
    Saravana Perumal

    Hi Shanti
    I faced the same problem...And i resolved that problem by binding...
    Create the container element for PERNR and ENAME in the standard task ts20000459 as well as in workflow container.Then bind those container values.
    Before bind the workflow and task container, you have to bind the workflow container with the event container.
    Regards,
    Hemalatha.

  • Stock Item Release Date not populated in Webtools

    I am looking to alert Online purchases of products that are shown in webtools ( i.e. Active = 'Y') that are not immediately available at a date in the future.
    It is not possible to use the Valid From Date because this controls the initial visibility of the item in webtools.
    There is a UDF inserted by the Plugin ( I think ) Call ed Release date, however populating this field does not cause the 'ReleaseDate' field in PartsMaster Table to be updated.
    Assuming this can be achieved can someone advise briefly as to how this data can be populated on the relevant aspx page(s)
    If there is a better way of achieving the same thing - suggestions welcome. The customer wants to control this data from B1 rather then in WT.
    Thanks

    Hello Bryce,
    That's interesting what exactly do you mean by batch job? I presume some scheduled stored procedure with a update clause. Up until now I had thought that synch plugin was the only solution and hadn't tried writing my own yet but given the two SQL servers have to be able to  communicate with each other why or exactly when would a batch job not be practical for this sort of thing. Is this only really appropriate for uni-directional updates ( i.e. B1 to WT )?
    Or am I missing something here?

  • Data not populating in my idoc

    Hi guru,
    i am writting these below code .
    please look my code.here date i am moving from : move  W_datum1  to  int_edidd-sdata.
    so in debugging mode i am getting date value in int_edidd-sdata.
    but why the value is not populating in my segment of idoc.can u tell me where is the probleam in my code???
    If XVBDKR-VKORG  = 'EDM1'
    *CONTROL_RECORD_OUT-STDMES = 'INVOIC'
    AND DOBJECT-KSCHL = 'ZEDI'.
    if INT_EDIDD-SEGNAM = 'E1EDK02'.
    LOOP AT INT_EDIDD WHERE SEGNAM = 'E1EDK02'.
                E1EDK02 = INT_EDIDD-SDATA.
                IF E1EDK02-QUALF = '009'.
                W_datum2 = E1EDK02-datum.
                ELSEIF E1EDK02-QUALF = '012'.
                  W_datum1 = E1EDK02-datum.
                ENDIF.
              ENDLOOP.
    endif.
    IF W_datum1 GT W_datum2.
              W_datum1 = W_datum2.
        move  W_datum1  to  int_edidd-sdata.
    MODIFY int_edidd INDEX hilfe_tabix.
              EXIT.
             ENDIF.
           ENDIF.

    hi,
    my current code is below...
    please help
    If XVBDKR-VKORG  = 'EDM1' and
    CONTROL_RECORD_OUT-MESTYP = 'INVOIC'
    AND DOBJECT-KSCHL = 'ZEDI'.
    if INT_EDIDD-SEGNAM = 'E1EDK02'.
    MOVE int_edidd-sdata TO e1edk02.
    loop at INT_EDIDD where SEGNAM = 'E1EDK02'.
                E1EDK02 = INT_EDIDD-SDATA.
                IF E1EDK02-QUALF = '009'.
                W_datum2 = E1EDK02-datum.
                ELSEIF E1EDK02-QUALF = '012'.
                  W_datum1 = E1EDK02-datum.
                ENDIF.
              ENDLOOP.
    endif.
    IF W_datum1 GT W_datum2.
              W_datum1 = W_datum2.
    W_E1EDK02-DATUM = W_datum1.
    int_edidd-segnam = 'E1EDK02'.
    move  W_E1EDK02-datum  to  int_edidd-sdata.
    APPEND int_edidd.
        MODIFY int_edidd INDEX hilfe_tabix
       lv_flag = 'X'.
              CLEAR: W_datum1,W_datum2.
              EXIT.
             ENDIF.
           ENDIF.

  • Maybe you are looking for

    • DSP delay between AI to AO

      LV 7.1.1 Embedded & DSP 1.0 & DSK6711 Hi All, I am using LabVIEW DSP (without ever learning LabVIEW) so this may be a simple one: I have a VI which reads an analogue input and sends it to an analogue output with a While loop around it. Nothing else i

    • Unable to create the DataWarehouse content in DAC 11G

      Hi Ali, I am trying to create the Datwarehouse tables using the ETL configuration option in DAC 11G and it is throwing the below error. Could you pls check this and let me know how to resolve it. Thank you. 69 SEVERE Tue Feb 19 15:25:56 GMT 2013 MESS

    • 9ias JSP can't find Classes I created

      I created a package for my JSP and import it to be used in a JSP. It works great, but for some reason, it displays an error message saying it can't find the class in import. Can anyone explain that? Thanks.

    • ALV GRID DISPLAY USING FACTORY METHODS

      Hi all I am using factory methods for my alv grid display. I have a list of functionalities, for which i am not able to find a correct method.. 1) Header of alv(with all the values of the selection-screen) 2)How to give text to a subtotal(ed) column,

    • Why does my Airport Extreme Base Station keep appearing as a Shared device?

      After installing 10.5 my Airport Extreme Base Station keeps appearing with a Windows PC icon under the SHARED list in the Finder, and I don't have a hard drive attached. Does anyone know why it's appearing, and how I can make it go away?