Smartforms global ,intilization declarations ?

hi folks,
below is layout of the form i have to print in smartform ,this additional that is supplement from i have to add in existing form,so these are the fields i have to priint ,now what exactly i have to do in smartfrom ,do i need to change driver program also ,what exactly i have to do right from global defintions to page creation ,do i need to create another window and where i have to write logic that is select queries ?
fields for the layout is below ,layout is also given plz take a look ,points will be awarded for the answers .
order number (VBAK-VBELN), Whs BoL (VBAK-VBELN), customer PO number (VBKD-BSTKD), material number (LIPS-MATNR), legacy item number (MARA-ZZQNUM), description (LIPS-ARKTX) ship quantity (LIPSD-PIKMG), UOM (LIPSD-VRKMP) and pallets (VEKP-EXIDV) information. There is only one order to one delivery to one shipment. (1 to 1 relationship)
Whs. BOL: Customer PO:
Order No:
Ship to:
Material No Description Ship Qty UoM Pallets
010018500013850003 16OZ 1/12 LPT ICED TEA PEACH 216 CS 2.00
904560
010018500013850005 16OZ 6/2 LPT ICED TEA RASP 108 CS 1.00
904561
010018500013850006 16OZ 6/2 LPT ICED TEA SNL 324 CS 3.00
904562
0100185000138
hey all plz tell what should i delcare in global paramerets in global defintions ,imoport ,export paramaetrs ,what shoul;d i write ?in intilization what should i write ?in global defintion s what sghould i write in types tab plz VERY VERY VERY VERY Urgent points will awarded repl;y urgently very urgentily.

Hi,
     Global Declaration is nothing bur the Internal Table Declaration in smartform. If u Declare the Tables in Global Declaration U can access that Internal Table for all the Windows within that Smartform.
Import : It will Pass the Value to write the coding inside the window, It Mean Ur getting the Value from Global. Already i told the Global will help for all the Windows.
Export : In the Import we r getting the value from global and doing some coding or calculation inside the Window. Now we need to take that Value to Print in within that Window.
Example :
Importing : t_ekko ( Here getting the Value from outside)
  Loop at t_ekko into wa_ekko.
  Append lt_ekko from wa_ekko.
endloop.
Exporting : lt_ekko ( Taking the final Value to Display)
Go through this link also,
form interface & global definition
Re: Urgent ! SmartForms internal table declaration
what is the use of types tab in global settings in smartforms?
Regards,
Saran,

