Stracture of CI_vkkvkp

Hi,
Good day experts,
  I have custom screen which is having the Max.salary Deduction  field . it has 14 length of char with conversion routine in data element level. But i need to be chage the data element which is 16 lenght of numaric field.
Actually CI_FKKVKP is having this custom field of screen. If i add the new field which is having 16 legth of fleld In CI_FKKVKP. Doest it impact on other objects. Bcoz this stracure uses in other programmes and tables.
Can any one give me solution.
regards,
kk

Hi,
ya, no doubt in that, if u do changes in this structure that is going to effect other programs where this structure had been used,
because of that u just copy this structure into another structure then u can modify that as u wish and u can use the same.
seshu.

Similar Messages

  • How to use BAPI extension for updating field which is not in BAPI stracture

    I am doing a conversion for control cycle create. The data is maintained in DB Table "PKHD". i have to update 12 fields threre through BAPI "BAPI_KANBANCC_CREATE". there are 11 fields in BAPI structure. but 1 field called"BERKZ" is not there . How can i update it through EXTENSION.

    Hi ,
    in the bapi extension check one structure with name BAPIPAREX will available..
    you need to pass custom structure in that..
    ands conactenate 12 field of your structure and pass in to value1 in bapirex structure and append.
    go to se11 and enter >bapiparex> check where it is used -->see the zprogram and check how it is used the add your code according to that..
    Regards,
    Prabhudas

  • XML to Table Stracture

    i have a batch structure in XML template:-
    - <BATCH customer="ABC" name="ABC1" type="ABC_TYPE">
    - <BATCH_SECTIONS>
    - <SECTION name="X" dependency="NULL">
    - <JOB_SECTIONS name="JOB1" dependency="NULL" >
    - <JOBS>
    <JOB type="X" sub_type="xx" dependency="NULL" />
    <JOB type="X" sub_type="yy" dependency="NULL" />
    <JOB type="X" sub_type="zz" dependency="NULL" />
    </JOBS>
    </JOB_SECTIONS>
    </SECTION>
    - <SECTION name="Y" dependency="X">
    - <JOB_SECTIONS name="JOB2" dependency="X" >
    - <JOBS>
    <JOB type="Y" sub_type="xx" dependency="X" />
    <JOB type="Y" sub_type="yy" dependency="X" />
    <JOB type="Y" sub_type="zz" dependency="X" />
    </JOBS>
    </JOB_SECTIONS>
    </SECTION>
    - <SECTION name="Z" dependency="Y">
    - <JOB_SECTIONS name="JOB3" dependency="NULL" >
    - <JOBS>
    <JOB type="....." sub_type="...." dependency="NULL" />
    </JOBS>
    </JOB_SECTIONS>
    - <JOB_SECTIONS name="JOB4" dependency="NULL">
    - <JOBS>
    <JOB type="...." sub_type="...." dependency="NULL" />
    </JOBS>
    </JOB_SECTIONS>
    </SECTION>
    </BATCH_SECTIONS>
    </BATCH>
    1.Batch Structure having 3 section:-X,Y,Z
    2.each section having :-one job-section (Z section having 2 JOB SECTION)
    3.there is a dependency between sections.- completion of Y depends on X and completion of Z depend on completion of Y
    4.Z-section having 2 JOB SECTION :- JOB3 and JOB4
    My question is that i want to convert this XML template structure into a ORACLE table .
    Regards
    Amu_2007

    With your own XML, something like this perhaps:
    SQL> ed
    Wrote file afiedt.buf
      1  WITH t as (select XMLTYPE('
      2  <BATCH customer="ABC" name="ABC1" type="ABC_TYPE">
      3    <BATCH_SECTIONS>
      4      <SECTION name="X" dependency="NULL">
      5        <JOB_SECTIONS name="JOB1" dependency="NULL" >
      6          <JOBS>
      7            <JOB type="X" sub_type="xx" dependency="NULL" />
      8            <JOB type="X" sub_type="yy" dependency="NULL" />
      9            <JOB type="X" sub_type="zz" dependency="NULL" />
    10          </JOBS>
    11        </JOB_SECTIONS>
    12      </SECTION>
    13      <SECTION name="Y" dependency="X">
    14        <JOB_SECTIONS name="JOB2" dependency="X" >
    15          <JOBS>
    16            <JOB type="Y" sub_type="xx" dependency="X" />
    17            <JOB type="Y" sub_type="yy" dependency="X" />
    18            <JOB type="Y" sub_type="zz" dependency="X" />
    19          </JOBS>
    20        </JOB_SECTIONS>
    21      </SECTION>
    22      <SECTION name="Z" dependency="Y">
    23        <JOB_SECTIONS name="JOB3" dependency="NULL" >
    24          <JOBS>
    25            <JOB type="....." sub_type="...." dependency="NULL" />
    26          </JOBS>
    27        </JOB_SECTIONS>
    28        <JOB_SECTIONS name="JOB4" dependency="NULL">
    29          <JOBS>
    30            <JOB type="...." sub_type="...." dependency="NULL" />
    31          </JOBS>
    32        </JOB_SECTIONS>
    33      </SECTION>
    34    </BATCH_SECTIONS>
    35  </BATCH>
    36  ') as xml from dual)
    37  --
    38  -- END OF TEST DATA
    39  --
    40  select a.customer, a.cust_name, a.cust_type
    41        ,b.bat_name, NULLIF(b.bat_dependency,'NULL') as bat_dependency
    42        ,c.job_sect_name, NULLIF(c.job_sect_dependency,'NULL') as job_sect_dependency
    43        ,d.job_type, d.job_sub_type, NULLIF(d.job_dependency,'NULL') as job_dependency
    44  from t
    45      ,XMLTABLE('/BATCH'
    46                PASSING t.xml
    47                COLUMNS customer     VARCHAR2(10) PATH '/BATCH/@customer'
    48                       ,cust_name    VARCHAR2(10) PATH '/BATCH/@name'
    49                       ,cust_type    VARCHAR2(10) PATH '/BATCH/@type'
    50                       ,bat_sections XMLTYPE PATH '/BATCH/BATCH_SECTIONS'
    51               ) a
    52      ,XMLTABLE('/BATCH_SECTIONS/SECTION'
    53                PASSING a.bat_sections
    54                COLUMNS bat_name        VARCHAR2(10) PATH '/SECTION/@name'
    55                       ,bat_dependency  VARCHAR2(10) PATH '/SECTION/@dependency'
    56                       ,section         XMLTYPE      PATH '/SECTION'
    57               ) b
    58      ,XMLTABLE('/SECTION/JOB_SECTIONS'
    59                PASSING b.section
    60                COLUMNS job_sect_name        VARCHAR2(10) PATH '/JOB_SECTIONS/@name'
    61                       ,job_sect_dependency  VARCHAR2(10) PATH '/JOB_SECTIONS/@dependency'
    62                       ,job_sections         XMLTYPE      PATH '/JOB_SECTIONS'
    63               ) c
    64      ,XMLTABLE('/JOB_SECTIONS/JOBS/JOB'
    65                PASSING c.job_sections
    66                COLUMNS job_type        VARCHAR2(10) PATH '/JOB/@type'
    67                       ,job_sub_type    VARCHAR2(10) PATH '/JOB/@sub_type'
    68                       ,job_dependency  VARCHAR2(10) PATH '/JOB/@dependency'
    69*              ) d
    SQL> /
    CUSTOMER   CUST_NAME  CUST_TYPE  BAT_NAME   BAT_DEPEND JOB_SECT_N JOB_SECT_D JOB_TYPE   JOB_SUB_TY JOB_DEPEND
    ABC        ABC1       ABC_TYPE   X                     JOB1                  X          xx
    ABC        ABC1       ABC_TYPE   X                     JOB1                  X          yy
    ABC        ABC1       ABC_TYPE   X                     JOB1                  X          zz
    ABC        ABC1       ABC_TYPE   Y          X          JOB2       X          Y          xx         X
    ABC        ABC1       ABC_TYPE   Y          X          JOB2       X          Y          yy         X
    ABC        ABC1       ABC_TYPE   Y          X          JOB2       X          Y          zz         X
    ABC        ABC1       ABC_TYPE   Z          Y          JOB3                  .....      ....
    ABC        ABC1       ABC_TYPE   Z          Y          JOB4                  ....       ....
    8 rows selected.
    SQL>Edited by: BluShadow on Mar 24, 2010 7:53 AM
    Missed a level. ;)

  • Stracture and fm

    hi to all,
    my requirement is that i need to join two tables like vbak and vbap and make structure in se11 and declare this structure in fm so how to do it can any one help me out with this. if any one provides me with sample code will be much appriciated and thanks in advance.

    hi karol,
    thanks alot for the help.
    now everything is fine but i am not gettting the records which i needed
    here is my structure
    ZVBELN
    ZERDAT
    ZERNAM
    ZVKORG
    ZPOSNR
    ZMATNR
    ZMATWA
    Import as p_vbeln like vbak-vbeln.
    Tables as jtab like zst2.
    Source code as
    select
      a~vbeln
      a~erdat
      a~ernam
      a~vkorg
    b~vbeln
      b~posnr
      b~matnr
      b~matwa
      into CORRESPONDING FIELDS OF TABLE JTAB
      from vbak as a INNER JOIN vbap as b
       on avbeln = bvbeln
      where a~vbeln = p_vbeln.
    pls  help out with this

  • Material cost updating in COPA at the time of Billing and Delivery 2 Time.

    Hi All
    I had created sales order( MTO).
    Sales Order No 61224069 u2013 50
    Sales Order line item 40 created > PR & PO created (MD02) > MIGO > Delivery of Order (VL01N) > Settlement (VA88) >Billing( VF01) > Settlement (VA88).
    I have two COPA Document and Material Price updating 2 Time in COPA report.
    Please let me know Its Process error Or Configuration error.
    If Process -- Please let me know the correct process
    If Config -- Please let me know where to check
    Thanks In Advance.
    Alok Dixit

    Hi Ajay
    Thanks for the reply.
    The COPA Documents Generated 2 Times through settlement.
    *When document generated.*
    1 After Delivery Sales order is settled
    2 After Billing  Sales order is settled
    *What sort of value*
    There i maintain the PA Stracture as same as CCS. But in the COPA report system is updating Material Cost 2 times.
    *Record Type*
    Record Type for documents is C in both cases
    Settlement after Billing  & Delivery.

  • Please help me with the following two questions, very urgent

    Hi All,
    Please help me with some scenerios about what are the common problems when modifying a standard script such a standard Invoice script and how can we overcome them.
    What are the common problems encountered when working with SAP SMARTFORMS and how to overcome them?
    Please help me with these questions, its very urgent.
    Thanks in advance.
    MD.

    hi
    hope it will help you.
    reward if ehlp.
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)

  • How to use CALL FUNCTION '/1BCDWB/SF00000014' in smartform urgent

    hiiiiiiiii
    Iam doing classical report n i want my output to be printed in smartform.
    So my output is in IT_FINAL table.In smartform in Form Interface Table column i had declare :::
    Parameter Name: IT_FINAL
    Type Assignment:LIKE
    Associated Type:ZSD_FINAL ( Its a structure of IT_FINAL)
    And in SE38..iam using...............
    data: FM_NAME1 type RS38L_FNAM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = 'ZCSF_SDPRSR03_PR'
    importing
    FM_NAME = FM_NAME1.
    CALL FUNCTION FM_NAME1
    EXPORTING
    IT_FINAL = IT_FINAL.
    So while running its giving dump..
    I DONT KNOW HOW TO USE THE ABOVE FUNCTION MODULE.
    CALL FUNCTION '/1BCDWB/SF00000014'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Please suggest me with example if possible......URGENT.
    (Rewards if solved)
    Regards.

    Hi
    see the below doc and do accordingly
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    <b>call function 'SSF_FUNCTION_MODULE_NAME'</b>
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    <b>call function FM_NAME</b>
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
    Regards
    Anji

  • ABAP QUERY - SQ02 addition of logic in infoset (END-OF-SELECTION)

    I guys I have read this discussion: http://scn.sap.com/message/8193608#8193608
    but solve partially my problem.
    In particular I need special logic to interpret the single field from field symbol, for example:            
         loop at <goo> assigne <goo_wa>.                  
               tot_qty = tot_qty + <goo_wa>vbap-zmeng.
         endloop.
    I would like to add new row, with my logic into stracture of query %G00.
    thanks for any idea Omar

    resolved, it is must to use for all filed-symbols
    example
    types: beging of l_summary,
         matnr type matnr,
    end of l_summary.
    data: lt_summary type standard table of l_summary,
             ls_summary type line of lt_summary,
             lf_string type string.
    fiel-symbols: <gt> type standard table,
    <ls> type any,
    <lf> type any.
    lf_string = '%G00[]'.
    unassign <gt>
    assign (lf_string) to <gt>.
    if <gt> is assigned.
    loop at <gt> assigning <ls>.
    lf_string = '<ls>-vbap-matnr'.
    unassign <lf>.
    assign (lf_string) to <lf>.
    if <lf> is assigned.
    ls_summary-matnr = <lf>.
    endloop

  • File name from RFC

    Hello,
    I have scenario from RFC to File(CSV).
    The RFC structure is:
    <Z_PORTAL_PURCH>
         <LAND></LAND>
         <PURCH_PRICE>
              <item>
                   <a></a>
                   <b></b>
                   <c></c>
              </item>     
         </PURCH_PRICE>
    </Z_PORTAL_PURCH>
    The target is:
    <ECC_PURCH_PORTAL>
              <item>
                   <a></a>
                   <b></b>
                   <c></c>
              </item>     
    </ECC_PURCH_PORTAL>
    I able to create the file with correct stracture
    Now I try to change the file name and take the paramer from <LAND> field in the RFC
    How can I do this?
    Elad

    Hello,
    When Itried to use with the UDF.
    I received this error message:
    14:25:50 Start of test
    Source code has syntax error: L:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map4b141341503111de99ce001635c5b25f/source/com/sap/xi/tf/_ecc_purch_price_MM_.java:64: ';' expected DynamicConfigurationKey DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); ^ 1 error Source code has syntax error: L:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map4b141341503111de99ce001635c5b25f/source/com/sap/xi/tf/_ecc_purch_price_MM_.java:64: ';' expected DynamicConfigurationKey DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); ^ 1 error
    14:25:51 End of test
    Elad
    Hi,
    It seems that you are testing this UDF from Test tab. If yes, it wont work.
    You need to run the whole scenario.
    Regards,
    Chandra

  • Error as Attribute check for Asst, Govt & Parl Bus & PA to Dpty Chair fail

    Hi,
    I have created a new user and the user can not use the "SHOP" transaction in SRM portal. He is getting the error "Attribute for user XXXX contains errors. Inform system admin".
    I have checked the org. stracture through PPOSA_BBP and find the error as "Attribute check for YYYY failed".
    Could any body please suggest me what I need to do now?
    where,
    XXXX----name of the user
    YYYY----Position of the user
    Thanks,
    Pijush

    hI
    users_gen
    execute
    now select
    copy user and employee data from template
    and
    now
    select radio button
    create users from existion su01 users (since you have already created SU01 user in gui)
    then execute
    org id 5XXXXXXX - where do you want to assign the user ( this is org id from ppoma_bbp)
    and selcect country of that org .(country must be mentioned in org 5XXX in the address tab)
    and continur
    and area of users
    type your user id and execute
    muthu

  • Stop processing of billing batch in VF04 at the time of pricing check

    Hi,
    T-code is: VF04
    We are calling external system SABRIX using RFC "RFC_CALCULATE_TAXES_DOC"  to get the tax information and once if it returns any error it should not create the billing document for that particular sales document in the batch.
    The problem is Billing document is creating though we have the error in Tax info from SABRIX system. All the user exits are calling before this sabrix call and we didn't find any way to stop the billing for that particular sale doc.
    Can anyone throw a light that we can place the SABRIX call to any of the user exit at the time of pricing and stop the billing if any error in tax information.
    It is mostly appreciated and we got stuck up with a serious issue on this!!!!!!!!!!!!!!!!!!!

    Hi Ajay
    Thanks for the reply.
    The COPA Documents Generated 2 Times through settlement.
    *When document generated.*
    1 After Delivery Sales order is settled
    2 After Billing  Sales order is settled
    *What sort of value*
    There i maintain the PA Stracture as same as CCS. But in the COPA report system is updating Material Cost 2 times.
    *Record Type*
    Record Type for documents is C in both cases
    Settlement after Billing  & Delivery.

  • Dept as Pers.Subarea & cost center at Dept level

    Hi Experts,
    I have a requirement where we have major cities as main locations & there are various departments which are located at this location level.
    Can I in this situation make the main location as the Pers.Area & the depts. as PerSubarea.
    At the same time client wants to capture the cost at Dept level so in OM,can I attach a cost center at Dept level or SubOrg unit will inherit the superior OrgUnit cost center.  will it provide me with the Dept level costing.
    Will it be best a practice.
    Comp Code-AG01
    Location-Mumbai- Sales, HR,Operations
    Delhi- Sales International, Marketing, Corporate IT.
    Will I be able to track the cost at Dept level.
    Please guide..Thanks

    Hi Thanks for putting your details.
    Now we are exploring another option of Putting the Dept as Personnal Arae & the location as Sub Area.
    Please guide me whether it will be in the right direction.
    Dept- Software Dev- which has multiple locations across country-Pers.Area
    Then under this Bhubaneswar,Mumbai,Delhi-SubArea.
    Bhubaneswar- Sales,Distribution,Marketing.,HR.
    Now all the depts will have cost centers assigned at SubOrg level but in that case will the Master cost center at the main organization level  Software- Will it carry all the sub organization cost.
    The HOD should be able to get the entrie cost of all the dept under Software Dev.
    Is there any report which will provide the costcenter-cost posted to it.
    Organization starcture wie
    CompCode-
    Software Dev-Persarea
    Location-Subarea
    SoftwareDev-Head Org Unit under the group compcode
    location-Bhubaneswar,Mumbai,Delhi
    Depts- Sales,Distribution,Marketing,HR
    Sub Dep-Sales-Inside sales & Presales,Marketing-Domestic/Internation.
    In all these cases can i capture the ORg Stracture & how the reporting & report generation will haapen with such.
    Please guide.

  • Help required in Reading smartform

    Hi Everyone,
                     Can any one please tell me if there is any function module to read a smartform and its nodes. Function module READ_FORM is there for reading the scripts. Is there any similar function module to read smartforms.
    Awaiting your response.
    Regards,
    Srinivas

    hai.
    this may help u.
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
    regards.
    sowjanya.b.

  • Named Searches in SRM-MDM

    Dear Experts,
    I try to create Named Searches On the SRM-MDM Catalog.
    I created named searches and assigned each named search do CATALOG_ID.
    I assigned the relevant CATALOG_ID to the organizational unit in the organizational stracture.
    In the Search UI the user sees the link to the named search I assigned, but he still see all the Items and not only the items I assigned to the named search.
    I guess I did not assign the items I picked properly.
    Can someone help?
    Thanks & Regards,
    Keren

    Hi,
    In SRM MDM data manager select the current table as Named search in record mode.Right click -Add -Say NamedSearchS1.Then Select your main table as current table.Select the records which you want to display to particular user.Then go to menu Search-Add to named search S1.
    Go to Console under roles table-select the particular role-under tables and field tab-Named search-add constraint as S1.
    MDM support 400 named searches.
    In EBP then add the s1 in call structure.
    Regards
    Nisha

  • Salary in the current month and  the previous one

    Hi
    I have a table that stores payroll details like the following stracture
    earn code
    period from
    period to
    user_id
    time
    I want to do one report which displays both the salary of one employee in the current month and his salary is the previous one
    Thank you for your help

    you might use the LAG-function to get the previous months salary. Hard to know, as you did not provide any information about your report and database versions.

Maybe you are looking for

  • Windows 8.1 UDI Task Sequence black background on Install software part

    Hi, when deploying Windows 8.1 to our notebooks, first part of task sequence we got normal background like shown here: but after applying OS and drivers and installing CM client, TS goes to installing software but with this black screen: It all goes

  • User must fill at list one field in a selection screen in report

    Hi experts, i have a report that the user should choose between 2 fields or he can fill them both. but he must to fill at list one of them- at the selection screen. how do i check that the user filled at list one of them. any help will be appreciate

  • Display data in Web DynPro table from database via EJB

    I have a JavaBeans model which has a method populateDataToTable()to retrieve data from database via Session bean (calling entity bean, returning ArrayList of data) and the data needed to be display in the Web DynPro table. User Interface (Web DynPro)

  • Default page size in Safari

    I can't seem to find a way to keep my Safari's setting after I've properly sized the browser page after Safari loads. After I load Safari I hit "Command +" twice and that sets the size perfectly for my eyes, monitor size, and Safari window size. How

  • LE7 settings Enigma (M-Audio Ozonic)

    Is there somebody who want to share or know about a user bank to load into the Enigma software to get good settings for LE7 in the M-audio Ozonic soundcard/controller. Thanks /Craft