Usage of command node in smartforms

Hi
my doubt is can I branch to multiple pages using command node in smart forms.if so how to do it.

Hi,
Please check with the following threads
[Command node|Re: Smartforms: Option of Printing Specific Pages Only;
[Document on command node|http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417200)ID0250336250DB00400831958585035375End?rid=/library/uuid/a01b2c4d-711f-2b10-3eb2-abe3464bb370&overridelayout=true]
Hope this  helps you.
Regards,
Rajani

Similar Messages

  • Smartform - Command Node Issue

    Hi Super-Techies,
    I am facing a strange issue in smartform. When I am using a command node to trigger a page, in the main window 1 table needs to get triggered (but it si not triggering). When I try to print the same table without any command node (i.e. in the same page) its working fine and the table data is being displayed.  
    But when I make use of command node to trigger to new page, All other windows are getting executed except the main window table.
    Note; I have made use of 2 tables in main window. Normally 1st table should print, once new page is triggered, 2nd table should print and not the 1st one.
    Can anyone help me out of this strange issue.
    Thanks in Advance,
    Vinit

    Hi Vinit ,
       In order to print data you require upon using command node , you need to display it on a secondary window.
    Steps :
    1) create secondary window .
    2) provide table n related details .
    3) u need not have a main window (optional) ;as data in main window won't be displayed.
    This is the way I resolved the same issue .Hope it helps .
    Thanks & regards,
    Prakrita .

  • What is command line in smartform?

    Hi
    Can anybody tell me what is command line in smartform?
    <MOVED TO CORRECT FORUM BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 20, 2008 8:43 AM

    A command node is a special type of node in smartforms which can be used to trigger page-breaks etc:
    http://help.sap.com/saphelp_nw04/helpdata/en/70/e17a37dec511d3b575006094192fe3/content.htm
    Regards,
    Ravi

  • Command node inside the dynamic table

    Hi experts,
    I have a problem regarding on using a command node inside a dynamic table in main window.. I tried inserting a command node in the header of the table then when running my print program i will receive an exception = 2 which is internal error and when i tried to execute the smartform using its FM it will have an error saying 'No explicit page break possible in tables'. I also tried putting the command node in nodes MAIN AREA and FOOTER.
    Here's the question.
    How can i explicitly put page break while i'm looping in a table?
    higheest rewards if successful.
    thanks in advance.

    Use a command line node and put
    BREAK-POINT.
    in that node, save and activate.  I have only put such a node in the main section of a table but I don't see why you couldn't put one in the header or footer as well.
    Davis

  • How to create Event Node in smartform

    Hi Experts,
    could you please tell me how to create event node in smartform
    Thanks in Advance,
    Thanks&Regards
    Geetha

    HI,
    plz explain your problem in deeply.
    And as per me you first create page and righ click on it
    Then create window as per your requirement.
    if you want to put condition ot events true or false Righ click on your window
    then goto flow logic -> Altenative
    You can found 2 events in Condition.
    So you can assign this events.If you want to put condition or event on test then goto Text here in General Attributes in bottom side you can find even on page.
    Try it.

  • Use of loop node  in smartforms

    Hi ,
    Can anyone explain me in detail what is the  use of the loop node in smartforms.
    I want to repeat the two successor nodes alone until the loop ends .after the loop ends then only the third successor node should be executed.can we do this by using loop node. If yes please explain me how we can do this.
    Thanks,
    Rose.

    Hi,
        Yes, this is possible. Include the two nodes in the loop of the internal table. The third node should be outside the loop
    Regards.

  • What is the use of FOLDER NODE in SMARTFORMS?

    what is the use of FOLDER NODE in SMARTFORMS?
    please explain.

    Hi,
    By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.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.
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.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
    Reward all helpfull answers
    Regards
    Omkar

  • Rules regarding Command Node

    Hello Experts,
    I know that a Command node can only be used in the Main window. Can anybody confirm that its not possible to use a Command node to provide a page throw when printing from a Table.
    I have included a line count and want to throw to next page using a Command node depending on the number of lines I'm printing within my table.
    Its not producing any print or even any reason for the lack of any print.
    I have placed the Command node after table just to test it and it works fine.
    If a Command node won't work when printing a table. How can I control the way the form looks?
    Best Regards
    MikeSpear.

    Hi Mike,
    1) Build your outer loop table to contain one entry per record type. So if you have two different record types the outer table will contain two rows (one per record type).
    2) Create a loop over the outer table. Have a command node to page break at the start of each loop pass.
    3) Create a table loop within the outer loop. Set the WHERE condition to loop over only those rows where record type = record type from outer loop.
    That should be it. This will give you a page break for each row in the outer table.
    Che

  • Is usage of Proxy nodes expensive ?

    Hi,
    I would like to know how expensive is the usage of proxy node from performance
    point of view.
    Thanks
    Girish

    ABAP Proxy Runtime
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    ABAP CLIENT PROXY
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    ABAP SERVER PROXY
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    This material will help you a lot.
    regards
    Nisar

  • Command issue in smartform main window table footer

    Hello Experts ,
    I got an issue , that really puzzled me ! hope you could help .
    In my smart form main window I have a loop node inside loop node is a table , and there is a footer in this table node.
    in footer event , I only set check box 'at page Break' , and in footer , I created a command to goto another page, but when I preview the layout , there comes an error : 'Page break is allowed only in the main window' . I didn't create any command outside the mainwindow.
    anyone know how this happened ? how should I correct it ?
    or you can tell me antother method to goto a new page when page break .
    Thank you in advance!
    Kevin
    Edited by: kevin wang on Mar 13, 2010 12:46 PM

    Hi,
      The problem may due to not Selecting at the "End of Table" in the footer node.
    My Assumption: According to my understanding since you have selected with at "Page break" only, this night be triggering at every page break and since you have mentioned Goto Next page using command node without printing on the current page.
    You can try by selecting the "At the End of Table" for Footer node, then it should work correctly.
    If you want a Page break after the Footer, then place it after Footer Node, then it should work.
    Thanks & Regards,
    Vamsi.
    Edited by: Vamsi Krishna on Mar 13, 2010 1:42 PM

  • Command node inserted in the main window

    I have inserted a command note at the last window in order to get a third page in my form which is not connected to the First page . But the issue is due to this command node 2 footer wondows which are placed just after the main window are not getting printed. Kindly help me on that.

    Are you able to print 3rd page contains ??? It should work as I have done the same.
    in 1st page I call command node with GO to New page as LAST PAGE.
    Then inserted my text which need to print on the last page.
    After that I created Footer window. Which perfectly displaying.
    In the last page I have done the same except command node.

  • Debug a particular node of SMARTFORM

    Hai Fellas,
    How to debug a particular node of Smartforms.
    I dont want to debug it from the begining.
    There is a restiction I can't add anything as the code is in Quality server.
    i.e no break points can be hardcoded using program line.
    Best Regards,
    Suvendu.

    Hi,
    Just for debugging you cant write break-point statement and u cant transport,the best practice is go to smartforms ,there will be a option find the function module.Go to Se37 give the function module name,go to display mode,search for ur field or internal table or a work area,keep the break-point ,and then run the smart form ,this is way that we can debug in quality and production systems
    Thanks
    Santhiya B

  • Is it possible to update a Command node on just the First Page?

    Hello Experts,
    I am attempting to add a line count with a value on the condition tab of a Command node but it keeps also applying the same change to the same Command node on the NEXT page. I want to add the linecount to the subsequent Command node but with a different value.  Is it possible to only make changes to the command node on one page without also changing the command node on another page. I tried the settings under 'And additional event' Only on first page etc but it didn't make any difference
    The Command node is located in the Main window within a Table node just before the footer.
    Regards
    Mike Spear.

    Hello Experts,
    Thanks for taking the trouble to reply.
    I find which ever conditions I set on the command node on first page also appear on command node of next page.
    I'm using the command node to throw to a new page depending on a linecount. Because the main window on the next page is longer than the main window on the first page the linecount is a larger number.
    Best Regards
    Mike.

  • MULTIPLE COMMAND NODE CALL IN SMART FORMS

    Hi all
    Hi All,
    I am designing a Smart form. i have 5 page . In my page2 (main window ) i call a command node to call page 3 with some condition it's working fine and now i going to call another page in my page2 (main window ) just behind the first command node to call the page3 but the problem is my first command take the cursor in the page3 but not come on page2 (main window ) and gives error .
    Regards,
    Kuldeep Singh

    hi,
    when the first command get executed, then the control moves into the new page....
    but ur second command is in old page, i mean from where u called ur first command... then the control is in one page, and the command is in another page...then how can u get that executed...?
    here do one thing, using first command u r calling one page, in that page place this secod command, then after executing that page, u can get the required one using the second command...
    hope its clear.
    if any doubts, plz revert back.

  • File Node in Smartforms

    Hello,
    While doing page protection for several lines it is mentioned to create a file node. Could anyone tell me what is meant by a file node in smartforms?
    Thanks,
    Dishant

    Hi,
    Folder node is what used to apply page protection for a definite number of lines in smartforms.
    Regards,
    Ram