Similar Messages

  • Global,intilization,input ,output parametrs to be assigned

    hi guys these is layout of my form to be added to existing smart form and fields to be added are below ,now can what should be added in global,intilization,input ,output parameters to be and in the  interface section and how should i create layout
    1     Whs BOL     VBAK-VBELN     Field is mapped from order header
    2     Order No     VBAK-VBELN     Field is mapped from order header
    3     Customer PO     VBKD-BSTKD     Field is mapped from order header
    4     Ship To     KUWEV-KUNNR     "This is field is mapped from order header to delivery header
    Ship to need to populate the fields below"
         Ship to Name          
         Ship to Address          
         Ship to City, State, Postal Code          
    5     Material No     LIPS-MATNR     Field is mapped from delivery item level
    5a     Legacy Item #     MARA-ZZQNUM     Field is mapped from material master
    6     Description     LIPS-ARKTX     Field is mapped from delivery item level
    7     Ship Qty     LIPSD-PIKMG     Field is mapped from delivery item level
    8     Unit of Measure (UOM)     LIPSD-VRKMP     Field is mapped from delivery item level
    9     Pallets     VEKP-EXIDV     Count of VEKP-EXIDV for LIPS-MFRGR
    LAYOUT
    Whs. BOL:                Customer PO:                    
    Order No:                                   
    Ship to:                                    
    Material No     Description     Ship Qty     UoM          Pallets          
    010018500013850003     16OZ 1/12 LPT ICED TEA PEACH       216     CS          2.00          
    904560                                   
    010018500013850005     16OZ 6/2 LPT ICED TEA RASP       108     CS          1.00          
    904561                                   
    010018500013850006     16OZ 6/2 LPT ICED TEA SNL       324     CS          3.00          
    904562                                   
    010018500013850007     16OZ CAN 1/12 MTN DEW AMP       118     CS          1.00          
    904563                                   
         POINTS WILL BE AWARDED TO ALL ANSWERS

    Hi,
    In form interface u have to define the fields or tables which all are u passing from the program.
    In the glabal definitions  you can define your types for internal tables or other purposes in 'TYPES' tab, then declare the global datas your internal tables, work areas etc.
    write ur select statement and othe codings there in initializations, define subroutines in form routines,
    then, u cna use loops , command lines for additional purpose in each pages.

  • "Global Type declaration duplicated", cached xsd conflicting in jdeveloper?

    We're having problems recompiling a project after changing a schema in a second project on which it depends:
    Our HR composite app imports a schema from our FaultHandler app. I added 2 new elements to the FaultHandler schema and redeployed to the server - now our HR composite app won't recompile. It errors saying:
    [scac] error: in EmpTransformSynch.bpel(87): query "/ns9:HandleFaultRequest/ns9:TimestampeInit" is invalid, because Global Type declaration/definition of name '{http://mydomain.com/SOA/FaultHandler}HandleFaultRequestType' are duplicated at the following locations:
    [scac] http://mydomain.com:8001/soa-infra/services/default/FaultHandlerProject/xsd/FaultHandler.xsd [line#: 4]
    [scac] http://mydomaincom:8001/soa-infra/services/default/FaultHandlerProject/FaultHandler?XSD=xsd/FaultHandler.xsd [line#: 7]
    [scac] There are at least two of them looking different:
    [scac] http://mydomain.com:8001/soa-infra/services/default/FaultHandlerProject/xsd/FaultHandler.xsd [difference starting at line#:16]
    [scac] http://mydomain.com:8001/soa-infra/services/default/FaultHandlerProject/FaultHandler?XSD=xsd/FaultHandler.xsd [difference starting at line#:19]
    I can view the 2 URIs in my browser, and while they differ slightly in how they reference another schema, the schemas (and imported schema) are semantically equivalent.
    We've taken the following steps to try to resolve it:
    Undeploy the previous revision of Fault handler
    Restart soa server
    Redepoy Fault Handler
    Clean HR app
    Make HR app
    We have the issue in both jdeveloper 11.1.1.3.0 and 11.1.1.4.0
    This is surely something very simple, but it's blockiing us at the moment.
    Any help much appreciated.
    ..Garret
    Edited by: user10714498 on 09-Mar-2011 02:27

    If your schema contains any characters which will be escaped when parsed by a browser, then version present in the actual .xsd and the version referenced via HTTP server will be different causing the issue.
    If you can post the content of your actual schema (as you see it in jDev and not the one opened in the browser) here it will help identifying the issue if any.

  • Global element declaration/definition of name: Duplicate name spaces

    Hi,
    I have two wsdls provided by a target systems. Both the wsdls are using same name space and few elements descriptions are different.
    Obvisouly i am getting the Global element declaration/definition of name error.
    I have to use the two wsdl with in the same bpel process and invoke them one after the other. My target system is not ready to make changes in thier wsdl to change name space as the product is generating these wsdls for them. All i have to do is in BPEL process only.
    Is there any idea how can we resolve the namespace issue to continue using these wsdl in the same bpel process.
    Only alternative i am seeing is, to have two bpel subprocess for each service and call these bpel processes from my parent bpel process.
    Thanks

    the cause of this error that you have different definition of the same element , so what you need to make sure that the element with the same name have the same definition on those wsdls.

  • How to go to java section global variable declaration

    Hi all
    i am following this scenario
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID0446700150DB10376299506581707969End?blog=/pub/wlg/11287
    in this scenario 3rd screen shot is about global variable declaration:
    In order to build the content of the attachment (for this particular requirement) we use a global variable declared and initialized in the global sections :
    can any body tell me how to go to this java section screen , as i am unable to find this java screen....
    Thanks
    sandeep

    even i cant see this edit java section
    i am working on PI 7.1. has this feature been removed in pi 7.1
    this is replaced in PI7.1 ... check this blog on how to use the "global" variable in PI7.1:
    /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    Regards,
    Abhishek.

  • Global Type declaration/definition of name duplicated error

    Hi, All,
    We have two EJB exposed as the Webservice , so WS-1 and WS2, When I insert these two WS into the SOA Application to used by BPEL process. I get the compile error from jdev(11.1.1.1.3) like this:
    Global Type declaration/definition of name '{http://mynamespace-here/oracle}SearchParameter' are duplicated at the following locations:
    EJB WS1 xsd line ***
    EJB WS2 xsd line ***
    SearchParameter is bean SearchRequest‘s property, this bean is shared using in two EJB method interfaces.
    Our class design like this:
    @XmlRootElement
    @XmlType(name = "SearchRequest",
    namespace = " http://mynamespace-here/oracle ")
    public class SearchRequest
    implements Serializable
    private SearchInterface searchCriteria;
    @XmlElements(value =
    { @XmlElement(name = "SearchParameter",
    type = SearchParameter.class) })
    public SearchInterface getSearchCriteria()
    return searchCriteria;
    At here SearchInterface is an empty interface and SearchParameter is a class implement this interface.
    I feel @XmlElement in fact cause this duplicated error.
    So in this case, how can we expose this SearchInterface/SearchParameter through the XML properly?
    Thanks .
    wayne
    Edited by: user782942 on Feb 8, 2011 11:37 PM

    If the message type in the external service and the one using in your local are using the same schema, could you check whether the external service has changed the schema in any way? Adding new fields, changing the field name, or changing the namespace? We had faced this issue before, and it was because the schema in our mds is different from the schema from OSB, which they changed it after we get the artifacts and we didn't have the updated schema in our mds.

  • Global Type declaration/definition are duplicated

    Hi,
    I am migrating my components  from Solution accelerator 111150 to 111181. I have modified the names spaces for task and removed the references of workflow.xsd and replaced it with "oramds:///soa/shared/workflow/WorkflowTask.xsd". I am facing the issue of duplicate declaration/ definition
    Error: Global Type declaration/definition of name '{http://xmlns.oracle.com/bpel/workflow/task}systemAttributesType' are duplicated at the following locations:
    oramds:///soa/shared/workflow/WorkflowTask.xsd [line#: 248]
    http://qaipm.atfoods.com:8001/soa-infra/services/default/ReportData//soa/shared/workflow/WorkflowTask.xsd [line#: 238]
    There are at least two of them looking different:
    oramds:///soa/shared/workflow/WorkflowTask.xsd [difference starting at line#:345]
    http://qaipm.atfoods.com:8001/soa-infra/services/default/ReportData//soa/shared/workflow/WorkflowTask.xsd [difference starting at line#:334]
    and below that there are numerous errors. I believe those are due to this first line. where am i going wrong?
    Regards.

    It looks like your local orsmds store and your server's oramds store are out of sync.
    To be sure, check the differences in WorkflowTask.xsd file at the following locations
    Local machine -->  "jdeveloper\integration\seed\soa\shared\workflow"
    URL --> http://qaipm.atfoods.com:8001/soa-infra/services/default/ReportData//soa/shared/workflow/WorkflowTask.xsd
    I am sure there must be a difference at the location mentioned in your original post.
    Regards,
    Vikrant Korde.

  • Global variable declaration in form routines

    Hi All,
    i am new of the smartforms, i have a small problem in smartforms.
    i need to display the one text based on the condtions, already i have putted the condtions in the condition tab for the text, i need to compare the one more condtion, the condtion is TB_INFORMATION IS NOT INITIAL.
    the code was devaloped in the formroutines , i need to implement the one condtion in the form routines,
    the condition is if TB_INFORMATION IS NOT INITIAL is not initial
                                  va_information = x.
                                endif.
    already i declared the variable in the global defination ,but i am getting the error.
    where can i declare the global variable in form routines.
    Please help me,
    Thanks & Regards
    charan

    declare in global data and it will be visible and available in form routines too.

  • Global Variables declaration in PI 7.1

    Hi All,
    In message mapping where can I declare global variables in PI 7.1.
    Thanks and regards
    Uma

    Hi Sarvesh,
    Thank you for the response.
    The blog given by you is on PI 7.0, But icon(Java Sections) is not present in PI 7.1 mapping editor .
    Please guide me how can I proceed further.
    Thanks & regards
    Uma
    Edited by: Uma Balasubramanya on Mar 20, 2009 1:11 PM

  • Global Variable declaration in Custom Infotype

    Hi All,
    I need to validate a custom infotype field, where i need to check for execution times. I need to override the field value only during first time of the run(PAI logic) and there after user can choose a value of his choice.
    I was looking out for Global variable to check if its first run. Can you please tell me how do i create global variable in custom infotype? The top include specified in the program is not editable, being standard (MPH5ATOP).
    Thanks,

    >
    Sachidanand B wrote:
    > Hi All,
    >
    > I need to validate a custom infotype field, where i need to check for execution times. I need to override the field value only during first time of the run(PAI logic) and there after user can choose a value of his choice.
    > I was looking out for Global variable to check if its first run. Can you please tell me how do i create global variable in custom infotype? The top include specified in the program is not editable, being standard (MPH5ATOP).
    >
    > Thanks,
    The system will generate an include with the naming convention ZP<Custom Infotype number>10(This program will be included in the custom infotype main program ZP<Customeinfty number>00). You can use this include for your data declarations.
    Ex: if the number of the custom infotype is 9010 the generated include name will be ZP901010.
    For more details check the link below
    http://help.sap.com/saphelp_47x200/helpdata/en/4f/d525ad575e11d189270000e8322f96/content.htm
    Regards
    Rajesh:

  • Global Variable Declaration in PI 7.1 EHP 1

    Hi Experts
    How can I declare the Global Variables in PI 7.1 EHP 1 , please let me know if there is any blog in Enhancement Pack 1
    Thanks
    PR

    On PI7.1 global variables have been removed.
    You can try one of the following:
    1. Create a global variable within an UDF;
    2. Use the solution from the blog below:
    /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable

  • Global Variable Declaration in ProcessRequest Method

    Hi All,
    i need to declare a variable(Global) in Process request Method and then i need to pass this variable value in ProcessRequest Method of Another Page.
    it is possible to declare a Global Variable in ProcessRequest Method.
    Process Request Method:
    if(pageContext.getSessionValue("varBatchID")!=null && pageContext.getSessionValue("varCustomerID")!=null)
    System.out.println("Second Else From Drill Down");
    String strCustID=pageContext.getSessionValue("varCustomerID").toString();
    String strBatchID=pageContext.getSessionValue("varBatchID").toString();
    System.out.println("CustomerID:"+strCustID);
    System.out.println("strngBatchID:"+strBatchID);
    Serializable[] parameters={strCustID,strBatchID};
    OAMessageStyledTextBean oamessagestyledtextbean=(OAMessageStyledTextBean)createWebBean(pageContext,"strCustID");
    oamessagestyledtextbean.setText(pageContext,"strCustID");
    pageContext.getApplicationModule(webBean).invokeMethod("backTocusttrxn",parameters);
    pageContext.removeSessionValue("varCustomerID");// Here i need to close this session Value and at the same time i need to pass this session value to another page PR Method. SO For that i need to Declare a variable(Global) and pass that variable value to another page.
    pageContext.removeSessionValue("varBatchID");
    Could you please any one give me the solution for this.
    Thanks,
    Mallik.

    Hi ,
    Create transaction variable and pass your value into that and get the same in other CO using below code,
    pageContext.putTransactionValue("IrcSelectedPersonId",value)
    pageContext.getTransactionValue("IrcSelectedPersonId");
    Regards,
    Vijay Reddy.

  • Global data declaration in user exit 'MV45AFZZ ' for VA01

    Hi folks,
    i  am using USEREXIT_PRICING_PREPARE_TKOMP  in MV45AFZZ for VA01 pricing modification.i need to declare one Global internal table for this exit.i tried to do this one in MV45ATZZ.but i can not save as it is asking access key.
      how can i achieve this one?
    ur answers will be rewarded.
    Thanks
    pabi

    Hi Pabitra,
    You can find the parent program and use an enhancement point to declare a global internal table mainly in the top include of the program
    ed: if t-code ABC is executed then the program for the t-code ABC is your parent program...
    Here SAPMV45A is your parent program for VA01
    and in INCLUDE MV45ATOP.
    use ENHANCEMENT-POINT MV45ATOP_02 SPOTS ES_SAPMV45A STATIC. to declare the global internal table
    Once the table is declared,also check in the user exit by debugging if the table is made available..
    i have done the above technique to use an internal table in userexit_save_document after declaring table in the mentioned enhancement point and it worked for me...
    Pls check and revert
    Reward if useful
    Regards
    Byju

  • Static used on global variable declaration

    I have inherited a CVI project that contains a single .C file and a couple of .UIR files with their associated .H files.
    Many of the global variables have STATIC in their declaration - I believe this is due to the fact the original developer originally had them inside various functions and at some point changed strategy to make them global, leaving the STATIC keyword in place when copy/pasting.
    As I understand it the ONLY implication of STATIC on a global variable would be to keep its visibility only to the .C file in which it is declared. In this instance that is moot since there is only one .C file in the project.
    Is there anything about LabWindows/CVI which I might not be aware of that makes this use of STATIC cause something different than if STATIC were not used?
    Thanks for any input you might have since I'm new to CVI

    Roberto and menchar said it well:
    "static variables are declared at compile time and survive when their block of code terminates. If declared at function level, their value survives from one call of the function to another, so that they can be used over time to store permanent values locale to the function. If declared at module level, they are common to all functions in the module and are allocated outside the stack so that their values are not lost during program life. In every case they can be accessed and modified in values by functions in the program. If arrays, they cannot be dinamically changed in size."
    "The static keyword can be used with a function name also, meaning the function name isn't exported to the linker, and the function is in scope only to code within the module."

  • Apex- global variable declaration

    Dear Friends
    I am very new to Oracle applicaiton express,
    Please let me how to declare global variable in an applcation. The variable should be accessible throught ot all the pages in that applicaion. Any one can help?

    Hi,
    use an application item for that purpose.
    Just navigate to Shared Components->Application Items and create what you need.
    Regards,
    Moritz

