Assigning categories to multiple Commodities - Smart Forms

Hi Folks,
appreciate any feedback you could give, i'm creating smart forms in 11i for my company based on vendor. were looking to lock down the correct category (not editable) so requestors dont have a choice - reducing backend reclassing to the GL.
however, in some scenarios i need multiple choice as our vendor may provide more than one service. if i create a commodity for 1 vendor with 3 categories in there, i cannot choose the same categories in a different commodity (for a different vendor).
has anyone come accross this, if so how did you manage this? there has to be some workaround... i have faith :-)
thanks in advance for your help.

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.

Similar Messages

  • How to assign standard texts assign dynamically to smart forms

    Dear Experts
    I need your help in adjusting the smart form texts dynamically. I will explain you the situation please revert me your valuable answers.
    1. I am integrating 12 smart forms using same program.
    2. Out of 12 smart forms 4 forms are having similar kind of template. Client is requesting like create one smart form template.
    3. By creating the standard texts you can assign the standard texts into smart form during runtime dynamically.
    4. Maintain all standard texts for smart forms in another custom table, during run time of the program you can assign the standard texts to smart form.
    5. Here my question is how to assign the standard texts to template texts dynamically ?
    Please revert me your suggessions.
    Thanks for your support.

    Hi Indra neel  ,
    You are maintaining all the standard texts in custom table right, u need to get standard text based on condition which works for your smartform
    than create text module in smartforms and change that to include text and give the variable name or internal tbale with field name in that text name fields and press (>) button and give the remaining fields in that than that will work dynamically

  • Assignement of Smart form

    Hi Guys
    where do  we assign the smartforms to the output types? and where do we assign the function module for smart form?
    regards
    Kumar

    Hi,
    You assign the smartforms and the print program in the customizing of your functionnal area ( MM, PP, SD, ... ).
    So txn SPRO then look for 'ouput management'...
    You do not assign the smartforms FM . In your print programm ( driver prog ) you got the code to retrieve the correct FM from the smartform name.
    Hope this helps,
    Erwan

  • Reagrding modification in the select statement of smart form

    hi,
    i have been assigned to make modifications in smart form and now if i want to add field in the existing slect statement it gives error . when i check smart form there is no structure but dere in types declaration
    d internal table is passed as a table itself in the form interface and also defined the variables in the global definations . but problem is how reterive data from dese variables in to smart forms which i want add right now as i am new to the smart forms.
    Edited by: ric .s on Mar 12, 2008 10:16 AM

    hi,
    i had checked the internal table which is passsed in the program whihc conatins statement :-
    data : ivbkd like vbkd occurs 0 with header line.
    data : ikna1 like kna1 occurs 0 with header line.
    and also passed in the form in d program as it is .
    den what s the problem coming after doing all these steps .
    plzz help me out as help will be deinfately rewarded.

  • How to use Multiple Logos in One Smart Form?

    All,
    I have a client where they will have 2 logos for, e.g. "Invoicing" and want the form to decide which logo to print (based on plant code).
    We are using Smartforms.
    They want to use one form and based on the plant code - the form should determine which logo to print in the upper left corner of the invoice - how do you do this?
    This is not like having text to print on the form in the same place - my understanding is the logo is NOT some variable you can "clear" in the program and then use the logo you wish to show up on the printout.
    Does this have something to do with using multiple layouts within the same form?  You define a layout for each logo and then within the Smartform logic determine which layout to print?  And if that is true - does someone have sample code of how they determined which layout to use?
    Thanks - and as always - points rewarded where helpfull!
    Scott

    Hi Scott,
    Create two Graphics in Smartform window & place them wherver you want in the smart form.
    Now in Graphics node, you can find  'Conditions' tab, under this you can give the conditions.
    Hope this clue wil help you
    Regards,
    Sujatha

  • How to display Smart form in Multiple Languages ?

    Hello,
    Very Good evening!
    How can I print the Smart Form in Multiple Languages like Korea, German and Japneese....
    I got a requirement where I need to display the developed Smart form in these languages. As of now it is displayed only in the Language ENGLISH.
    Any Suggestions will be appreciated!
    Regards,
    Kittu

    Hello kittu....
    I would recommend that you create a single Smart Form in the primary supported language (or the one which you're most comfortable maintaining forms). Embed all necessary logic in this form, and design it with the idea that it would need to be viewable in multiple languages .
    Then use transaction SE63 to translate all necessary form components into each desired language -- one by one -- and they will all be bound together under the same form name. In my experience, a basic multi-column spreadsheet (put together with the guidance of professional translators) works well as a translation guide.
    The advantages of a single, shared form include: consistent look and feel, avoiding dual maintenance for shared logic (or, in your case, up to 10x maintenance), and simplified output determination. On the other hand, a single form does constrain your design and can make for a more complex implementation.
    Hope this is useful
    Best of luck,
    Bhumika

  • Smart form assignment for fb60 document

    Hi Experts,
    I have one issue pertains to smart form, my client wants to take print with his logo at the time of FI invoice document.
    Once user post the invoice in FB60, the using the document number we need the details in a form.
    For this abaper developed a smart form, but i could not find where these form will be assigned for print, and requirement is that  in the FB60 transaction itself if user press the print button then taking this developed form to print.
    Please suggest that how to make these assignments?
    Regards,
    Raghav

    HI,
    I don't think you can call the form developed directly from FB60 after posting the document. 
    I would recommend to use the functionality of correspondence. 
    After posting the document in FB60 from Menu --> display document and from there you need to generate the correspondence request and then print the form from F.64.
    Regards,
    Kiran Yelamarthy

  • Regarding printing multiple PO using Smart forms

    Hi Abap Gurus,
                             i have to print the multiple purchase order in smart form such that first purchase order number details in first page. second purchase order in second page. how can i acheive this solution. i searched in sdn but not found a proper solution.

    hi,
    use this function module
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZTEST_SMARTFORM'
    IMPORTING
    fm_name = fm_name.
    it passes the function module name generated....
    then call that function module..
    CALL FUNCTION FM_NAME
    EXPORTING
    control_parameters = wa_control_par
    output_options = wa_output_options
    IMPORTING
    job_output_info = it_otf_data
    TABLES
    it_nfal = it_nfal_final.

  • Problem in multiple printing in the Smart Forms

    Hi Experts,
    From the driver program I am passing Internal table with multiple records for employee,
    But the smart forms is printing only single form for the employee.
    Could you please suggest what need to be done in order to print multiple forms for employee.
    Regards,
    IFF

    IF sy-tabix EQ 1 .------>only for first loop it will give dialog box
          CALL FUNCTION fm_name
            EXPORTING
              user_settings      = 'X'
              vbeln              = it_vbeln-vbeln
              pdf                = r2
              rbiclear           = c3
            IMPORTING
              job_output_options = job_out
              einv               = einv.
        ELSE.
               c_par-no_dialog = 'X'.----
    > if u set this then u will not get dialog box again and again
           out_opt-tdnoprev = 'X'.
            out_opt-tddest = job_out-tddest.
            out_opt-tdprinter = job_out-tdprinter.
          CALL FUNCTION fm_name
            EXPORTING
              control_parameters = c_par
              output_options     = out_opt
              user_settings      = space
              vbeln              = it_vbeln-vbeln
              pdf                = r2
              rbiclear           = c3
            IMPORTING
              job_output_options = job_out
              einv               = einv.
        ENDIF.

  • Multiple smart form outputs

    Hi all,
    i want to print multiple purchase orders in smart form
    i have two windows in smart form layout
    header window and main window
    in header i need to print few header details
    and in main window i need to display correspoinding line items
    I need every po to be start in new paper or new form
    In driver se 38 program
    I_header - contains all header info
    i_lineitems - contains all item info ofPO'S
    iam confused whether i have to call SSF_FUNCTION_MODULE_NAME
    between loop of i_header .
    like this
    loop at i_header.
    PERFORM SMARTFORM_FM.
    endloop.
    if this right how do you want me to pass the info to smart form
    in form interface i would declare a table similar to item
    and header info right i need only one row right?
    FORM SMARTFORM_FM.
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = 'ZTEST'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    importing
       fm_name                  = fm_name
    exceptions
       no_form                  = 1
       no_function_module       = 2
       others                   = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    CALL FUNCTION FM_NAME
    ENDFORM.
    Thanks

    Hi,
    Yes you will have to call smartform function module inside the loop.
    some what like this.
    loop at header_itab in workarea say HEAD.
    refresh and clear itab_export.
          loop at items_itab
              append these lines to itab_export which you will pass to smartform
          end  items_itab
    now call smrtform function module
         and pass head and table itab_export which you populated above
         inside item loop.
    endloop.
    Hope this makes sense. let me know if need more details.
    Enjoy SAP.
    Pankaj Singh.

  • Smart forms with multiple languages

    Hi friends
    How to create smart forms in multiple languages please assist me.....
    Thank you friends in Advance for helping me...

    1) Goto-->SMARTFORMS-->Create Form-->Form Attributes-->General Tab-->Select Translate to
      all langagues.
    2) Logon in any Language and open the same form it will automatically give the opoup to translate
    the langauge.
    Regards,
    Gurpreet

  • Single Spool for multiple smart forms

    Hi,
    I am doing Cheque Printing  My multiple smart form in single spool
    I Created Single spool for multiple smartforms and i can able to see all the smart forms in single spool
    While I am printing smart form from spool it is taking only first page.
    Any inputs how to slove this.
    Regards
    Azeez
    Edited by: Rasheed salman on Feb 3, 2010 7:41 AM

    Hi,
    You can call Open Spool and Close Spool function modules. Between these two fm you can call your smartforms. Just have a look the procedure below.
    Call function OPEN_SPOOL.
                 Call function SM1
                 Call function SM2
                 Call function SM3
    Call function CLOSE_SPOOL.
    Hope this will resolve your issue.
    Thanks,
    Abhijit

  • Smart form problem with multiple pages & table problem

    Hi experts,
    I have a problem with my smart form with multiple pages
    Situation: I have a smart form that ALWAYS has at least 2 pages. In one page the quotation, in the second page (basically this is the 3rd page as the 2nd page is optional) the terms and conditions. Sometimes however, when there are many items in the quotation more than 1 page is needed for the quotation.
    The (optional) second page of a quotation has a different header than the first page of a quotation. So I made a second page with 2 secondary windows (where the header texts are in). The main window is after the secondary windows and has to finish the quotation.
    The problem is that my headers of the second page are never printed, it stays a blank space. The table however does continue and is printed.
    Another problem I have is that I have a table (with the quotations) with 6 columns. The first 2 columns are displayed correctly but once the 3rd column the columns are shown on a lign below.
    Regards,
    PJ

    I would suggest another approach to this problem.
    Use just one page. For the headers on the first page, use a secondary window and on the conditions tab, choose the additional event - Only on First Page.
    For the different header on the second page, create another secondary window on the same page (probably even overlapping the first header on your layout). But in this one, on the conditions tab, choose the additional event - Not on First Page.
    The table should flow as you would be using the Main window for this one.
    As for columns, if they are too wide and wont fit in the same line, it would move to the next line. So you would have to re-adjust the line width and test.
    Hope this resolves your problem.
    Regards,
    Ancy
    Edited by: abapfreak on Oct 4, 2010 11:52 AM

  • How to display multiple records in smart forms in new page for each record

    Hi,
              How to display the data from a internal table in a smart form.
    I want each record to be displayed in seperate page.
    please tell me with example.
    thank u,
    Sarath

    Do this ,
       in the main window - open a loop on your internal table ,
    within the loop open the text and give the output fields,
    after this text  use the Command node and in this set the next page as page1,
    so when the loop gets executed its first record will be on the first page and the second record will be on the next page and so on ..
    Reward to usefull answers.

  • CREATION OF MULTIPLE PAGES IN SMART FORMS

    Hi,
    I have a smart form in which i need to create 2pages.First will be followed by next and next by next
    I created the first page and then i created the next page .
    when i created first page i got a default main window and when i created a second page i.e the next page ,i did not get any default main window and when i tried to save it gives an error saying page without window cannot be saved.
    WHEN I CREATED A WINDOW WITH MAINWINDOW BUTTON ENABLED IT SAYS ALREADY EXISTS AND TWO MAN WINDOWS CANNOT EXIST .cAN ANYONE PLS HELP ME OUT REGARDING THIS
    THANKS

    hi
    good
    1-go to smartforms
    2-in a smartforms there is only one main window you can create,it is not like sap script that you can create 0 to 98 main windows,so on main window ll come bydefault but if you want to create another window that would be called as subwindow and that you can create by right click on the main window node and select create window.
    3-After selectging the window one small window would arise over the main window screen , you can give any size of that window and on the right hand side of the window node you ll find three tab from there on general attribute would be there,from there you select secondary window ,because every second window other than the main window is called as secondary window.
    now you can try like this it ll definitely work fine.
    thanks
    mrutyun

