Regarding address to print in smartform

Hi,
i have requirement, when im printing a smartform of purchase order,its displaying 'delivery to(plant address)'
is printing but my requirement is when i select check box of subcontractor at item level it should display that subcontractor address and when i dint select that check box it should same default address(plant address)
Thanks,
Rajesh

Place your condition in your address node,
Example
if checkbox <sub-contract> EQ 'X'.
Display sub-contract address.
if checkbox <sub-contract> NE 'X'.
Display plant address
Note: make sure you pass this check box information to smartform.
close the thread once your question is answered.
Regards,
SaiRam

Similar Messages

  • Regarding Address- Not Printing in ARE1 Document.

    Dear All,
    I have maintained the Address in the following table J_1IADDRES,however in the Table J_1IEXCHDR the Address field EXC_ADDRESS_NO is not getting picked up as a result of which the address is not printing in my ARE1 Document,please advice where do I need to maintain the same in customization for the address to get printed in the ARE1 Document.
    Best Regards
    Atul Keshav

    Hi Atul,
    Maintain the Address first in LG --> Tax on Goods Movement --> India --> Basic Setting --> Maintain Postak Addresses.
    Then assign this Address in the last column of Series Group  in LG --> Tax on Goods Movement --> India --> Basic Setting -->Maintain Series Grp.
    Thanks & Regards,
    Hemant Patil

  • Regarding Page number printing in smartform

    Hi All,
    I have a requirement wher i should print multiple PO in smartform. It is done..a small issue regarding printing of page numbers. Lets say i am printing three PO
    first PO has 20 items
    second has 2 items
    third has 1 item.
    Now the forst Po can have multiple pages it should print as
    Page 1
    page 2
    page 3.
    Now after the end of first PO second PO is printed on new page and numbered as Page 1..and so on.
    So how can i do this.....
    Thanks,
    Regards,
    Narsimha Kulkarni.

    Hi,
    Create a paragraph format with dynamic page numbers.
    Smartstyles>numbering and outline->select numbering type from list dropdown.
    use this paragraph format for displaying the page number with any code.
    and before processing your logic create a COMMAND in your smartform and in the reset paragraph numbering give your paragraph name so that it refreshes page numbers every new PO's. (you have place this according to your code).
    Thanks,
    Sree.

  • Issue with character formats using duplex printing in smartform

    Hi all,
    I am getting a problem with character formats using duplex printing in smartform. I am using a text module with a bold character to display text in a window. The problem is that on the first back page,the text is being printed normally (without bold), but on the next pages, the back pages are being printed with the bold character format.
    Can anyone know where is the problem..please.
    Points to be rewarded..
    Thanks.
    Regards,
    Zaheed.

    Hi Zaheed,
    Normally this should not happen.. and also there is no internal formatting done by SAP.. it will show based on what fomatting option we have specified..
    If you are saying it is happening in ur case then
         1. Recheck whether whether you have same text module getting printed on the
             two page. If they are different then then individual check formatting option for
             each..
          2. If above point does'nt work for you ..then instead of bold char use normal
              format for text element and see if it is printing same on both page..
    Try this out and let us know your findings...
    Enjoy SAP.
    Pankaj Singh

  • Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf".

    Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf" dated 15 Dec 2012 9:20 AM.

    Look everyone that comes here with a support problems has gone through all the normal channels, around and  round in circles with no one seeming to be interested. They've called every phone number, every email address they can find. They have been put on hold and bounced fifty times to another operator only to be hung up on. If Adobe would bring back support to main land and have people that know what's going on instead of having people that people can barely understand read from scripts. Scripted information only applies about 10 % of the time. I'm just giving people an alternative. after they have torn their hair out going the normal route.  If they had been able to get a solution they wouldn't be coming here for help.
    There should be a forum set up just for people to air these issues and Adobe employees forced to man it. Then we wouldn't have to have such a Bad attitude. Right now Adobe's Support reputation is worse than Intuit's which did have the absolutely worse on the Planet. Now they are number 2.
    You know it yourself that Adobe's support is absolutely worse than terible. However to prevent me from being banned from the forums I will simply will provide the adobecare email address from now on
    So let's sweep it under the rug.

  • Number of different copies to be printed in smartform

    Hello,
    I have developed a smartform with 3 different pages, now when i give a print command , the first page should print 2 number of copies , second page should print 3 number of copies and the third page should print 4 number of copies.
    Is it possible in smartform, if so how?
    Thanks and Regards
    A

    hi,
    for printing different copies u have to use loop in main window and check for the condition for number of page.
    and den after printing all the values in mainwindow put command node and mention page no say page1 in urcase there put condition fr watever amount of repeated copies u want ex 2 in ur case.
    then once 2 times page 1 has been printed put a commad for goto page 2 and loop accordingly for the no of time u want
    then for the third page.
    hope this will help u .
    regards,
    prashanti

  • Print the user address in print layout

    hi
    i need the print the user address in print layout.the address store in OUDG. but i call this field in pld. But its not print anything..please any one give the suggestion
    We have the three branches.but using one pld. So the user default address show in pld in automatically changes as per user enter.
    Edited by: Isayah.I on Nov 6, 2008 9:53 AM

    Hi there,
    So you have three branches using only one PLD? If the address is not showing. please try to create a three PLD's for the three company branches, every time the user print a PLD they must choose a PLD assign from them.
    Regards,
    Clint

  • Regarding Smart Form Printing, Print Preview issues

    Hi,
    I have couple of issues regarding Smart Form Printing, Print Preview.
    In my program i am passing below parameters to smart form function module:
    t_control-device = c_printer.
    t_control-no_dialog = space.
    t_control-preview = space.
    t_control-no_dialog = c_x.
    t_output-tddest = g_spld.
    t_output-tdimmed = c_x. " Print Immediately
    t_output-tddelete = space. " Don't Release spool after output
    g_user_settings = c_x.
    Issue#1: Though i have set preview paramter to space, after executing program it is prompting for Preview Screen, There again i have to give printer name though i am passing printer name as above and i need to hit on print preview button to set Layout output.
    Here how can i go directly to layout output without preview screen.
    Issue#2: In some cases we need to Print the layout set output after executing program immediately without prompting for preview screen and then Layout set output should also be shown after printing the output.
    How can i solve these issues!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    In the SAP menu screen goto <b>System->User Profile->Own data</b>
    There in the defaults tab, for the output device give the value you had maintained for <b>g_spld.</b> This will not prompt you a dialog screen, and if you want to print immediately select the checkbox as well. Then try to execute the smartform. Hope this solves ur issue.
    Tushar

  • Bar-code printing in smartforms

    Hi All,
    how to done or step by step procedure of bar-code printing in smartforms.....guide me please.
    Thanks,
    Regards,
    Vishal Bhagwat.

    Have a look at below PDFs. It will give all the details abt scripts.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
    Also have a look at below links:
    http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf.
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm

  • Ukrainian text on preview is fine but gives junk char on print in smartform

    HI All,
    I am trying to print hardcoded ukrainian text in smartform. In preview it is coming correctly but while printing it gives some junk charecters.
    During my analysis i found out that previously existing hardcoded text is coming fine on printing but it is showing different charecters(than the one on the printing) in smartform node and in print preview.
    Regards,

    Hi,
    Do you use a device type that supports Cyrillic characters to create the spool and print? e.g. Device type SAPWIN, SAPWIN5 or Unicode device type SWINCF?
    If you use a non-Unicode device type like SAPWIN or SAPWIN5, then the font used for these characters in the smartform should be a Cyrillioc font like COURCYR, HELVCYR or TIMECYR.
    Regards,
    Aidan

  • To print the Smartforms in Hindi

    Dear All,
    My latest requirement is to print the Smartforms in Hindi. Can anyone please guide me through this?
    Thanks in advance.
    Regards,
    Sourav

    Hi Sourav,
    This question had been discussed earlier though no concrete solution was posted.
    Still you might find a few helpful posts.
    Follow this link :
    Re: SAPScript in different language
    Regards.

  • Error in Print Preview smartforms

    Hi All,
    I have done a program for PO Print.(smartforms)
    I am getting an error while printpreview stating that
    "Table row is larger than 176 cm"
    This error is only coming for some selected PO's
    Please help .
    Thanks & Regards
    Mona

    U can try and use smartform_trace transaction to trace ur smartform alos to search for particular code use like this->
    Goto-> environment-> see fm name
    suppose it is like
    /1BCDWB/SF00000036
    Now
    edit like this
    /1BCDWB/LSF00000036F01
    open this in se38
    now search with ur line item node name.
    also put a break point here ans when it stops for debugging set a watch point to stop at particular line item which u want out of 50 item u have.
    кu03B1ятu03B9к

  • ALV output to be printed in smartform

    Dear Experts,
    There is a report which uses ALV using webdynpro ABAP. Say the report has 5 columns A, B, C, D, and E.
    There is also a custom button on ALV 'Print' which calls the smartform to display the output of the ALV( All columns ).
    Now the requirement is, user may hide any of the columns in ALV, say, user chosen to hide B, and D columns. So ALV displays A, C, and E columns respectively.
    When the user presses the 'Print' button smartform should display only the columns selected by the end user on the webdynpro screen. In this case it is A, C and E columns.
    Now is there any way to cpature the list of columns selected by the user or hidden by the user before we process the smartform.
    If there is any please let me know.
    Thanks in advance!
    Regards,
    Shashi

    Dear Experts,
    Awaiting for any replies on this.. Please help in case of any information on this.
    Thanks in advance!
    Regards,
    Shashi

  • Print with SmartForms

    Hello
    I'm trying to print a SmartForm.
    I've got a function module from which i want to call the form.
    The functions I use are these here:
      control_parameters-no_dialog = 'X'.
      control_parameters-device = 'PRINTER'.
      control_parameters-langu = 'E'.
      output_options-tdnoprev = 'X'.
      output_options-tddest = p_printer.
      output_options-tdprinter = ''.
      output_options-TDIMMED = 'X'.
      output_options-TDDELETE = 'X'.
      output_options-TDLIFETIME = 0.
      output_options-TDCOPIES = '001'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZPITU_LABEL'
        IMPORTING
          fm_name            = lf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      CALL FUNCTION lf_fm_name
        EXPORTING
          control_parameters = control_parameters
          output_options     = output_options
          p_vbeln            = p_vbeln
          p_posnr            = p_posnr.
    but it prints every time on the standard printer.
    which option do I have to set that it prints on another printer?
    thank you and regards
    Dominik Forster

    Check the code.After executing the code it will ask you for the printer enter your printer name.
    data :   g_dest TYPE rspopname,
             g_printer TYPE rspoptype.
    *FM to accept the device type and returns the short name of the output device
      CALL FUNCTION 'EFG_GET_PRINTER'
        EXPORTING
          x_no_dialog  = ' '
          x_obligatory = 'X'
        IMPORTING
          y_tddest     = g_dest
        EXCEPTIONS
          cancelled    = 1
          failed       = 2
          OTHERS       = 3.
    *device type name for the output device
      SELECT SINGLE  patype                "#EC CI_NOFIELD
             FROM tsp03d
             INTO g_printer
             WHERE padest = g_dest.
      output_options-tddest = g_dest.
      output_options-tdprinter = g_printer.
    Add this FM and this code smartly in your program .If you face any problem revert back

  • Subject Line & Sender's Email Address Not Printing

    When using ePrint to print my emails, the sender's email address and the subject line do not print.  How can I get them to print?
    This question was solved.
    View Solution.

    Hi eldi,
    Thank you for the update.  
    If I knew how design engineers thought then I probably would have become one.
    You should be able to see who sent the email to the printer by logging into your HP ePrintCenter account or your HP Connected account (HP Connected has only been rolled out to the USA, the UK, France, and Germany).   Each account has a job/print history available.  If you are unsure who sent the job to the printer, you can always log into your account and check the email address the print job was sent from.   I’ve included a screen shot from each account and I've highlighted where you would find the email address that sent the print job.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

Maybe you are looking for

  • Migration of Items for which IR done and GR not done

    Hi, We are migrating from legacy to SAP. On FI we are migration following items - Migration of Trial Balance as of a cut off date - Migration of AR,AP and GL Open Items We will have some IRs for which GRs are not done, what should be strategy for mig

  • How to change the background color of a desktop??

    any ideas how to change the background color of a desktop?? Now the default color is blue. I couldn't fine the API in JDesktopPane on doing that.. JDesktopPane desktop = new JDesktopPane(); //(textArea);

  • Error when selecting batch during prod order creation

    Hi Gurus, When selecting batch for production orders components, an error prompted 'Invalid batch, does not match the selection criteria in batch determinat.' After checking, it is because the classification is not maintained. So I need to re-create

  • LSMW: error in 5.0 version

    Hi all, while running LSMW, i am getting the following error @ read data radio button. "Error when uploading file 'C:\Documents and Settings\ajonnala\Desktop\'dataupload' (Return Code = 17)." Here dataupload is the file name tha I ve uploaded. Can an

  • Enable server side soring

    Dear all Can please someone tell me how to enable server side sorting in LDAP version 6.3. My application requires that this functionality to be enabled and i don't know how to enable it. please advice.