Maybe you are looking for

  • HP P1505 laserjet printer suddenly printing everything in a huge font

    Suddenly this printer is printing everything in a huge font - I've reset the printer, checked the default settings, etc.  It does this in every program.  I have over a hundred of these printers and have never seen this issue - any ideas?

  • How to get full file name on MAC?

    Hi, In my plug-in, I have to get the full file name of the file opened in illustrator on MAC OS X. The following code works fine: SPPlatformFileSpecification theFileSpec; AIErr error = sAIDocument->GetDocumentFileSpecification(&theFileSpec); theFileS

  • JDev Team - how to add a Data Aware Control to grid control

    The default editor for GridControl cells is a data-aware TextField, but I want to use a ComboBoxControl. If I use the setEditor() method of the TableColumn, the cell is edited using a combo, but there are problems: 1. Navigated events do not fire whe

  • Af:iterator and scroll bar

    Hello, I have a popup in a page set up this way popup holds a dialog -> region with a taskflow containing only one .jsff . The .jsff file has a panel header with 4 panel boxes as child components. Everything is fine until i have this af:iterator insi

  • Exporting Adobe Illustrator CS files to DXF or DWG

    How do I export Adobe Illustrator CS files to AutoCAD DXF or DWG files and still keep the size 100%. The engineer opening my .DXF and .DWG files said my drawings are over 300% larger than actual. Thx in advance!