One page for every line item?? how to achieve this?? - urgent !

Hi  all
Could anyone tell me how to print the based on line items in smart forms i.e., one line item corresponds to one page in smart forms?
I have some data to be passed even from other tables except the ones in the line item in all the pages
I mean to say that i have some commone data to be displayed in all the pages and some fields based on line items.
Please help me out in this??
Regards
Nivetha Selvam.

Hi
Transfer a single line (instead of the table) to the smartforms or force a new page after printing one line
Max

Similar Messages

  • Mail sent by the program are getting appended for every line item in ITAB.

    Hello Experts,
    My program has to send mail for every line item in my internal table. Each line itme will provide the data to be filled in body of the mail .Now the problem is when i recieve mail in outlook the body of the mail is getting appended every time i recieve the mail
    For example , if the mail has to go for 3 entry in itab out of five then i'm getting 3 mails but 2nd has body of 1 also and 3d has body of 1st and 2nd.
    I'm using loop - endloop and it is happening due to this but is there any other way out to send mails for each line without body getting appended.
    Please see the code below i'm using:-
    LOOP AT lt_bg INTO lw_bg.
    PERFORM populate_message_table.>>>>>>Preparing body
    PERFORM send_email_message.>>>>>>>>> need to capture in loop as evry line itme has distinct subject of mail
    ENDLOOP.
    PERFORM initiate_mail_execute_program.
    Thanks,
    Naveen

    Hi,
    I'm using Clear wa and refresh ITAB but still i'm getting the body appended.
    Thanks

  • When send email with emoticons to a pc user, emoticons show as an empty box. Also, email content has a symbol on every line. How to stop this from happening?

    When send email with emoticons to a pc user, emoticons show as an empty box. Also, email content has a > symbol on every line. How to stop this from happening?

    Dear Mr. Toad (my all-time favorite ride at Disneyland ;-) ..
    Thanks so much for your detailed reply.. my netbook is in the bedroom, turned off.. I (so far) only use it in the evening, in the bedroom.. I've saved your response, and will try your suggestions, and let you know if they solve the problem I described. I really appreciate you taking the time to post such a detailed reply..
    I can't answer your Thunderbird "configuration" questions, because I'm in the living room, using the crap Vista laptop, on which I plan to install Thunderbird, and then take Windoze Mail out in the street and drive over it a few times.. I'll get back to you one way or the other, and let you know if your instructions solved the problem, or not..
    I don't understand why Thunderbird "out of the box", so to speak, simply doesn't forward HTML emails with embedded graphics, (like Outlook Excess, and Winblows Mail do).. without having to go through those steps. I personally HATE HTML email, but over the years, it's become more and more prevelant.. so it's a problem I must fix..
    Thanks again..
    Harv..

  • New contract account for every line item in subscription order....

    Hi Guys,
    I am having a problem with the subscription order.
    Whenever I change the subscription order and add a line item to it, SAP by default  creates a new contract account for that line item. Whereas I want to assign the same contract account to the second line item also.
    Can you suggest me any solution for this problem?
    Thanks in advance...
    Regards,
    Abhay

    Hello Abhay,
    This is the normal and correct function for SAP. If you would like for the subscriptions to be on the same contract that you subscriber has, an enhancement has to be developed.
    We had a similar requirement and an enhancement was developed per specifications.
    Regards,

  • In graph at the a particular value (threshold value) in Y-axis horizontal line have to display like a alert for the user. How to achieve this? (In WebI)

    How to achieve this in WebI?

    Just create a measure for it. Here's an example in E-Fashion:
    This is Sales Revenue for 2006; all I've done is added a new measure called "Target", which is just:
    =900000
    The chart is a combined chart. The Z Axis scale wasn't the same as the Y so I manually changed it to hard coded minimum and maximum values - you get the idea.
    HTH
    NMG

  • Deleting and Adding components in a Sub contracting PO, for every line item

    Hi,
    I have requirement where in I need to change the Item category from Blank to 'L' for a given Line item, and for this Line Item I need to go to the Delivery Schedule lines and delete the existing Components and add new components to every Delivery Schedule line. This is going to be a LSMW object with a custom program.
    I tried for recording ME22N, but couldn't do this as ME22N  is not BDC friendly, and in ME22 the Item category field is Display only. I also tried with Function modules/BAPIs but nothing seems to be working out.
    Can anybody help me get a solution to this requirement. Would appreciate a quick response as its a priority requirement for me.
    Thanks in Advance,
    Saleem.
    Ph : +91-9845627631

    1. You will definitely create two subcontracting info records for two raw materials say RAW1 and RAW2.
    2. There will be two seperate production versions for these two materials.
    3. Update respective production versions in respective subcontracting info-records.
    4. This will help to upload the alternate BOM even you changed the material from PO
    Amol

  • For every line item, I want to write horizontal line.

    Hello experts,
    In the main window of my sapscript form, I am displaying multiple line items. What I want to do is write a horizontal line so what I did is this:
    /: SIZE WIDTH '75.0' CH HEIGHT '0' LN
    /: BOX FRAME 10 TW
    /: POSITION YORIGIN +1 LN
    I was having a problem yesterday as to why my &ULINE& is always shorter than the width of my MAIN window. So I am currently experimenting with BOX statement. But the problem is, I want to write it after every end of a line item. I placed the code above where the original &ULINE& was placed(inside the main window).
    Hope to hear from you guys. Thank you and have a nice day to all!

    Hi,
    Below is my code inside my MAIN window.
    MAIN
    /* Element /E set outside PROTECT statement
    Element POS_ZEILE
    /: PROTECT
    I1 ,,&MSEG-ZEILE&,,&MSEG-MATNR&,,&MSEG-ERFMG&,,&MSEG-ERFME&
    /: IF &MSEG-BWART& EQ 'Z75'
    =  ,,&MSEG-UMLGO&
    /: ELSE
    /:  IF &MSEG-BWART& NE '315'
    =  ,,&MSEG-LGORT&
    /:  ENDIF
    /: ENDIF
    /: IF NOT &MSEG-BWART& EQ '631'
    =  ,,&MSEG-CHARG&
    /: ENDIF
    /: IF &MSEG-BWART& EQ '631'
    =  ,,&KNA1-NAME1&
    /: ENDIF
    /: IF &MSEG-BWART& NE '631'
    /: IF &MKPF-TCODE2& NE 'MB01' AND &MKPF-TCODE2& NE 'MIGO_GR'
    I1 ,,&MSEG-WEMPF&
    /: ELSE
    I1 ,,&MSEG-EBELN&
    /: ENDIF
    /: ENDIF
    I2 ,,&MABDR-MAKTX&
    /: PERFORM GET_RCV_LOC IN PROGRAM ZSR_GOODS_TRANSFER_SLIP
    /: USING &MSEG-EBELN&
    /: USING &MSEG-EBELP&
    /: CHANGING &WA_KOSTL&
    /: ENDPERFORM.
    /: IF &MKPF-TCODE2& EQ 'MB1A' OR &MKPF-TCODE2& EQ 'MB1C' OR &MKPF-TCODE2& EQ 'MIGO_GI'
    /:   IF &MSEG-GRUND& EQ ''
    /*     IF &MSEG-BWART& EQ 'Z29'
    /* ,,</><TX>&MSEG-SGTXT(15)&</>
    /*     ELSE.
    =  ,,&WA_KOSTL&
    /*     ENDIF.
    /:   ELSE.
    =  ,,&MSEG-GRUND&
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB01' AND &V_REVRS& EQ 'Y'
    /:   IF &MSEG-GRUND& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-GRUND&
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MIGO_GR' AND &V_REVRS& EQ 'Y'
    /:   IF &MSEG-GRUND& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-GRUND&
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB1B' AND &MSEG-BWART& NE '315'
    /:  IF &MSEG-BWART& EQ 'Z75'
    =  ,,&MSEG-LGORT&
    /:  ELSE
    /:   IF &MSEG-UMLGO& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-UMLGO&
    /:   ENDIF
    /:  ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB1B' AND &MSEG-BWART& EQ '315'
    /:   IF &MSEG-LGORT& EQ ''
    =  ,,&WA_KOSTL&
    /:   ELSE
    =  ,,&MSEG-LGORT&
    /:   ENDIF
    /: ENDIF
    /: IF &MKPF-TCODE2& EQ 'MB1A'  OR &MKPF-TCODE2& EQ 'MIGO_GI'
    /:   IF &MSEG-KOSTL& EQ ''
    =  ,,&MSEG-EBELN&
    /:   ELSE
    /:    IF &MSEG-BWART& EQ 'Z29'
    =  ,,<TX>&MSEG-SGTXT(15)&</>
    /:     ELSE.
    =  ,,&MSEG-KOSTL&
    /:    ENDIF.
    /:   ENDIF
    /: ELSEIF &MKPF-TCODE2& EQ 'MB1B' OR &MKPF-TCODE2& EQ 'MB1C' OR &MKPF-TCODE2& EQ 'MB01'  OR &MKPF-TCODE2& EQ 'MIGO_GR'
    /:  IF &MSEG-BWART& EQ '323' OR &MSEG-BWART& EQ 'Z73'
    =  ,,&MSEG-GRUND&
    /:  ELSEIF &MSEG-BWART& EQ 'Z75'
    =  ,,&MSEG-GRUND&
    /:  ELSE
    /:    IF &MSEG-UMCHA& EQ ''
    =  ,,&MSEG-EBELN(10)&
    /:    ELSE
    =  ,,&MSEG-UMCHA(10)&
    /:    ENDIF
    /:  ENDIF
    /: ENDIF
    =  ,,&MSEG-KUNNR&
    /: IF &MSEG-BWART& EQ '601'
    /  ,,   &V_BEZEI&
    /: IF &V_MATGRP& EQ 'X'
    /: ENDIF
    /: ENDIF
    /: ENDPROTECT
    /: IF &V_SERIAL_NO& = 'N'
    /: SIZE WIDTH '75.0' CH HEIGHT '0' LN
    /: BOX FRAME 10 TW
    /: POSITION YORIGIN +1 LN     
    /: ENDIF
    Element SERNUM
    /: PROTECT
    /: IF &V_SERIAL_NO& = 'Y'
    /: IF &V_FIRST_NUM& = 'Y'
    /: IF &SERIAL_TAB-END& EQ &SPACE&
    SI ,,Serial Numbers:,,&SERIAL_TAB-START&
    /: ELSE
    SI ,,Serial Numbers:,,&SERIAL_TAB-START&,,-,,&SERIAL_TAB-END&
    /: ENDIF
    /: ELSEIF &SERIAL_TAB-END& EQ &SPACE&
    SI ,,,,&SERIAL_TAB-START&
    /: ELSE
    SI ,,,,&SERIAL_TAB-START&,,-,,&SERIAL_TAB-END&
    /: ENDIF
    /: ENDIF
    /: IF &V_FINISH& EQ 'Y'
    /: SIZE WIDTH '75.0' CH HEIGHT '0' LN
    /: BOX FRAME 10 TW
    /: POSITION YORIGIN +1 LN
    /: ENDIF
    /: ENDPROTECT

  • How Can I Create One Entry Sheet For Multiple Line Items of A PO

    Please Tell Me How Can I Create One Entry Sheet For Multiple Line Items of A PO

    hi,
    It is not possible to create single Service Entry sheet for multiple PO line items. It is 1 to 1 relation.
    you have to make different service entry sheets for different item of service master.
    regards
    Manish Joshi

  • How to insert horizontal line dynamically after every line item in sapscrip

    Hi All,
    I have to insert a horizontal line  after every new item in sap script.
    How to do this .
    In some material there is2 line item or in other line item it ay be more .
    How to insert horizontal line dynamically after every line item
    Point will be rewarded
    Regards
    Niraj

    Hi Niraj,
    You can get your work done by keeping the horizontal line (&ULINE&) after all the item level fields, in this case once each item line is written you will get a horizontal line.
    In case you have different fields for the item lines which are optional (not printed every time) then you can have them in an IF....ENDIF condition and below the endif use a horizontal line.
    Some thing like this:
    /E ITEM_HEADER
    IL <TI>Item,,Material,,Description</>
    IP <TI>,,,,Quantity,,,,Price,,Price unit,,,,,,Value</>
    / &ULINE(71)&
    Let me know if this helps, else please describe your problem with an example.
    Luck.

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • How to get the texts for each line item for Sales order in a smartform

    I'm createing a smart form in which i need to display certain texts for each line item of a sales order. How can i get those??
    I'm trying with the table STXH and FM read_text... but i'm not clear how and what i'm getting... can anybody pls help me.....

    Hi There,
    But then i will be getting only the value. i want to link that against the particular material of the Purchase Order.
    Like for ex:
    PO No.  Material Code        Line Item        Basic        Excise       Tax       Inv Value
    0000001 5000251                010               100           16         4.64      120.64
    0000001 5000252                020               200           32         9.28      241.28
    Can u help me on this?
    Regards,
    Jitesh

  • How to draw horizontal line at the end of table for multiple line items

    Dear Experts,
                       Pls can anyone help me how to draw horizontal line at the end of table for multiple line items . kindly help me regarding this
    Thanks
    Ramesh Manoharan

    Hi
       I tried as per your logic but it is not solving my problem .  when i am gone to table painter it is showing line type 1 and line type 2
      is below format.. if u see here line type 1 bottom line and line type 2 top line both are same..  so how to avoid this ?
                              line type 1
                             line type 2

  • How can I activate drill down report for planned line items please urgent?

    Hi Everyone,
    Please suggest me how can i activate drill down report for planned line items in internal orders. S_ALR_87012993. Please suggest me, I'll award full points. I am unable to do it in client system, which has already line items. I tried in my sys with new config it is working.
    Kind regards
    Arvey.

    Hi
    It is based on the reports attached in the Report Group - TCODE: GR53
    In the Report Group screen
    Press CONFIGURE – This is to attach any Drill Down reports.
    Press the “Insert Line” icon
    As is the screen may be used to insert a Report Writer report group. To add an ABAP, press “other report type”
    Double click on “ABAP Reports”
    Enter the name of the ABAP and ENTER
    <b>RCOPCA08                       Profit Center: Plan Line Items</b>
    VVR

  • How to restrict separate payment document for each line item in APP

    HI Experts
    PLs let me know how to restrict separate payment document for each line item in APP
    Thanks
    Sneha
    Edited by: Sneha R on Apr 14, 2009 4:18 PM

    Sneha,
    If your query was to group items for payment ,in FBZP  co code data for payment method there are 2 options 1.group payment for marked items 2.payment per due date.
    Also in the Vendor master there is a flag which will ensure that each item is paid individually,if this is what you were looking for  ( FK02 change vendor).
    In case you want to group items to be paid together Payment Grouping Key can be assigned in Vendor Master .
    Shony

  • How can i show item schedule line details in Tableview for each line item

    Hai all,
      I need to display schedule line details  in Tableview for each line item.for example in each row i need to put one column along with button , if i click on this table that row  should be expand vertically and must show all schedule line details in that.if i click my button again the visible expanded row should disappear...
    if anybody works on this previously plz send some sample code...
    leoiz....

    To modify rows the best way is with the Iterator (do a search in the weblogs for "Iterator")
    However for what you want to do I've only seen this really work successfully with a standard HTML table not using the tableView.

Maybe you are looking for