Passing parameter value from one script to another in job chain steps

Hi all,
We have a scenario where in we have a job chain with two steps
1-Step 1 contains a script which fetches value from database to the script parameter(in/out) - PAR_DB_VALUE
2-Step 2 contains another script which uses the value of the parameter PAR_DB_VALUE and has to assign to another parameter in the script 2 called PAR_FETCHED_VALUE(in)
How to pass the value of PAR_DB_VALUE to PAR_FETCHED_VALUE which are parameters in two different steps
Please help
Thanks and Regards
Raj

Hi,
You can achieve this as follows (CPS version 6 & 7):
- Edit the chain
- Go to the second step, to the parameters of the script call in that step
- Go to the parameter (PAR_FETCHED_VALUE) that you want to be filled by the parameter of the first step
- choose "Chain value" in the detail screen for the parameter, and select the desired out parameter from the drop down
Note that both parameters need to be of the same type for this to work.
Regards,
Anton.

Similar Messages

  • Passing the values from one pgm to another pgm (Calling pgm has no sel scr)

    Hi gurus,
    In my requirement i need to pass the values from one program to another program.
    I am using SUBMIT statement . But , the program which i am calling has no selection screen.
    So how can i pass the values?
    Please help me ASAP.
    Regards,
    Bhanu.R

    Export your internal tables or work areas to a memory id in ur program before u use submit.
    Then in second pgm you have to import from memory id given above.
    example.
    EXPORT gs_header FROM gs_header to memory id 'HEADER'.
    EXPORT gt_item FROM gt_item to memory id 'ITEM'.
    SUBMIT YFIIN_DISHC_MAILREPORT EXPORTING LIST TO MEMORY AND RETURN.
    In your second pgm you can write
    import gs_header TO gs_header from MEMORY id 'HEADER'.
    import gt_item TO gt_item from MEMORY id 'ITEM'.

  • Pass variable value from one dashboard to another dashboard

    Hello,
    I have one main dashboard which have "year" prompt with drop down and variaous links & also some reports.
    And we have same year prompt on another dashboards only difference is, this prompt is editable not drop down.
    The requirement is, when I navigate from main dashboard to another dashboard through reports, that time selected prompt value
    comes in navigated dashboard prompt.
    But When I navigate from main dashboard to another dashboard using Link or using <A Href> tag, now selected prompt value can not come in navigated dashboard prompt.
    How can we pass selected prompt value from one dashboard to another dashboard? OR Is there any other technique?
    Thanks,
    Pradip

    Hi,
    You need to make the scope of the prompt as 'Dashboard' and if this doesnt work.
    Then use presentation variable in the first prompt and pass it to the second prompt.
    So this will surely pass the values across pages.
    Regards
    MuRam
    NOTE: Please mention if this resolved your problem/still facing and close the thread.

  • How can I pass a value from one application to another through URL

    I am passing a value APP_USER from one application to another application (item is P_ASK_U) through navigation bar entrees URL.
    This is working with in the application..(javascript:popupURL('f?p=&APP_ID.:165:&SESSION.::&DEBUG.::P_ASK_U:#&APP_USER.#') )
    This one is not passing the value, eventhough it open the application..
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1:::P_ASK_U:&APP_USER.');
    Is there any syntax error or is it not possible, please let me know..
    Thanks
    Venu

    Hi Scott,
    You are right, the first one do not need # character.
    In the Doc it is mentioned as....
    Pass the value on a URL reference using f?p syntax. For example:
    f?p=100:101:10636547268728380919::NO::MY_ITEM:ABC
    I am using the following URL, it pops up the external application, but it is not passing the APP_USER value to the page item of that application.
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1::P_ASK_U:&APP_USER.');
    sorry I still do not know what I am missing..
    Thanks
    Venu

  • Pass lov value from one page to another page

    hi
    can any one please help me how to pass selected lov value in one page to another page
    iam able to get the lov value in controller but how to pass that value as parameter to the VO in another page.

    Hi,
    Get the value in controller, create a hash map and put that value in hashmap.
    Then pass that hashmap in pageContext.forwardImmediately method.
    If you want to use that value in multiple pages, then put that in session variable.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to pass the values from one report to another using navigation links

    Hi All,
    I am facing a strange issue where I have to pass a column value from one report to other.
    I have kept navigation link in the 1st report and 'is prompted' option in the 2nd report
    Issue was , I'm not getting the filtered result in the 2nd report (all the records are being displayed)
    Can anyone advice where I was going wrong
    Thank you,
    AO

    Hi,
    The column which you have given navigation link and 'is prompted' column should same and exist in both the reports.You have to give the guided navigation in the value interaction of the column in the report1.
    mark if helpful/correct.........
    thanks,
    prasanna

  • Is it possible to pass selected value from one jsp to another jsp page?

    In my welcome page(in jsp), if the user is selecting some values, is it possible to pass those values to another jsp page and display?
    If yes, how can it be done?
    please help..

    Yes, you would have to make the motion from one page to the next submit a form. Then on the second JSP you can use request.getParameter("nameOfInputField") to get the value the user selected.

  • Passing a value from one page to another with multiple projects?

    Hi,
    I am trying to do something and I am not quite sure what I may be doing wrong. Situation is this:
    I have 1 project which is our Model, deployed into a .jar and imported successfully into the main project. No problems with this.
    I also have another project for editing profiles, in it it contains a taskflow running off of page fragments to accomplish a CRUD design. This is also deployed and imported into our main project successfully. It has a parameter value that should be detected upon entry into the pageflow called inEntityID.
    I have our main project application which has both imported .jar files into the library.
    I am using the unbounded adfc-config Flow to make sure that the pages can see each other. They can.
    If I use no data being sent from my main page to my edit page I can see both the main page fine and what would be a working region that is displaying the task flow from our editing project. If I attempt to send a value from my main page to the edit page it will not show up.
    ADFC looks like so: MAIN goEdit>EDIT
    Code snippet from my button which gathers data from the main page table to send to the edit page via action goEdit
    <af:commandToolbarButton text="Edit Entity"
    id="ctb3" action="goEdit">
    <af:setPropertyListener type="action"
    to="#{pageFlowScope.sendID}"
    from="#{bindings.PseLegalEntityId.inputValue}"/>
    </af:commandToolbarButton>
    PseLegalEntityId is the value that I have named which is an attiributevalue from my mainPageDef which links to the primary key that I want to send to edit.
    The paramenter that I have set in the region is set as such: Task Flow Binding Parameters : id* inEntityID | Value* #{pageFlowScope.sendID}
    I am using Jdeveloper 11.1.1.2.0
    Any insight on what I may be doing wrong would be helpful. Thanks in advance,
    PSP

    Is more information needed to answer this? if so let me know which.
    Thanks,
    PSP

  • How to pass the values from one screen to another

    HI,
    consider me21n,
    po is created with the item category L,so components tab is enabled.that u all know.
    i have added the custom tab in the item details with netwt,gross wt,no of pieces and one more field.
    those fields are also in component structure of material data.
    i need to pass the matnr,maktx,quantity,ntwt,grosswt from the component to be displayed in  the subscreen.
    i used import mdpm to xmdpm from memory id 'subcon',  where it is exported from the function module 'me_components-maintain'.
    how to pass  all the values from component of structure MDPM to the subscreen of custom tab in the item details.
    help me pls........................'

    hi everyone,
    MODULE status_0111 OUTPUT.
    data : fill type i.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.,
      DESCRIBE TABLE lt_zzmm_po_comp LINES fill.
      ctrl_0111-lines = fill.
    ENDMODULE.                 " STATUS_0111  OUTPUT
    MODULE fetch_data OUTPUT.
      ctrl_0111-lines = 2.
    import xmdpm to lt_xmdpm from memory id 'SUBCON'.
    IF not sy-subrc eq 0.
        CLEAR lt_zzmm_po_comp[].
        LOOP AT lt_xmdpm.
          MOVE-CORRESPONDING lt_xmdpm TO lt_zzmm_po_comp.
          APPEND lt_zzmm_po_comp.
        ENDLOOP.
    MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
      read table ctrl_0111-cols into col where index = 3.
      ENDIF.
    ENDMODULE.                 " FETCH_DATA  OUTPUT
    MODULE pass_line OUTPUT.
      READ TABLE lt_zzmm_po_comp INDEX ctrl_0111-current_line.
      MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
    ENDMODULE.                 " PASS_LINE  OUTPUT
    flow logic
    PROCESS BEFORE OUTPUT.
    MODULE status_0111.
    MODULE FETCH_DATA.
    loop at lt_zzmm_po_comp WITH CONTROL ctrl_0111 cursor
    ctrl_0111-current_line.
       module pass_line.
    endloop.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0111.
    loop.
    *module read_data.
    endloop.
    but i cant see my fields in the table control .....i dont know y it is  not coming?can anyone help me with code...

  • Passing the values from one application to another application using mvc

    Hi sdn,
    Iam new to bsp.i created one application zappl1 in that i created one controller and one view.in that view i created 2 input fields.and also  created another application zappl2 in that also created one controller and one view. wai i want to enter in the inputfileds of first application view that values will be display in second application view.Please help out of this.

    Hi,
    I can see 2 ways of doing. Either you use parameters in the URL from the first application to the second, as any web application would do.
    Or, you can think of using the Web Application Server let :
    - the first application store the values
    - for the second application to retrieve
    Personnally, I would tend to suggest the first solution as it allows both applications to be replaced later on.
    Best regards,
    Guillaume

  • Passing a Value from one page to Another is not working

    Hi friends,
    I have a table called country in which i build a Form in page1 with a report in page2 based on the table. So iif i clicked the edit icon in the page 2 report means then it can fetch the corresponding record in the page 1 form as well(so that i can update the record in the form).
    My scenario is i have one more search page  in page 3 which has one page item like Country_id(text item) with a Region button "Find".
    If i typed any country id in the text item and pressed Find, means then it should redirect to the form page 1 inorder to fetch those correponding country id details that i entered in the search page page 3.
    For that i followed the below steps like in the search page 3
    created a Find button in the page 3 with below options
    Button Style: Template Based Button
    Button Template: Button
    Button Type: Normal
    Action: Submit Page
    Button Style: Template Based ButtonThen under the after Processing i created a branch condition:
    On submit: After processing(After Computation, Validation and Processing)
    Target Type: page in this Appliction
    page           : 1
    Set these items P1_COUNTRY_ID
    with these values: &P3_COUNTRY_ID.
    (when button Find is pressed)
    But the id is not passing to the page 1 from the page 3(search region) that i entered inorder to query my form in page 1 according to the value that i entered in  search region in page3
    kindly help me friends with this.. Hope u understand my scenario..
    Brgds,
    Mini

    Hi,
    Source setting for that form page item P1_COUNTRY is
    Source Used:"Only when current value in the session state is null"
    Source Type: Static Assignment.Since i build this form along with report.
    Is im missing something.
    Regards,
    Mini

  • How to pass the value from one page to another page

    Dear Gaurav
    I have three pages
    1-creation page
    2-search page
    3-creation page
    in first creation page I have column name user write a% and submit to that search for that name.
    it is going to second page (search page)name a% is passed and search that corresponding value,the corresponding values are not there user will call third creation page and enter the details and save and click back to first page the value is not calling passing from third page to first page I submit the button in 3rd page the error is coming like this.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example). If the browser's navigation buttons were not used, this error could have been caused by coding mistakes in application code. Please check Supporting the Browser Back Button developer guide - View Object Primary Key Comparison section to review the primary causes of this error and correct the coding mistakes.
    Cause:
    The view object xxcrmleadmgmtAM.xxcrmleadmgmtVO contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    in first page column name I removed view instance and view attribute the value is passing from third page to first page
    my requirement is the value call from 3 to 1 and user will enter remaining fields in 1st page and save the records.
    Regards
    Mahesh

    Hi Mahesh,
    Use
    OA.jsp?page=/oracle/apps/................&retainAM=Y).
    Thanks
    Jegan

  • How to pass the value from one level to another level

    Example :
    we have secnario for leave process
    initiall the user enters the name in first action the personal number should pick from first action to background RFC CO to pick the Payroll admin from R/3
    i designed the first data input form.... i want to pick the personal number and pass that one to next action in background mode.
    thanks in advance
    sukumar

    Hi,
    If you want to execute the step in background then you can use the callable object of type "Background Execution" or if you want to do any user interaction on that step then you can go for web dynpro callable object. Here is the link for Background Execution callable object.
    http://help.sap.com/saphelp_nw70/helpdata/en/9a/e8934258a5ca6ae10000000a155106/frameset.htm
    Here is also link for Web Dynpro Callable Object
    http://help.sap.com/saphelp_nw70/helpdata/en/de/8976417f2d5558e10000000a1550b0/frameset.htm
    If you have any conficution please let me know.
    Thanks
    Chandan

  • Pass filter value from one wad to another

    Hello Guys.
    I'm using BW version 7. 
    I have the following issue.
    I have a WAD that displays 32 link items, representing a country for each link.
    The user selects the country he wants to see and then another wad is display with 2 tables and 2 charts with information, but I want that this information get filtered based on the country link that the user selects.
    For Example, if the user selects country 1. 
    The information of tables and charts in the other wad have to be filtered by conutry 1.
    How can I do this issue.
    Thanks in advance

    Hi,
    Suppose you are having two web templates with technical name TEMP_1 and TEMP_2.
    In TEMP_2 you should be using a query having a variable var_con that populates Country
    Write the following code in Template Temp_1 using ahref (Please use proper anchor tags. i have not used it below because it was not allowing to write HTML code )
    <<a href = "SAPBWOpenURL(SAP_BW_URL_Get() + &CMD=LDOC&TEMPLATE_ID=TEMP_1&VAR_NAME_2=VAR_CON&VAR_VALUE_LOW_EXT_1=Country1"> Country1 </a>
    <<a href = "SAPBWOpenURL(SAP_BW_URL_Get() + &CMD=LDOC&TEMPLATE_ID=TEMP_1&VAR_NAME_2=VAR_CON&VAR_VALUE_LOW_EXT_1=Country2"> Country2 </a>
    So in your temp1 you can se two hyperlinks as sown below.
    Country1
    Country2
    Click on that it will take you to Temp_2 with the value of var_con populated accordingly.
    Hope this helps.

  • Passing filter value from one Tab to Another

    I have a web template that contains 5 tabs and I want to use dropdown webitem in the main template and affect all the tabs with the selected value.
    Is it possible? If yes what is the code etc.
    Thanks
    Amit

    Hi Amit,
    I'm actually implementing the same scenario you just described, my TABs web templates Data Providers doesn't have a fixed definition of the query/query view, I do a reset_data_provider during runtime (when user clicks on the tab and based in a char selection - single drop-down box).
    Now since my TAB data provider is refreshed with a new query/query view each time I go into a TAB the home screen filters or selections done within a navigation block (around 25 chars) doesn't impact the "local" tab table.
    Is this your scenario as well?, any guidance will be more than welcome.
    Thanks

Maybe you are looking for