Selection of a line Item for printing

Hi,
  I am fetching three records in an ALV grid display with a check box option, i am not getting how to use the check box option to select the particular selected line, i want to use that selected line to be printed in a smart form. Also is there any other option for selecting a particular line through ALV grid  to print in the smart form.
Thanks,
Swarna

Swarna 2 points here, u r saying checkboxes..?And wht if user chooses more than one checkbox..?? Or you want to display the records in ALV and choose any one record and pass the values to SMARTFORM..??
I guess you want to pass only one record if that is the case then use radiobutton funtionality, and by using EVENTs capture the choosed line and pass the same to SMARTFORM. Let me know if you have queries. If you ask me to code  then i will charge for that..:) :).
Regards
Venkat

Similar Messages

  • Add BOM line items for printing those line items in  cs03 transaction

    User will display the BOM line items and when he go by menu path EXTRAS->More-> so at the end of sub menu we need to add one more option for View and Print for that we need to use the menu exit and accordingly we need to add code to capture the related function code and display respective BOM line items in the ALV format. Further on if user wants to print those he should be able to do the same.

    The BOM item node number STPO-STLKN is an 8 digit field therefore I would imagine that you could have a maximum of 99999999 items..
    But you could use multi-level BOMs which would allow you to organise your components better.
    PeteA

  • Need a table to be printed at end of line items for each Header level

    Hi Friends,
    I have to print a table in the smartform at the end of all the line items.
    The problem is
    For example there are 2 Header Details say A B  and header A has 15 line items and B has 8 line items.
    Now I am printing header A line items first. Suppose each page can have 5 line items. At the end of line items for header A I need to print a table at the end of line items for each header
    Page1
    A1
    A2
    A3
    A4
    A5
    Page2
    A6
    A7
    A8
    A9
    A10
    Page3
    A11
    A12
    A13
    A14
    A15
    Table1 has to be printed on this page
    Page4
    B1
    B2
    B3
    B4
    B5
    Page5
    B6
    B7
    B8
    Table2 has to be printed on this page.
    Does any one had this kind of situation?
    Waiting for your replies.
    Thanks,
    Chaithanya
    Edited by: chaithanya k on Mar 20, 2008 5:08 PM

    Hi,
    Thanks for your reply and sorry for the late response.
    I have 2 tables one is the Header table and the other is Item table. After printing all the item details and then it should print the Header level details at the end of the items details.
    Hope you understand. Please see my question where I have given an example.
    Thanks,
    Chaithanya.

  • Issue with report (S_ALR_87013611) that is actual/plan line items for Cost

    Hi Gurus,
    I am having issue with the report (S_ALR_87013611) that is actual/plan line items for Cost Center.
    When i execute the report for a cost element  510200 the amount is 23,380.13, but when i drill down on it by double click on that amount the value in obj curr is 15468.91. Hence there is the differnce. When i futher drill down by double click on the amont of 15468.91 and i go to display group currency and take the total it is 23380.13 and display in local / doc currency the amount is 15468.91. I guess due to this there is difference. The cost center & the cost elements are the same i have checket it.
    My concerns is that the group curr is USD and obj curr / local curr is USD. So is group curr and doc curr is USD then when i click on dislay curr and select group curr why the amounts are changing.
    Kindly adivce

    Try to look if there is any filtering criteria applied in the report to which you drill-down.
    The difference can be also caused by the "value type" - some reports show actual and statistical costs together in one column while the others strictly show (are defined to show) only e.g. actual costs (type 04) and not the statistical costs (type 11)

  • Line items for the PO are not automatically displayed

    Hi all,
    When attempting to post an invoice against PO, the line items for the PO are not automatically displayed. When we went to the Listing of PO's and brought this up, we noticed under the "invoice"tab that the: Invoice Receipt & GR-BsdIV is checked.
    need your help
    Thanks
    Fayaz

    Hi,
    Can you check delivery complete indicator in PO. It is in PO item details delivery tab.
    In MIRO transaction, select the  tab Purchase order/scheduling agreement, enter PO number and press enter.
    Right hand side select the layout all information .
    Regards,
    Chandra

  • Separate line item for taxes in accounting document of MIGO

    All SAP Gurus,
    As we can have separate line item for Freight amount (Freight amt credited) in accounting document for MIGO.
    Similarly is it possible to have separate line item for tax amount which is inventoried.
    Regards,

    Hi Rajan,
    Freight is from pricing procedure whereas tax is from taxing procedure.
    Tax cannot be shown in separate g/l in MIGO.
    Reason:
    If u wanna show tax as separate item then we need to debit tax a/c in migo as well as it has to go to inventory which is not possible(double accounting enrty on debit side).
    I too tried to do the same by specifying 2 for posting indicator and selecting non deductible for the nonsetoff account key used in the taxing proceudre in OBCN but it is behaving like setoff tax.
    U can also try doing the same and then check.
    Reg
    Raja

  • More than 999 line items for an FI Document

    Hello All,
    Per SAP standard, an accounting document can only contain up to 999 line items. However, we have Logistics posting (Backflush) that would yield more than 999 line items in FI. We can't opt for setting summarization in transaction OBCY (FI Summarization based on Object Type) since this would affect GR/IR clearing. We can select reference transaction key MKPF (Material Doc Table) and table BSEG (Field MENGE <Qty>) but GR/IR clearing would be affected since definition of clearing is at Purchasing Doc (EBELN) and Item (EBELP).
    Do you have other recommendations?
    Thanks.

    Dear scorpio0485,
    Yes ! I have already done posting for morethan 999 line items. but in the standard program we cant do it. We need to go for Z process.
    In Zprocess we need to put one cut off line item for ex : 900 or 950. After that hardcode one GL code(clearing GL Code) in program to split the line items. Means the system generates 2 documents.
    Please give the following Code to ABAPer
    AT END OF xblnr.
          mtab[] = ttab[].
          CLEAR v_count1.
          DESCRIBE TABLE ttab LINES v_lines.
          LOOP AT ttab INTO wa_ttab.
            v_tabix = sy-tabix.
            v_count = v_count + 1.
            IF v_count EQ 900.
              count = count + 1.
              v_count1 = v_count + v_count1.
              MOVE-CORRESPONDING wa_ttab TO wa_xtab.
              IF v_wtotal < 0.
                wa_xtab-newbs = '40'.
                wa_xtab-newko = '00003100001'.
              ELSE.
                wa_xtab-newbs = '50'.
                wa_xtab-newko = '00003100001'.
              ENDIF.
              IF v_dtotal < 0.
                wa_xtab-newbs = '40'.
                wa_xtab-newko = '0003100001'.
              ELSE.
                wa_xtab-newbs = '50'.
                wa_xtab-newko = '0003100001'.
              ENDIF.
              IF v_dtotal LE 0.
                v_dtotal = v_dtotal * -1.
              ENDIF.
              IF v_wtotal LE 0.
                v_wtotal = v_wtotal * -1.
              ENDIF.
              wa_xtab-prctr = '0000900008'.
              wa_xtab-dmbtr = v_dtotal .
              wa_xtab-wrbtr = v_wtotal .
    If you need anymore,please let us know

  • One Line Item for More than one Ship to Party

    Dear Friends
    In one sales order which has only one Line Items for example P-101 qty-40 pcs. That 40pcs should shipt to my 4 ship-to-party. How I end user to do it. in one Line item in One Sales Order.
    Kindly Regards
    Arun

    Hi Arun,
    First create four ship to party master data which will be having different address.
    Then assign those ship to party in your sold to party master data in the partner tab.
    If you want sent material P-101 to different persons then you have to divide the quantities in the line item like this
    P-101          10
    p-101          10
    p-101          10
    p-101          10
    Now select one line item and click on detail screen.
    After that go to the Partner Tab and change the Ship to Party for that particular item.
    Do this same procedure for other three line item also.
    Try this method it might work.
    Suneet Prakash

  • Line Item are Printing 2 Times

    Hi Experts,
                      when i am trying to take quotation print out line item is printing 2 times.......
                      Can anyone help me to solve this problem.....

    Hi,
             No i didn't select any other  tables apart from sales quotation rows, and i have two system variable field.......

  • Actual cost line items for network

    Hello all,
    is there a way to display actual cost line items for networks? I have tried the following ways:
    - CJI3
    - KOB1
    When entering only the network number, the error message KB422 is displayed (No line items were selected). When entering the WBS number to which the network is attached the costs are displayed.
    Any ideas? Thank you!
    Regards
    Christian

    Christian Philipp wrote:
    H
    > When entering only the network number, the error message KB422 is displayed (No line items were selected).
    There is no actual posting against the network exists.
    Christian Philipp wrote:
    When entering the WBS number to which the network is attached the costs are displayed.
    after running double click the document number and check the account assignment whether it is to WBSE or to Network activity. It will clear your doubt.

  • Single line item for multiple line item payment.

    Hi
    I have booked the 3 vendor invoices (in FB60) for a single vendor. Now today i paid (with F-53) all the three invoices together. One payment document number was generated.
    However when i saw the vendor line item, i saw that three debit line items was generated for the clearing the open invoices (i..e 3 credit line items). so when i say vendor line item report, there were total 6 cleared line items (3 for credit i.e invoice and 3 for debit i.e. payments)
    But is it possible to get  single debit line item for all the three invoices cleared. If yes, please let me know how i can get it.
    If i will have one single line item for payment, vendor report would be simpler. Please help

    Hi,
    1. If you do payment through F-53, then each invoice have separate payment line item. This is not avoidable. If you do payment through F110, then you can group the line items for payment, so there only one payment line item for many number of invoices.
    2. While clearing through F-44, system is generating automatic line items because, there are exchange rate fluctuations. You can't avoid these line items, as these automatic line items only match Debit and Credit amounts in order to post the document.
    Rgds
    Murali. N

  • Mass change of payment in customer line item for all open line item.

    Hello,
    We have updated the new payment as per the new agreement with customer in customer master. We want this new payment term should also be updated in all the open invoices which are not cleared. Is there are way we can do the mass change in Payment term as the open line item in the customer where line item are more than 50. Please let me know the transaction code for the mass change of payment term in Customer account balances.
    Thanks and Regards,
    Rajesh Kumar Mantri

    Hi
    you can find the way to change the payment terms
    first check weather the payment term field is having change option in your document change rules in the line item for you customers.
    Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing DocumentsDocument Change Rules, Line Item
    if the payment term BSEG-ZTERM(payment term) is there for your customer and having deselcted check box for changing document you cannot change payment term for your company code.
    This can done client level or company code level.
    if the payterm  can be changed you do changes to payment terms mass level.
    Thanks
    ANJI

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • Same material can exist on multiple line items for the same order.

    Hi
    Is there any specific customising setting or web shop setting through which we can restrict user to add same material on multiple line items for the same order ?
    Regards

    No.
    But if this is a must requirement, you can do an elaborate check during order save in ORDER_SAVE BAdI and return error. So, it will be only during order save.
    Eawar Ram
    http://www.parxlns.com

  • How to Close a Purchase Order line Item for GRN W/O Deleting the Line Item

    Hi,
    I want to Close a line item for Goods Receipt in a Purchase Order. How Do I do this?
    My Requirement is that the system should not allow for Goods Receipt for the Line Item.
    I know of 2 options which are difficult to Implement.
    1) I delete the Line item
    2) Put the delivery Completed Indicator - For this the system still allows for GR
    any Other way of Closing the line Item
    NS

    Hi, you can close the Line item by, doing partial GRPO, i.e if u use the Copy From option in GRPO, there comes a Draw docuemnt wizard, there you can choose one line item, and then put GRPO for that line item,
    The Wizard comes only in the Copy From option,
    Close the Line item, by right clicking on that Line item and then 'close Row'
    Edited by: Gayathri Panneerselvam on Dec 19, 2008 10:25 AM

Maybe you are looking for