Maybe you are looking for

  • Problem in Using scanned .pdf format files

    I have an old (5-6 years old) Canon N670U flat bed scanner.  I use it for scanning books of my interest.  It can give each page/document  scan in pdf format directly.  However each scan becomes a separate file lthough serially numbered while scanning

  • HP Pavilion p7-1414 Won't Boot from CD

    Hello, I recently bought an HP Pavilion p7 1414 desktop computer, I'm trying to boot from a CD to reinstall Windows 8 - I've set the CD to boot first in BIOS, but when I restart the computer and have the CD in, 'press any key to boot from cd' isn't s

  • Will uninstalling and reinstalling Itunes delete my library?

    I have to uninstall itunes due to it not being able to read my ipod. I have found many ancient threads that mention that my 'music' will not be deleted reinstalling itunes. What I would really like to know is if my apps, movies, synced CD's, basicall

  • Deploying html files.

              Hello,           I have a war file which has jsp and servlets . When I deploy this war file on           the server I can reference the jsp and servlets without any problem thru the url           mapping i configured in web.xml, but i am no

  • Stored procedure in  package return multiple columns from multiple tables

    Hi , Can a single stored procedure return multiple column values from different tables. example: tabA: col2, tabB:col3,tabC:col4 etc. one more question: if a stored procedure like to return 10 columns for a particular record from a single table do i