Passing values to between Pages from a PLSQL Procedure in third Page

Hello,
I have a form divided into 3 pages. The first Page is used to select Template which is used to call a screen Page 54 and Page 55 (Wizard Based screen).
From Page 55 (third page) of my application, When I click on Finish Button (Submit Button), a PLSQL Procedure is called which inserts values in 5 to 6 tables on a schema. The Success message include Article &DOCID. successfully Added.
When I return to the first Page which is Page 24, it displays no value for DOCID.
Sample Example =
DECLARE
DOCID VARCHAR2(30);
BEGIN
INSERT INTO SURE_DOCUMENT
DOCUMENT_ID
, DOCUMENT_TYPE
, TITLE
, STATUS
, DISTRIBUTION
, ARCHIVE_REVIEW_DATE
, CONTENT_TYPE
, IMPACT
, SKILL_LEVEL
, SOURCE
, SERVER_MIN_VERSION
, SERVER_MAX_VERSION
, REFRESH_INTERVAL
, LAST_REFRESH
, FOLDER_ID
, TOPIC_ID
, NOTE_POSITION
, OWNING_SITE
, MODIFY_NUMBER
, VERSION_STRING
, ALIAS
, EXTKEY
, FORMAT_MODIFIER
, DELETED
, CREATED_BY
, CREATED_DATE
, CREATED_SITE
, UPDATED_BY
, UPDATED_DATE
, UPDATED_SITE
VALUES
( SURE_DOCUMENT_SEQ.NEXTVAL || '.1'
, :ARTICLE_TYPE
, :TITLE
, :STATUS
, :DISTRIBUTION
, SYSDATE
, 'TEXT/PLAIN'
, 'LOW'
, 'NOVICE'
, 'ADHOC'
, :RDBMS_MIN_VERSION
, :RDBMS_MAX_VERSION
, NULL
, NULL
, :FOLDER
, :TOPIC
, NULL
, 1
, 1
, NULL
, NULL
, NULL
, NULL
, 'N'
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
COMMIT;
SELECT SURE_DOCUMENT_SEQ.CURRVAL INTO DOCID FROM DUAL;
INSERT INTO SURE_DOCUMENT_CONTRIBUTORS
DOCUMENT_ID
, SURE_SEQUENCE
, USER_ID
, CONTRIBUTION_DATE
, CONTRIBUTION_ROLE
, MODIFY_NUMBER
, REASON
, DELETED
, CREATED_BY
, CREATED_DATE
, CREATED_SITE
, UPDATED_BY
, UPDATED_DATE
, UPDATED_SITE
VALUES
( DOCID
, 1
, 'SKOPPALK.UK'
, SYSDATE
, 'Contributing Author'
, 1
, 'Contributing Author'
, 'N'
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
INSERT INTO SURE_DOCUMENT_LANGUAGES
DOCUMENT_ID
, SURE_SEQUENCE
, LANGUAGE
, DELETED
, CREATED_BY
, CREATED_DATE
, CREATED_SITE
, UPDATED_BY
, UPDATED_DATE
, UPDATED_SITE
VALUES
( DOCID
, 1
, 'USAENG'
, 'N'
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
INSERT INTO KREW_WORKFLOW
DOCUMENT_ID
, PRIORITY
, OWNER
, REVIEWER
, MODERATOR
, ASSIGNED_DATE
, DUE_DATE
, CHECKED_OUT_BY
, CHECKED_OUT_DATE
, VERSION_STRING
, DESCRIPTION
, AUTHORS
, COMMENTS
, UPD_DATE
, COPYSTATUS
, COPYDISTRIBUTION
, COPYFOLDERID
VALUES
DOCID
, 3
, DECODE(:OWNERS, NULL, 'UNASSIGNED',:OWNERS)
, DECODE(:REVIEWER, NULL, 'UNASSIGNED',:REVIEWER)
, DECODE(:MODERATOR, NULL, 'UNASSIGNED',:MODERATOR)
, SYSDATE
, SYSDATE + 7
, NULL
, NULL
, 'SKOPPALK.UK'
, :TITLE
, :AUTHORS
, :COMMENTS
, SYSDATE
, :STATUS
, :DISTRIBUTION
, :FOLDER
INSERT INTO SURE_DOCUMENT_KEYWORDS
DOCUMENT_ID
, SURE_SEQUENCE
, KEYWORD_TYPE
, KEYWORD
, DELETED
, CREATED_BY
, CREATED_DATE
, CREATED_SITE
, UPDATED_BY
, UPDATED_DATE
, UPDATED_SITE
VALUES
( DOCID
, 1
, 'NOTE'
, :KEYWORDS
, 'N'
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
INSERT INTO SURE_DOCUMENT_REFERENCES
DOCUMENT_ID
, SURE_SEQUENCE
, REFERENCE_SOURCE
, REFERENCE_DOCUMENT_ID
, REFERENCE_TYPE
, REFERENCE_DESCRIPTION
, DELETED
, CREATED_BY
, CREATED_DATE
, CREATED_SITE
, UPDATED_BY
, UPDATED_DATE
, UPDATED_SITE
VALUES
( DOCID
, 1
, 'NOTE'
, DOCID || '.1'
, 'NOTE'
, :REFERENCES
, 'N'
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
INSERT INTO SURE_DOCUMENT_PLATFORMS
DOCUMENT_ID
, SURE_SEQUENCE
, PLATFORM_ID
, MIN_VERSION
, MAX_VERSION
, DELETED
, CREATED_BY
, CREATED_DATE
, CREATED_SITE
, UPDATED_BY
, UPDATED_DATE
, UPDATED_SITE
VALUES
( DOCID
, 1
, :PLATFORMS
, NULL
, NULL
, 'N'
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
INSERT INTO SURE_DOCUMENT_PRODUCTS
DOCUMENT_ID
, SURE_SEQUENCE
, PRODUCT_ID
, COMPONENT_ID
, MIN_VERSION
, MAX_VERSION
, DELETED
, CREATED_BY
, CREATED_DATE
, CREATED_SITE
, UPDATED_BY
, UPDATED_DATE
, UPDATED_SITE
VALUES
( DOCID
, 1
, :PRODUCTS
, NULL
, NULL
, NULL
, 'N'
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
, HTMLDB_CUSTOM_AUTH.GET_USER
, SYSDATE
, 1
COMMIT;
END;
The Success message is as follows:
Article &DOCID. Created/Updated Successfully

Shivanand,
There's no need to post that much code when you could create a very short test case that demonstrates only the problem you are having.
You're using &NAME. notation on something that isn't a page or application item. You can't reference PL/SQL variables that way (or any other way) outside the PL/SQL scope. For your situation, you could create a page item named P55_DOCID and assign it a value in the PL/SQL process (:P55_DOCID := DOCID;), then reference &P55_DOCID. in HTML areas like the success message.
Scott

Similar Messages

  • How to pass values to dashboard prompts from external applications

    Any idea is well appreciated.
    How can I pass values of dashboard prompts from external applications to the dashboard prompts so that the dashboard is prefiltered based on values sent by external applications.
    Thanks in Advance!
    Kris

    Kris,
    i am able to change the session variable and able to call the dashboard from external app, but i identified prompt value not changing. but Finally i am able to found a workaround for you.
    Use the following URL and it explained here
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    PortalPath is your dashboard location. /shared/abcd is folder where i saved dashboards. dash1 is my dashboard name.
    internally this dashboard includes many reports that uses the session variable. after doing above this i am able to update the session variable to the value i have given in URL, DSN=value.
    You may observer here that calls the dashboard and passes the value but its not updating the prompt value. so workaround for this is edit your prompt,
    change the Default to - SQL Results and place the sql
    SELECT CASE WHEN 1=0 THEN Markets.Region ELSE VALUEOF(NQ_SESSION.DSN) END saw_0 FROM Paint
    again here Market.Region is column from presentation layer and Paint is subject area. After doing this step, your prompt always shows value in the session varible as default.
    Now include reports and dashboard prompt in the dashboard and run this url from external applicaitons.
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    it worked for me and blog this soon. if it works for you mark the question as answered and mark my replies as correct.
    thanks
    - Madan

  • Call from Java Plsql Procedure with VArray as Out Parameter

    Hi,
    I have a Java web application(Tomcat server) that call a plsql procedure with Varray as OUT parameter.
    The Plsql code is perfectly compiled.
    When i run the application, I get the following error msg in my Tomcat window:
    java.sql.SQLException: ORA-06530: Reference to uninitialized composite
    ORA-06512: at "SEMS1.PACK_SEMSADMIN_OFFEREDJOBS", line 102
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:109
    3)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
    at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
    {color:#0000ff}
    Doubt: Do I need to declare ArrayDescriptors to retrieve the VArray from the Plsql procedure.
    I think the below statement is enough; we need ArrayDescriptors only when we we wish to send a Plsql Object or Varray from Java code to the procedure. Plz correct me if not so.
    dbCallableStatement.execute();
    ARRAY SimpleOUTArray = (ARRAY) ((OracleCallableStatement) dbCallableStatement).
    getObject(Integer.parseInt(arlParameterOutIndex.get(i).toString()));{color}
    I am unable to realize where the mistake is?
    {color:#800000}
    {color}{color:#800000}
    VARRAY AND PROC DETAILS:
    TYPE STRUCT_JOB_DETAILS AS OBJECT
    APPL_NO NUMBER (10),
    S_FNAME VARCHAR2 (32 Byte),
    S_MI VARCHAR2 (32 Byte),
    S_LNAME VARCHAR2 (32 Byte),
    APPL_DATE DATE,
    DESCRIPTION VARCHAR2 (100 Byte),
    S_UCID VARCHAR2 (8 Byte)
    TYPE VARRAY_JOB_DETAILS IS VARRAY(100) OF STRUCT_JOB_DETAILS;{color}
    {color:#800000}PROCEDURE:{color}
    {color:#800000}CREATE OR REPLACE PACKAGE PACK_SEMSADMIN_OFFEREDJOBS
    AS
    TYPE Generic_Cursor_Type IS REF CURSOR;
    --TYPE varray_job_detail is VARRAY(100) OF STRUCT_JOB_DETAILS;
    --va_varray_job_detail varray_job_detail := varray_job_detail();
    va_varray_job_detail VARRAY_JOB_DETAILS := VARRAY_JOB_DETAILS();
    PROCEDURE Admin_Jobs_Offered_Rtr
    ic_status IN VARCHAR2,
    or_offered_jobs OUT Generic_Cursor_Type,
    va_varray_job_detail OUT VARRAY_JOB_DETAILS
    CREATE OR REPLACE PACKAGE BODY PACK_SEMSADMIN_OFFEREDJOBS
    AS
    PROCEDURE Admin_Jobs_Offered_Rtr
    ic_status IN VARCHAR2,
    or_offered_jobs OUT Generic_Cursor_Type,
    va_varray_job_detail OUT VARRAY_JOB_DETAILS
    AS
    vc_query VARCHAR2(15000) := '';
    vc_query_1 VARCHAR2(15000) := '';
    counter NUMBER := 1;
    vc_no NUMBER := 0;
    or_applicants_list Generic_Cursor_Type;
    TYPE type_appln_list IS RECORD
    job_no NUMBER(10),
    job_title VARCHAR2(50 BYTE),
    account_no VARCHAR2(10 BYTE),
    head_fname VARCHAR2(32 BYTE),
    head_minitial VARCHAR2(10 BYTE),
    head_lname VARCHAR2(32 BYTE),
    num NUMBER
    vn_appln_list type_appln_list;
    TYPE type_job_offered IS RECORD
    APPL_NO NUMBER (10),
    S_FNAME VARCHAR2 (32),
    S_MI VARCHAR2 (32),
    S_LNAME VARCHAR2 (32),
    APPL_DATE DATE,
    DESCRIPTION VARCHAR2 (100),
    S_UCID VARCHAR2 (8)
    vn_job_offered type_job_offered;
    BEGIN
    vc_query := vc_query || ' SELECT jobs.job_no,job_title, account_no, head_fname, head_minitial, head_lname, num';
    vc_query := vc_query || ' FROM jobs, ( ' ;
    vc_query := vc_query || ' SELECT jobs.job_no,count(*) as num' ;
    vc_query := vc_query || ' FROM student_apps ,jobs ' ;
    vc_query := vc_query || ' WHERE jobs.job_no = student_apps.job_no' ;
    vc_query := vc_query || ' AND (student_apps.status in (''o'',''t'')) '; --|| ic_status || ')' ;
    vc_query := vc_query || ' AND jobs.status not in (''z'', ''Z'')' ;
    vc_query := vc_query || ' GROUP BY jobs.job_no' ;
    vc_query := vc_query || ' ) no_apps_off' ;
    vc_query := vc_query || ' WHERE jobs.job_no = no_apps_off.job_no' ;
    dbms_output.put_line('Executed Query_1');
    va_varray_job_detail := VARRAY_JOB_DETAILS();
    va_varray_job_detail.extend(100);
    OPEN or_offered_jobs FOR vc_query;
    LOOP
    FETCH or_offered_jobs INTO vn_appln_list;
    EXIT WHEN or_offered_jobs%NOTFOUND;
    vc_query_1 := '';
    vc_query_1 := vc_query_1 || ' SELECT stud_apps.appl_no APPL_NO, stud_apps.s_fname S_FNAME, ';
    vc_query_1 := vc_query_1 || ' stud_apps.s_mi S_MI, stud_apps.s_lname S_LNAME, ';
    vc_query_1 := vc_query_1 || ' stud_apps.appl_date APPL_DATE, look_up.description DESCRIPTION, ' ;
    vc_query_1 := vc_query_1 || ' stud_apps.s_ucid S_UCID ' ;
    vc_query_1 := vc_query_1 || ' FROM student_apps stud_apps,jobs jbs,lookup look_up' ;
    vc_query_1 := vc_query_1 || ' WHERE stud_apps.status in (''o'',''t'') '; --(' || ic_status || ') ' ;
    vc_query_1 := vc_query_1 || ' AND jbs.job_no = stud_apps.job_no' ;
    vc_query_1 := vc_query_1 || ' AND jbs.status not in (''z '', ''Z'')' ;
    vc_query_1 := vc_query_1 || ' AND stud_apps.status = look_up.code ' ;
    vc_query_1 := vc_query_1 || ' AND look_up.type = ''st''' ;
    vc_query_1 := vc_query_1 || ' AND stud_apps.job_no = ''' || vn_appln_list.job_no || ''' ' ;
    vc_query_1 := vc_query_1 || ' ORDER BY appl_date' ;
    dbms_output.put_line('Executed Query_2');
    OPEN or_applicants_list FOR vc_query_1;
    LOOP
    FETCH or_applicants_list INTO vn_job_offered;
    EXIT WHEN or_applicants_list%NOTFOUND;
    va_varray_job_detail(counter).APPL_NO := vn_job_offered.APPL_NO;
    va_varray_job_detail(counter).S_FNAME := vn_job_offered.S_FNAME;
    va_varray_job_detail(counter).S_MI := vn_job_offered.S_MI;
    va_varray_job_detail(counter).S_LNAME := vn_job_offered.S_LNAME;
    va_varray_job_detail(counter).APPL_DATE := vn_job_offered.APPL_DATE;
    va_varray_job_detail(counter).DESCRIPTION := vn_job_offered.DESCRIPTION;
    va_varray_job_detail(counter).S_UCID := vn_job_offered.S_UCID;
    counter := counter + 1;
    END LOOP; --end of FOR
    CLOSE or_applicants_list;
    END LOOP; -- end of FETCH
    END Admin_Jobs_Offered_Rtr;
    END PACK_SEMSADMIN_OFFEREDJOBS;
    /{color}
    Reqire help plzzzz !!!
    Thanks.

    Originally posted by JDBC Development Team:
    It's very similar to other datatype except that it uses OracleTypes.ARRAY typecode and the value is mapped to a oracle.sql.ARRAY instance. The code looks as follows --
    cstmt.registerOutParameter (idx, OracleTypes.ARRAY, "VARRAY_TYPE_NAME_HERE");
    cstmt.execute ();
    ARRAY array = (ARRAY) cstmt.getObject (idx);
    Thanks for your reply.
    I have to use:-
    OracleCallableStatement cs1 = (OracleCallableStatement )conn.prepareCall
    ( "{call proj_array(?)}" ) ;
    for retrieving a collection as an OUT parameter.
    This gives me the errors:-
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Blob getBlob(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Array getArray(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Clob getClob(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Ref getRef(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    How do I get rid of these errors?
    null

  • Remote SAP function call from a plsql procedure

    Hi,
    How i can call a remote SAP function from a plsql procedure?
    Thnaks in advance:
    Bianca

    I don't see any relation to Oracle Forms in this question. Is there any? If so, can you specify what you want to do, and the version numbers of Forms and databases involved?
    And what does a call to a remote SAP procedure look like? Is it a DB procedure in an Oracle database? Then you can simply use a database link to the SAP database.

  • How to call a Asynchronous bpel process from a PLSQL procedure?

    How to call a Asynchronous bpel process from a PLSQL procedure?

    Hi,
    You could do something smart and technical very spiffy with soap-stacks in the database and/or dbms_ws/dbms_http. But I allways find AQ with AQ-adapter the simplest. Let Pl/sql enqueue a message on an aq-queue and subscribe an aq-adapter process on it. That can call your async-bpel process. If you want to get answer back in pl/sql, let the aq-adapter process enqueue a response message on another queue or on the same queue with another consumer name. Give it a correlation-id that you provided in the payload of your request message. Your pl/sql process can then do a dequeue on that correlation-id. It will sit and wait until a message with that correlation id is enqueued on the queue.
    Regards,
    Martien

  • Ways of passing values/attributes between Portlets of pageflow

    Hi
    Jusing Bea WebLogic Workshop 8.1.5 where i have one Portal.
    The portalt contains:
    Page A with A.portlet with A.jpf and a.jsp
    Page B with B.portlet with B.jpf and b.jsp
    I want to click on a link on a.jsp which then goes to A.action in A.jpf,
    then redirect to Page B which then start B.portlet and then start begin
    action in B.jpf
    and begin action on B.jpf gets the values that I got from link i a.jpf.
    How are the different ways to pass the values from A.portlet to another
    B.portlet
    and that the coresponding .jpf files can get the values. I can not get the
    values to passed .
    One way to solve this is to use session scope to store values in A.jpf and
    then get it from session scope in B.jpf. I dont want that, because it then I
    have to remove it to avoid trash in the session.
    Any information on this and code will help ?

    ks wrote:
    Any information on this and code will help ?Sounds like inter-portlet communication (IPC) is what you need, see the
    documentation at http://edocs.bea.com/wlp/docs81/ipcguide/overview.html
    Gerald

  • Passing values to APEX items from external site

    All,
    Is it possible to pass values to APEX page items from an external web site?
    For example, I have an external web site where users type in a username and password into fields. When they click the 'log-in' button in the external site, I would like to have those values passed to the APEX log-in page. If possible, I would like to have the APEX log-in occur 'invisibly' and the user taken directly to the home page of the app. If that's not possible, it would be nice to simply have the 'user name' and 'password' fields filled in on the APEX side.
    I'm using APEX 3.0.
    Thanks in advance for any help!
    Alex

    Hello Alex,
    >> Is it possible to pass values to APEX page items from an external web site?
    The general answer is yes. You can use the f?p syntax to set the value of any APEX item - http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/concept.htm#sthref185 .
    In your specific example, the main question should be is it wise? The mere fact that you are using a login process suggests you have something to protect in your application. The f?p syntax uses a plain text for the items’ value, which means that the user name and password will be completely exposed.
    Regards,
    Arie.

  • Pass value at run time from one structure to diffrent structure

    hi  experts.
    i  m  workin on  crm domain  and faching problem to pass value  from one stucture to another . problem is that i want the output in xml file so i need all the values interm  of segment.
    initialy  i have  this structure.
    DATA: BEGIN OF struc1 occurs 0,
           ST_ORDERADM_H TYPE CRMT_ORDERADM_H_WRKT,
           ST_PRICING    TYPE CRMT_PRICING_WRKT,
           ST_ORGMAN     TYPE CRMT_ORGMAN_WRKT,
           ST_PARTNER    TYPE CRMT_PARTNER_EXTERNAL_WRKT,
          END OF struc1.
    and using fm CALL FUNCTION 'CRM_ORDER_READ' i got values  on this structure at run time.
    MOVE LT_ORDERADM_H  to STRUC1-ST_ORDERADM_H.
    MOVE LT_ORGMAN      to STRUC1-ST_ORGMAN.
    MOVE LT_PARTNER     to STRUC1-ST_PARTNER.
    MOVE LT_PRICING     to STRUC1-ST_PRICING.
    and after that using
    try.
      CALL TRANSFORMATION id
        SOURCE data_node = STRUC1
        RESULT XML xmlstring.
        CATCH cx_st_error.
    endtry.
    CLEAR:   tab_xstring,
             lv_filename,
             lv_path,
             lv_fullpath,
             lv_user_action.
    REFRESH: tab_xstring.
    lv_bytes = XSTRLEN( xmlstring ).
    IF lv_bytes > 0.
      lv_xstring = xmlstring.
      DO.
        APPEND lv_xstring TO tab_xstring.
        lv_xcnt = XSTRLEN( lv_xstring ).
        IF lv_xcnt > xsize.
          lv_xstring = lv_xstring+xsize.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
    now it  convert to xml file .
    problem is  it gives  me value of all field associated with  standared structure.
    but  client requirment is that  he want only selected values of given structure.
    so i think i make  a new structure for given value  but  i m not able  to get values in new structure.
    thanks

    Hi,
    create a structure in se11 with following fields
    ST_ORDERADM_H.
    ST_ORGMAN.
    ST_PARTNER.
    ST_PRICING.
    for example as STRUCT2.
    data : begin of i_struct2 occurs 0.
       include structure struct2.
    data : end of i_struct2.
    MOVE LT_ORDERADM_H to i_STRUCt2-ST_ORDERADM_H.
    MOVE LT_ORGMAN to i_STRUCt2-ST_ORGMAN.
    MOVE LT_PARTNER to i_STRUCt2-ST_PARTNER.
    MOVE LT_PRICING to i_STRUCt2_PRICING.
    then
    try.
    CALL TRANSFORMATION id
    SOURCE data_node = i_STRUCt2
    RESULT XML xmlstring.
    CATCH cx_st_error.
    endtry.

  • How to pass values one by one from Multiline container in workflows

    Hi,
    I have used a structure in my workflow as multiline container.
    I want to pass values 1 by 1 to the workflow but not all the three values..so how do i pass the values 1 by 1 rather all at a time..
    kindly suggest me
    Thanks,
    Shanky

    Hi,
    Create a new container with type I and set the initial value as 1.  EX : Index.
    Pass your Multi-line container and this index container to a new method. Get the multi line container data's into an internal table
    and read the data based on the index and append the data's to a new multiline container.
    Second time increment the index container by 1. So now the value of index container will be 2.
    Pass the multiline container value and index to method. now it will read the second record from the internal table.
    Call the method using the loop step type.
    Thanks,
    Viji.

  • Passing values to standard screen from  an my internal

    Hi Experts,
    I want to pass values to the mb51 screen from my own internal table.
    in the program for mb51 there is include programLMIGOTV4 where what is use of following
    PBO module before start of LOOP.
    METHOD pbo.
    CALL METHOD super->pbo.
    tv_goitem-lines = lcl_migo_globals=>kernel->s_status-lines.
    ENDMETHOD.
    Also how can see the method Kernel and what is the use of that....
    Also when is the S_Status-lines update in the method Kernel.
    Please help me to understand ASAP.
    Thanks &Regards
    Tejaswini

    hi.
    You can pass values by two ways:
    1. use BDC option CALL TRANSACTION of the transaction MB51. But first you will have to see how it behaves during recording in SHDB.
    2 . Another is use
    SET PARAMETER ID 'MAT' FIELD WA_DATA-MATNR.
    CALL TRANSACTION 'MB51'.
    This would call the transaction with MB51 screen with material number initialised.
    check out   screen 1000 of prog 'RM07DOCS' for parameter id's of different fields.
    WRK- for werks
    LAG-storage location
    CHA for batch and so on.

  • HT4356 printing page from facebook using picture and airprint page in upper left quadrant with words and margin cut off

    I have a ipad 4 with 6700 hp printer. I was told by support that the way to print a page from facebook was to take a picture of the page and then print the picture. When I do this the picture is printed in the upper left hand quadrant with part of the wording cut off. Is the only or best way to print from facebook and how can I fix the location of the print. Seems Hoaky to me
    Luther288

    Well after weeks of anguish, trips to the apple store (not very professional ), calls to Apple support (no help), calls to HP support, they transfered me to airprint support who actually told me how to fix my problem. For an HP printer download from the app store HPAIO remote print. You have to search on AIO remote print. Installed this app and now I can make the print work like I would like. Good luck

  • Hiding entry pages from the viewer in a Podcast page

    I have a podcast page displaying a series with 4 episodes. I want the viewer only to use the "subscribe" button. I do not want them to go anywhere else by clicking on the links on the page that take them to the entry pages. If they click on "more" it takes them to an entry page where they can download the podcast. Is there any way I can prevent them from doing this? For viewers new to podcasting this alternative offering is very confusing ?

    Thanks for your reply, Ken. I did start a separate topic for this but it didn't seem to publish properly.
    I've posted it again here:
    https://discussions.apple.com/message/19816933#19816933
    I assume you don't know why this is happening to my TOC?

  • Passing value of View Attribute from standard page to custom page

    Hi everyone,
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters whose value will depend on the dynamic selection by user. So how to get the currently executed value from VO.
    For ex: Vendor Id , contact id and site Id all are to be fetched which are present in three different VOs. When user select particular vendor, contact and site these values will change accordind to selection.
    Here do I need to extend the controller and application module of the standard page or it can be done by passing parameters in destination URI of submit button.
    I tried using parameters in destination URI of submit button as {VO.ViewAttributeName} and printing in custom page but it was printing " {VO.ViewAttributeName}" as it is.
    Please help..
    Thanks in advance.
    Edited by: Kittu on Nov 18, 2010 1:05 PM

    Hi Meher,
    I tried doing it by destination uri but it was not taking the value.
    I tried CO extension with the following code in my extended CO :
    public class ExtendedByrCntDirCO extends ByrCntctDirCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    /* I WANT TO CREATE TEH SUBMIT BUTTON PROGRAMATICALLY */
    OASubmitButtonBean oasb= (OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext,"BUTTON_SUBMIT");
    oasb.setID("SubmitBtn");
    oasb.setUINodeName("SubmitBtn");
    oasb.setEvent("xxSubmitButton");
    oasb.setText("Submit");
    webBean.addIndexedChild(oasb);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String url = "OA.jsp?page=/oracle/apps/aeap/Vendors/webui/VendorContactsPG";
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject VendorsVO = (OAViewObject)am.findViewObject("VendorsVO1"); // To retrive the attribute of a particular VO
    Number VendorId = (Number)VendorsVO.getCurrentRow().getAttribute("VendorId"); *// But here its showing null pointer exception*
    HashMap params = new HashMap(1);
    params.put("VendorId", VendorId);
    String strEvent= pageContext.getParameter(EVENT_PARAM) ;
    if ( strEvent.equals("xxSubmitButton"))
    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    So how can I retrive the value from VO . Is there any another way . Plz help...
    Edited by: Kittu on Nov 19, 2010 12:46 PM

  • How to use Ajax Web method in v4.master page to pass value to server side from JavaScript?

    Hi,
    I am customizing my v4.master page. Just adding jquery "Multiselect" dropdown .
    I want to pass selected value to code behind to perform some database activities.
    Here no code behind for me. Just i have added "Server side script" as a code behind.
    How to pass the value?
    Anyone give me the idea on it.
    Thanks & Regards
    Poomani Sankaran

    try using asp.net variables as per below links:
    http://sharepoint.stackexchange.com/questions/88777/how-to-use-a-variable-in-the-masterpage
    http://sharepoint.stackexchange.com/questions/80074/how-can-i-use-the-current-language-as-a-variable-in-my-masterpage
    https://msdn.microsoft.com/en-us/library/ms476046%28v=office.12%29.aspx
    http://www.dotnetfunda.com/articles/show/1507/how-to-access-master-page-variableproperty-from-the-content-page
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • Passing values to session variables from another application

    Hi,
    From an external application we are passing username and password for accessing the OBIEE Dashboard.In the url call we are passing NQUser and NQPassword. This is working fine.
    To setup data level security we need to pass region id list also as request object. Then we can filter the tables by the value in the region id list for that user. If we use external table to pass the home_id list then the application is working fine by setting up row-wise init block. But we need request object from an external application to send the list. How can we accept the list from OBIEE RPD?
    In the documentation it mentions about session variables - non system. But it requires an init block. How can we create a variable that accepts the values when user logins just like NQUser and NQPassword.
    Please suggest.
    Thanks.

    Try this ...
    http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
    In this blog entry you'll find at the bottom ...
    Hello, Can you please explain how to pass parameter values in the url. For example, I want to run an answers query and pass into the url something like this: &Region=West
    Venkatakrishnan J Says:
    August 22, 2007 at 7:36 am
    Yes, this absolutely possible. You can get the details from the Web Services guide since it has all the necessary examples and more explanation. Thats why i did not include it in the blog. You can get it from page 213 of the Docs http://download.oracle.com/docs/cd/B40078_02/doc/bi.1013/b31766.pdf

Maybe you are looking for