How to define a Report on Subsidiary Challan ?

Can anybody tell me how to give specs for a Subsidiary Challan, specially for Automobile Industries?
Indrajit

The Standard manager and the Conflict Resolution manager and most of other managers have now started. It was only that the Node value was not defined for these managers. I updated it and they were activated.
Please excuse me as being a beginner, my questions may seem silly.
Now, how do i view a report output after submitting a report request ?
Will the output appear as a link and where? If i can specify it, where do i specify it ?
What Responsibility do i need to assign to the user to be able to view the output?
I am reading the Oracle Report Managers User Guide, its just that i'm not being able to map the theory and practical that accurately (lack of screenshots in the docs). So, a few practical operational tips will surely help me a lot in this regard.
In the documentation its said that "The system administrator assigns Report Manager menu items to various responsibilities. Following are the available menu items:
• Financial Report Submission... etc "
But i could not assign the Financial Report Submission responsibility to my Test user in Sysadmin login. The said Report Manager responsibilities were not available in the LOV.
Thanks.
Message was edited by:
OraMol

Similar Messages

  • How to define a report manager ?

    Hello Friends,
    I'm a newbie to Oracle Apps R12. I have created a user TEST and have assigned responsibilities : General Ledger User, General Ledger Super User, Financial Management, Report Manager, Report Manager Public Reports.
    But when i try to run the report 'Chart of Accounts - Account Hierarchy', i get the following error.
    Phase : Inactive
    Status : No Manager
    Request ID : 4348352
    Diagnostics : This request will not be processed because there are currently no managers running that can process it. This is an error condition. There are one or more managers defined that can process this request that should be running at this time, but do not appear to be running. Contact your system administrator and/or check the manager log files for errors.
    I guess i need to have a report manager. And i read the following somewhere,
    " The Report Manager seeded functions need to be assigned manually by the System administrators to appropriate responsibilities based on the types of reports a user submits and publishes in their job. For example, a system administrator might assign the Financial Report Template Editor and Financial Report Submission functions to an existing General Ledger responsibility already used for submitting Financial Reports by General Ledger users."
    But my question is how do i add functions to a existing responsibility.
    For starters, i need to be able to run an existing report.
    Pls guide me.
    Thanks,
    Amol
    Message was edited by:
    OraMol

    The Standard manager and the Conflict Resolution manager and most of other managers have now started. It was only that the Node value was not defined for these managers. I updated it and they were activated.
    Please excuse me as being a beginner, my questions may seem silly.
    Now, how do i view a report output after submitting a report request ?
    Will the output appear as a link and where? If i can specify it, where do i specify it ?
    What Responsibility do i need to assign to the user to be able to view the output?
    I am reading the Oracle Report Managers User Guide, its just that i'm not being able to map the theory and practical that accurately (lack of screenshots in the docs). So, a few practical operational tips will surely help me a lot in this regard.
    In the documentation its said that "The system administrator assigns Report Manager menu items to various responsibilities. Following are the available menu items:
    • Financial Report Submission... etc "
    But i could not assign the Financial Report Submission responsibility to my Test user in Sysadmin login. The said Report Manager responsibilities were not available in the LOV.
    Thanks.
    Message was edited by:
    OraMol

  • How to define a specific report variant execution in Area Menu

    For report REP01, for exemple, with a selection screen, I defined a variant with specific options, named VAR_SPEC1, to be used by a certain group of persons.
    Now I created the Area Menu ZMSPEC1, and I need to associate to it an entry to execute program REP01 via variant VAR_SPEC01. How can I do it?
    I saw that the program REP01 already has already defined a report transaction (ZEXREP01, for ex.), but if I use this transaction in the Area Menu, I will not use my variant...
    I was looking to the different types of transactions that can be defined, but I am a bit lost.
    Thanks in advance.
    Davide

    Hello,
    I am still a bit lost about the easier (or better) way to associate to the new Area Menu the execution of a non-local program with selection-screen, using some predefined options (hidding some fields, predefining others...).
    Can someone be more specific?
    I guess the necessary elements are:
    1) non-local program REP01;
    2) core report variant VAR_DEFAULT, for program above.
    3) new local variant VAR_SPEC1, for program in 1)
    4) ...
    5) ... some solution to link both parts...
    6) ...
    7) Area Menu ZMSPEC1, with a new item to call the execution of REP01 with variant VAR_SPEC1.
    Any ideas? many thanks!

  • How to define a new format of report in TestStand?

    Hi,
    The report autogeneration by TestStand is not suitable to print to my situation.
    So I want to define a new format of HTML report by myself. But I do not know how to get a new blank one.
    Thank for help.

    For a staring point, you should learn how TestStand creates the report at all. Please read this article.
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to add the new character in FDI1FDI2 Define/Change Reports?

    Hi,
    There are some fixed charcters defined in the T. Codes FDI1FDI2 Define/Change Reports, can we add the characters here based on which we can get teh desired output. If yes, hen please tell me how to add the characters?
    Thanks in advance...
    Regards
    Nitin

    thanks

  • FI-SL How to define  formula components ID(report painter)

    Hi Experts
    please teach me how to define formula components ID.(it is related to report painter)
    I cannot see by GS13(variable)
    Regards.

    I sloved by myself. it automatically made when I add the row or culumn.
    but after delete the  row or culumn. it may have a problem.... I do not know.
    thanks.

  • How to define roles for the reports that i have created using WAD?

    Hi all,
    Can anyone let me know how to define roles for the reports generated using WAD. And what is the procedure for creating and defining roles. Is this process take care of Bw consultant nor the basis guys.
    Can anyone let me know the entire procedure about the roles in bw 3.5
    thanxs
    haritha

    Following links might helps you
    create a role
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/authorizationinSAPNWBI&

  • How to define the size of report area and its elements?

    How can I define the report area size and its elements? And how can I define that for each printed paper, the details area will repeat horizontally or vertically?
    Is there any way to change the measuring units?
    Are there any difference between Crystal Reports that is bundled with Visual Studio 2005 to the standalone version that don't allow me doing what I need?
    Thanks.

    Hi Juliano,
    I hope this is what you had in mind...
    1.  File / Page setup: set your paper size, portrait/landscape and margins.
    2.  Section Expert: the page header &footer sections are 'locked' in that each page will have the space indicated dedicated to these sections; report header & footer - this is the space dedicated on the first and last page of the document. The remaining space available will be used up by the Details section.
    I'm not sure how you can get the Details to print verticall vs horizontally - except maybe with cross-tab format.
    3.  Measuring units: is this for the ruler? This is pulled from your computer settings.
    The rest I'm not sure about but I hope this is enough to get you started!
    Heather

  • How to create a report based on a DataSet programatically

    I'm working on a CR 2008 Add-in.
    Usage of this add-in is: Let the user choose from a list of predefined datasets, and create a totally empty report with this dataset attached to is. So the user can create a report based on this dataset.
    I have a dataset in memory, and want to create a new report in cr2008.
    The new report is a blank report (with no connection information).
    If I set the ReportDocument.SetDataSource(Dataset dataSet) property, I get the error:
    The report has no tables.
    So I must programmatically define the table definition in my blank report.
    I found the following article: https://boc.sdn.sap.com/node/869, and came up with something like this:
    internal class NewReportWorker : Worker
          public NewReportWorker(string reportFileName)
             : base(reportFileName)
    public override void Process()
             DatabaseController databaseController = ClientDoc.DatabaseController;
             Table table = new Table();
             string tabelName = "Table140";
             table.Name = tabelName;
             table.Alias = tabelName;
             table.QualifiedName = tabelName;
             table.Description = tabelName;
             var fields = new Fields();
             var dbField = new DBField();
             var fieldName = "ID";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             dbField = new DBField();
             fieldName = "IDLEGITIMATIEBEWIJS";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             // More code for more tables to add.
             table.DataFields = fields;
             //CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo info =
             //   new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
             //info.Attributes.Add("Databse DLL", "xxx.dll");
             //table.ConnectionInfo = info;
             // Here an error occurs.
             databaseController.AddTable(table, null);
             ReportDoc.SetDataSource( [MyFilledDataSet] );
             //object path = @"d:\logfiles\";
             //ClientDoc.SaveAs("test.rpt", ref path, 0);
    The object ClientDoc referes to a ISCDReportClientDocument in a base class:
       internal abstract class Worker
          private ReportDocument _ReportDoc;
          private ISCDReportClientDocument _ClientDoc;
          private string _ReportFileName;
          public Worker(string reportFileName)
             _ReportFileName = reportFileName;
             _ReportDoc = new ReportDocument();
             // Load the report from file path passed by the designer.
             _ReportDoc.Load(reportFileName);
             // Create a RAS Document through In-Proc RAS through the RPTDoc.
             _ClientDoc = _ReportDoc.ReportClientDocument;
          public string ReportFileName
             get
                return _ReportFileName;
          public ReportDocument ReportDoc
             get
                return _ReportDoc;
          public ISCDReportClientDocument ClientDoc
             get
                return _ClientDoc;
    But I get an "Unspecified error" on the line databaseController.AddTable(table, null);
    What am i doing wrong? Or is there another way to create a new report based on a DataSet in C# code?

    Hi,
    Have a look at the snippet code below written for version 9 that you might accommodate to CR 2008, it demonstrates how to create a report based on a DataSet programmatically.
    //=========================================================================
    +           * the following two string values can be modified to reflect your system+
    +          ************************************************************************************************/+
    +          string mdb_path = "C:
    program files
    crystal decisions
    crystal reports 9
    samples
    en
    databases
    xtreme.mdb";    // path to xtreme.mdb file+
    +          string xsd_path = "C:
    Crystal
    rasnet
    ras9_csharp_win_datasetreport
    customer.xsd";  // path to customer schema file+
    +          // Dataset+
    +          OleDbConnection m_connection;                         // ado.net connection+
    +          OleDbDataAdapter m_adapter;                              // ado.net adapter+
    +          System.Data.DataSet m_dataset;                         // ado.net dataset+
    +          // CR variables+
    +          ReportClientDocument m_crReportDocument;          // report client document+
    +          Field m_crFieldCustomer;+
    +          Field m_crFieldCountry;+
    +          void CreateData()+
    +          {+
    +               // Create OLEDB connection+
    +               m_connection = new OleDbConnection();+
    +               m_connection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + mdb_path;+
    +               // Create Data Adapter+
    +               m_adapter = new OleDbDataAdapter("select * from Customer where Country='Canada'", m_connection);+
    +               // create dataset and fill+
    +               m_dataset = new System.Data.DataSet();+
    +               m_adapter.Fill(m_dataset, "Customer");+
    +               // create a schema file+
    +               m_dataset.WriteXmlSchema(xsd_path);+
    +          }+
    +          // Adds a DataSource using dataset. Since this does not require intermediate schema file, this method+
    +          // will work in a distributed environment where you have IIS box on server A and RAS Server on server B.+
    +          void AddDataSourceUsingDataSet(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               // add a datasource+
    +               DataSetConverter.AddDataSource(rcDoc, data);+
    +          }+
    +          // Adds a DataSource using a physical schema file. This method require you to have schema file in RAS Server+
    +          // box (NOT ON SDK BOX). In distributed environment where you have IIS on server A and RAS on server B,+
    +          // and you execute CreateData above, schema file is created in IIS box, and this method will fail, because+
    +          // RAS server cannot see that schema file on its local machine. In such environment, you must use method+
    +          // above.+
    +          void AddDataSourceUsingSchemaFile(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               string schema_file_name,          // xml schema file location+
    +               string table_name,                    // table to be added+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               PropertyBag crLogonInfo;               // logon info+
    +               PropertyBag crAttributes;               // logon attributes+
    +               ConnectionInfo crConnectionInfo;     // connection info+
    +               CrystalDecisions.ReportAppServer.DataDefModel.Table crTable;+
    +               // database table+
    +               // create logon property+
    +               crLogonInfo = new PropertyBag();+
    +               crLogonInfo["XML File Path"] = schema_file_name;+
    +               // create logon attributes+
    +               crAttributes = new PropertyBag();+
    +               crAttributes["Database DLL"] = "crdb_adoplus.dll";+
    +               crAttributes["QE_DatabaseType"] = "ADO.NET (XML)";+
    +               crAttributes["QE_ServerDescription"] = "NewDataSet";+
    +               crAttributes["QE_SQLDB"] = true;+
    +               crAttributes["QE_LogonProperties"] = crLogonInfo;+
    +               // create connection info+
    +               crConnectionInfo = new ConnectionInfo();+
    +               crConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;+
    +               crConnectionInfo.Attributes = crAttributes;+
    +               // create a table+
    +               crTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();+
    +               crTable.ConnectionInfo = crConnectionInfo;+
    +               crTable.Name = table_name;+
    +               crTable.Alias = table_name;+
    +               // add a table+
    +               rcDoc.DatabaseController.AddTable(crTable, null);+
    +               // pass dataset+
    +               rcDoc.DatabaseController.SetDataSource(DataSetConverter.Convert(data), table_name, table_name);+
    +          }+
    +          void CreateReport()+
    +          {+
    +               int iField;+
    +               // create ado.net dataset+
    +               CreateData();+
    +               // create report client document+
    +               m_crReportDocument = new ReportClientDocument();+
    +               m_crReportDocument.ReportAppServer = "127.0.0.1";+
    +               // new report document+
    +               m_crReportDocument.New();+
    +               // add a datasource using a schema file+
    +               // note that if you have distributed environment, you should use AddDataSourceUsingDataSet method instead.+
    +               // for more information, refer to comments on these methods.+
    +               AddDataSourceUsingSchemaFile(m_crReportDocument, xsd_path, "Customer", m_dataset);+
    +                              +
    +               // get Customer Name and Country fields+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Customer Name", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCustomer = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Country", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCountry = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               // add Customer Name and Country fields+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCustomer);+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCountry);+
    +               // view report+
    +               crystalReportViewer1.ReportSource = m_crReportDocument;+
    +          }+
    +          public Form1()+
    +          {+
    +               //+
    +               // Required for Windows Form Designer support+
    +               //+
    +               InitializeComponent();+
    +               // Create Report+
    +               CreateReport();+
    +               //+
    +               // TODO: Add any constructor code after InitializeComponent call+
    +               //+
    +          }+//=========================================================================

  • How to format the report with the aggregated value

    Hi,
    I have 2 characteristics and 3 KFs in the infocube.
    First field is Cost Center
    Second field is creation Date
    3rd field is KF1
    4th field is KF2
    5th field is KF3
    I have put the date field( in the row) as this is required for calculating formula for KFs. But I have set that as No display.
    The date in the info cube is as follows.
    Cost Ceneter  Date( no Display)   KF1     KF2      KF3
    CC1           01/01/2006          100     150      200
    CC1           02/02/2006          75      100      95
    CC1           05/02/2006          125      95      125
    CC2           01/02/2006          75       25      85
    CC2           02/02/2006          85       65      10
    As the Date field is in query set to No display so the date appearing in the report is as follows
    CC1       100        150        200
              75         100        95
              125          95        125
    CC2       75           25        85
              85           65        10
    But I want the aggregated value at cost senter level i.e.
    CC1       300         245       420
    CC2       160         90         95
    I can not remove the Date frield from query as there is a formula variable defined on the date field.
    Please let me know how to bring the report to the required format.
    Bill
    Message was edited by:
            Bill Bryan

    If you are in new Bex, you can do it.
    You will have to create another (set of) CKF on top of the current ones (which do exception aggregation on DOCNUM) and set the exception aggregation on date.
    Say you have
    CH1--CH2CH3--CKF1
    To have a 'before aggregation' behavior for CKF1 when CH3 is not present, you will create a CKF2 = CKF1 with exception aggregation on CH3.
    Now, if you want to remove CH2 and have the 'before aggregation' behavior you will need to create another CKF3 = CKF2 with exception aggregation on CH2.
    ie for each level of aggregation, you will have to define a new CKF/Formula with corresponding exception aggregation - this is what will be needed to get you your output.
    Message was edited by:
            Ajay Das

  • How do I call Reports 2.5 from a web page?

    Dear all,
    I want to make a hiperlink on a web page that calls a (run) report (2.5).
    Can someone please help me how to define the call?
    Best regards,
    Ronald.

    Hi Ronald,
    You have to use Reports CGI (it is r25cgi32.exe in Reports 2.5), as you are calling from web.
    For Example,
    To generate the HTML output to cache, your hyperlink should be,
    http://myhost.com:portno/cgi-bin/r25cgi32?server=repserver1+report=test.rdf+userid=scott/tiger@mydb+destype=cache+desformat=html
    You should have the Web server <-> Reports CGI Setup. A Report server (repserver1, in this example) should be running to accept the jobs from CGI.
    Thanks,
    -Siva B

  • How to View User Report

    I had created a query and created the report by clicking create report button. But i am not aware how to view the report. I am unable to find appropriate menu item to view the user report.
    Kindly Help me.
    Farhan

    Hi Wadood,
    To view a already set-up report in the defined query layout, you need to open up query manager, select the report (do not double click - just highlight!) and then click on the print preview button.
    Hope this helps.
    Regards,
    Hamsa

  • How to define logic to BO for display of more meaningful messages in Webi?

    Hi All.
    Greetings for the Festive Season.
    We would like to know as to how to define the logic to our BO application while displaying messages to end users of Web Intelligence.
    We have defined restrictions for various users and restrictions are appliced correctly when the user logs in.
    We have some MIS REPORTS in Web Inetlligence with different charts and we have also given links to various other web intelligence reports at the bottom for users to click and view or do analysis.
    And if any user if he/ or she is not authorised to view any / or part of the report - it does not show up.
    Which works well.
    But if some user is not part of any group and is not authorised to view data in a particular report, then we see a standard message coming in like :
    "No Data to retrieve in Query1"   or    "No Data to retrieve in ABC".
    Which one could say is correct.  Because for that particular user, the query has NO data.
    But. We feel there has to be a logic to be defined differently with the applicaton.
    How do we differentiate - as to whether the query does not really have data at the back end and HENCE it is saying No data to retrieve in the Query or report
    OR whether the user who is trying to view report is NOT authorised to view  
    AND HENCE the message is displayed as "No Data to Retrieve"
    We looked at the source file and it is pointing to :../AnalyticalReporting/viewers/cdz_adv/ViewDocument.jsp?
    But we found it a bit difficult to understand the logic there.
    Could anyone advise as to how we could define this logic for Web Intelligence - so that messages we see on screen for the end user could be more meaningful ? How do we really make the system understand or look for 2 options as to whether the message to be displayed is because there is REALLY NO DATA AT THE DATABASE LEVEL, OR whether the USER is not authorised to view this data.
    Can this be made possible by any means or thro SDK ?
    Many thanks
    Regards
    Indu
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:50 AM
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:51 AM
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:54 AM

    Here is my current report detail view.
    [http://s49.photobucket.com/albums/f270/helenen/add/?action=view&current=2010-06-2511-44-20.png]
    (click on link and view at 100%)
    The 3 rd KF column is the calculated ratio which is =>  2nd Column (Work Hrs) A% 1st column (PlanHrs)
    Right now, I cann't get % at detail line (they're now shown as X, because PlanHrs is not null at detail line.
    I'd like those X should be calculated as =>  WorkHrs (at that line) A% PlanHrs (of that specific employee) .
    For example: 16 A% 1827 = 0.875%
    It seems soo eassy but I coulnd't do it.

  • How to register a report program ins EBS?

    HI,
    I made a new report program called APVOUCHER.rdf it is developed/tested/ and running on Reports 10g windows. Then I ftp it to my EBS R12 linux server. Then I put it under the base path of $AP_TOP/reports/us.
    Then I register it in EBS using this
    a) Define the concurrent program executable with the Oracle Application Object Library. This links the execution file and the method used to execute it with a defined concurrent program. Log into Applications as the System Administrator and navigate to Concurrent > Program > Executable
    b) Define the concurrent program with the Oracle Application Object Library along with any program parameters or any incompatibilities. Log into Applications as the System Administrator and navigate to
    Concurrent > Program > Define.
    But in the 2nd define the program APVOUCHER ca not me found in LOVs provided under region
    Excutable
    Name>
    Method>
    If I click LOV for Name the report name is not in there :(
    Anything I miss in here?
    Thanks a lot

    Hi,
    Before you define the report, navigate to Concurrent > Program > Executable and fill out the form as follows:
    Executable: <REPORT SHORT NAME> --> (Similar to the report name you have uploaded but without .rdf)
    Short Name: <REPORT SHORT NAME> --> (Same as above)
    Application: Payables
    Description: <Description>
    Execution Method: Oracle Reports
    For more details, please refer to:
    Note: 133991.1 - How to Register a Custom Report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=133991.1
    Once you are done with the above, you need to add this concurrent program to the Request Group which is attached to your responsibility.
    - Login to System Administrator responsibility
    - Navigate to Security > Responsibility > Define
    - Query the Responsibility Name
    - Write down the Request Group
    - Navigate to Security > Responsibility > Request
    - Query the Request Group
    - Add the concurrent program
    You should be able to see the concurrent program from the responsibility then.
    Regards,
    Hussein

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

Maybe you are looking for