Maybe you are looking for

  • Switch Question

    I'm new to Java, but not to programming or IDE's. I'm in the early stages of developing a new Java application, so I've been playing with various example code from some of the number of books available on the topic. In particular I was interested in

  • What do I need to fill out a form created in JetForm?

    I receive a form that I need to fill out, save and send back.  The problem is the form sent to me is a JetForm.  What software/designer do I need to just fill out these forms?  Are there any free downloads? Thank you

  • Error opening Georaptor on SQL Developer 1.5

    Hello Everyone, I was just wondering if anyone has been able to use the Georaptor extension (http://georaptor.sourceforge.net) with SQL Dev 1.5? The geoRaptor menus come up, but so far I have not been able to add any "Add Layer" to the Spatial view.

  • CS6 Cloud.  Can't connect to debugers

    Hi, I upgraded from CS4 to CS6 Cloud.  I can no longer launch ANY APP in the debugger. File > New > AS3 create an actions layer. in frame 1 add trace("hello world"); click debug movie -> in Flash Pro Professional   (or ctrl-shift-enter "Debug"). The

  • Pathfinder-- Merge CS5.5 Problem

    Anyone having an issue with Elliptical Tool and Pen lines to merge with 5.5 so far? I cannot figure anyway to merge these lines like I did in cs5.