Selection of line item

hi,
Hi,
i want to select the lines in table control of transaction va02 and then want to delete that line through a program for selection, but how can i know that this line is selected and then proceed further.
regards
m.phanindra

Hi
   I may not give you the exact answer, but i think this will give you an idea in solving your issue.
   1) When we select some line from the list, then 'AT LINE-SELECTION' event will get triggered... You can write the required coding in this block of the code.
   2) Inorder know which line is selected, we use the HIDE area for that.
   ex: HIDE: wa_spfli-carrid,
                  wa_spfli-connid.
    This HIDE will store all the field values which come through it, and When a row is selected the data that has been hidden for that particular row will be made available again in the AT LINE-SELECTION block.
   Hope this will help you.
Thanks
Ravi

Similar Messages

  • Itunes - how do i select multiple line items not in sequence ?

    itunes - how do i select multiple line items not in sequence ?

    Hold down the Command key and click each in succession.
    To extend the selection across items that ARE contiguous, use the Shift key.

  • Query runs forever when using selection on line item dim

    we have a cube zcube which has po number as a line item dimension .
    everymonth users run queries this cube using po number as selection
    criterai and using a wild card search on this field . every time
    queries have run fine . however , this month when we try to do so
    the query runs forever and no results are returned . i also tried
    listcubing with similar selection but it also did not return any results .
    our production system has lot of data . i tried in test system it worked fine
    i checked the cube for compression and indices in production , they look fine
    can anyone think of anything that could have gone wrong ? also did rsrv tests ..
    but all come green
    we have not done any developments on this cube , however we have shifted to
    a new hardware in the past month . can anyone think of any reasons ?
    anything that can help me catch the issue ? all suggestions welcome

    Not sure,
    Are you saying that you need both the counts seperately? or a combined count?
    how are you joining alpha and beta tables? what is the join condition?
    you need to do something like this,
    SELECT COUNT(CASE WHEN
                        (A.col1 = 'Pete' AND SUBSTR(A.col2,,1,12)=SUBSTR(B.col2,,1,13))
                     OR ( A.col1 != 'Pete' AND SUBSTR(A.col2,,1,15)=SUBSTR(B.col2,,1,15))
                    THEN 1 ELSE 0
                 END)
    FROM alpha A, beta b
    WHERE alpha.join_cloumn= beta.join_columnG.

  • Abap query to select a line item # from bseg on basis of following pattern:

    Hello,
    I want to retrieve the line item # from bseg which has the following pattern,
    account type = S
    AND
    gl account starting from 135***** , 136***** , 137*****
    , 138***** , 139*****
    hope i am comprehendable. How do i go on writing the query,
    Thanks..
    Shehryar

    Hi Shehryar,
    This will fetch records with GL A/C starting with <b>13</b> only , if you want 14 and others also write sepearate conditions using <b>LIKE</b> statements.
    REPORT zztest.
    DATA : itab TYPE STANDARD TABLE OF bseg WITH HEADER LINE.
    SELECT * FROM bseg INTO TABLE itab WHERE <b>koart = 'S'
    AND
    hkont LIKE '13%'</b>.
    This will take a lot of DB time for fetching the records, try to include Key Fields(BUKRS and GJAHR .. if possible others).
    Regards,
    Arun Sambargi.
    Regards

  • MIRO Deselect and select Multiple line items

    Hi All,
    At the time of miro we are taking the reference of PO. In PO we have 1200 lines related to Custom duty, additional custom duty, ecess, clearing and forwarding charges and freight.
    we want to do the MIRO for custom duty, additional duty and freight only, for these we have 600 line items. we need to select these lines one by one. this is time taking job.
    can any body tell me that how we can select these line at once.
    Regards all

    Hi,
    You can make use of Planned Delivery cost in the PO Refernce Tab. This will cover all other costs other than you basic material or service cost.
    Regards,
    amit

  • BDC OK CODE To select PO Line Item

    Hello,
    Can anyone tell me the BDC OkCode to select a particular line item in a PO.
    Thanks
    Viky

    are you using me22 or me22n ?
    if me22, just below the table control,  you can see a field 'Item' .  if you key in 50 in this item,  item 50 will come to the top line.
    so while doing recording, pass the line item number to this field, RM06E-EBELP, and then hit enter....
    loop at your internal table with bdcdata, and pass each item numbers one by one to this field, and do the bdc.
    Message was edited by:
            Sujamol Augustine

  • Select last line item from VBAP

    Dear SAP experts,
    This might sound very silly question but I am new to SAP world.
    is there a simple select statement to select only higest line item.
    Say for example in VBAP, I have 9 line items.
    then my select statement should find the last line item. ie. 9th item.
    Actually, I have a situation where a custom table has 2 key fields and I want to select the only 1 line with higest number in 2nr column. Thank you.
    Anitha.

    Hi,
    types: BEGIN OF ls_vbap,
             vbeln TYPE vbap-vbeln,
             posnr TYPE vbap-posnr,
           END OF ls_vbap.
    DATA : t_vbap TYPE STANDARD TABLE OF vbap WITH HEADER LINE,
           wa_vbap type ls_vbap.
    data: lv_line type int4.
    SELECT vbeln posnr FROM kna1 INTO TABLE t_vbap.
    *****If you just need the last record then write the code  as shown below:
    DESCRIBE TABLE t_vbap LINES lv_line.
    READ TABLE t_vbap INTO wa_vbap INDEX lv_line.
    if sy-subrc = 0.
    write:/ wa_vbap-vbeln.
    endif.
    If you the need the last record after sorting then use the below code:
    SORT t_vbap by vbeln posnr DESCENDING.
    READ TABLE t_vbap into wa_vbap index 1.
    if sy-subrc = 0.
    write:/ wa_vbap-vbeln.
    endif.

  • How to select classification (line item in Contract)

    Hi
                  In the material master data (Basic data2), I have maintain the cross-plant CM for characteristic.  I update data in line item (push button : item details : Configuration) of contract . I don't know which table that keep information that I would like.
    Regards
    Wiboon

    Hey man.
    I think you would like to get configuration variant ,right?
    ALL FUNCTION 'CUD0_GET_VAL_FROM_INSTANCE'
      EXPORTING
        instance                 = VBAP-CUOBJ
    IMPORTING
      TYPE_OF                  =
      OWNER                    =
      tables
        attributes               = it_attr
    EXCEPTIONS
      INSTANCE_NOT_FOUND       = 1
      OTHERS                   = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Have fun.
    Sayan.

  • F110 How to select some line items form Proposal to pay.

    Hello
    I have create a proposal and extract text file with all customers and their checks,
    after that i need to select some items from proposal to pay , not all proposal items.

    Hi Yasser.
    If I understand well, you want running a proposal only for few selected items ok?
    For that you need select open items:
    Go to Tcodes: FBL3N or FBL5N, choose the documents numbers of the open items
    Go to Tcode F110  "Free Selection"   > "Selection Criteria" in  "Field Name" select "Document Number". then put the documents numbers of open items there. So,  the select items will be in the proposal.
    Example
    Kind Regards
    Jandoval Nascimento

  • Performance issue with selection of line items.

    Hi All.
    I am facing seriour Time_Out error problem for my program. Actually i am developing RFC and i have to send data to non sap system as it is in sap tables. Now i have to send data for BSIS for new entries for a day. SO first i search BELNR for CPUDT in BKPF and then use for all entries on BSIS. But now my problem is for a single day i am getting 1679 documents from BKPF and when i use for all entries in BSIS, it will give time out error.
    my code is like
    SELECT BUKRS BELNR GJAHR
       FROM BKPF INTO CORRESPONDING FIELDS OF TABLE I_BKPF
          WHERE CPUDT IN S_CPUDT.
    if i_bkpf[] is not initial.
    SELECT * FROM BSIS INTO TABLE I_BSIS
       FOR ALL ENTRIES IN I_BKPF
          WHERE BUKRS = I_BKPF-BUKRS
                       BELNR = I_BKPF-BELNR
                       GJAHR = I_BKPF-GJAHR.
    endif.
    So please gurus help me ..its urgent..

    Instead of writing Select * write Select "Fields names" then try might be it will solve ur problem.
    Reward points is helpfull

  • Delivery doc creation for a selected line item of the Sales order

    Hi folks,
        Can any one help me in how to create a delivery order for a selected line item of the Sales order.My requirement is the request comes from the web browser where a sales document and details of the items are shown the user select one line item and request for delivery create of that particular SO doc.I have used couple of FM to create delivery but the delivery create is depend on the schedule line dates so iam unable to figure out where exactly i can distinguish between the line items.
    Example:
    SO:- 11193645
    Line item -1 has 2 schedule line 06/11
                                     06/13
    Line iteam-2 has 1 schedule line 06/12
    so if i try to create Delivery doc for date 06/12
    it creates partially for line 1 and line 2.
    but my requirement is i wanted to create SO for only line item 1 as i wanted to process Del Doc for only line item 1.
    If you have any idea please help me.

    hi ,
    You can develop a customised FM to process the Idoc data .
    1. Read the Idoc data into internal table for the line items which need to be delivered .
    2. Run BDC for transaction 'VL01N' ( delivery creation ) through which  eliminate the line items which are not in internal table and save the delivery document
    Note : Because in VL01N , you specify the sales document with respect to which you want to perform delivery hence automatically all items are copied to the delivery document .
    During BDC recording , select items by " MOVING TO TOP"
    and then deleting the selected item
    If you face problem in BDC recording , i can help u that too .

  • Unable to capture the Line items row in BDC kindly help

    Hi All,
    I am trying to run the Tcode CJ40  here after i enter the project id and press enter a tabular form appears and we need to select the appropriate line item in that table .
    When i try to do teh recoding using SHDB tcode it is not capturing that line item at all :(.
    I tried to do the recordig usig the page down and tehn selecting teh line item in the table but still it doesnt capture in teh recording ,
    Kidnly suggest me what needs to be done.
    Thanks in Advance.
    Sana.

    Why dont you try with BAPI BAPI_BUS2054_CHANGE_MULTI
    Check the Documentation

  • Line items are clubbed in Handling Unit's

    There are two line items in delivery for same material , while packing  I am selecting single line item  and packing it . But when I select line item 10 and try to pack it, line item 20 also automatically getting clubbed with line item 10 and getting packed together .
    For this material , rounding profile has been maintained .I canu2019t delete this rounding profile because when we process single line item for this material , system has to round off . Suppose , material is rounded off for 30 units in material master and  rounding profile has been assigned for this material.
    My requirement is handling unit need to be created for single line item , system should not consider 2nd line item while creating handling unit for first line item even though first and second line items consume same material .
    In delivery, suppose , there are two line items for same material . for first line item quantity is 20 and  for second line item , it   is 23 .  
    When I try to pack it manually , system should create 2 handling units with quantity of  20 and 23 nos .  System   should not create handling units with quantity of 30 and 13 .
    What configuration change I need to make in handling unit management .
    Thanks In Advance
    Jaya

    Hi Pratyush
    I have checked up in  both the places, POP2 and POF2,  target quantity was mentioned as 1 only for this material  .
    still ,Why is system not considering only one line item's quantity while packing . why is it clubbing both line items .
    Pls help me ........

  • Vendor line item report in New GL

    Hi
    We have activated New GL. We need vendor line item report based on GL view. FBL1n provides report based on entry view. But we need simillar to FBL1n based on GL view. There is a standard report S_AC0_52000888 which provides vendor line item doucment wise with New GL characteristics such as profit center. However, this report does not provide additional information such as posting date, due date et.c which is available in FBL1n. Hence, we are unable to monitor vendor accounts at profit center level.
    Can anyone suggest how to add additional fields in the above report or any other report available for the same.
    Thanks
    S.Radhakrishnan

    hI
    Thanks for the reply.
    As per your suggestion, we need to bring GL view parameters from FAGL* tables. I need clarification here:
    1. In our case, single line item in BSIK may correspond to multiple profit centers and hence multiple line items in FAGL* tables.
    2. Users run the report for multiple vendors ( beig range) with their profit centers as selection criteria.
    3. In the above case, we need to select all the line items for that vendor and go to FAGLFLEXA and select all line items and delete all line items not pertaining to the profit center entered as selection.
    4. The above process would be time consuming since all the open items will be selected and then delete all those items which are not required.
    5. Else, can we select the items from FAGLFLEXA directly for the profit centers entered and bring additional information from BSIK table. Since vendor accounts are not there in FAGLFLEXA, it would be cumbersome and time consuming.
    6. Which of the above approach would you recommend.
    7. Is it possible to modify the ACO report so that we can add additional information such as posting date, due date etc.
    Regards
    S.Radhakrishnan

  • Unable to delete line item with 0 quantity in Invoice.

    Hi Experts,
    I came across a Invoice which reflects in VF04 as pending Billing due list. When i checked at the inter company Invoice i came across a line item with "0" quantity and price as zero, interestingly the replinishment cross company delivery document  for the same line item for "0" quantity had a Batch assigned to it.
    Now the issue is cusotmer has selected the line item with XX quantity and have selected the accounting document to be generated but the line item with "0 was left over and now still reflects in VF04.
    Customer does not want to reverse the full cycle to resolve the issue since the document was created a year back.My Question  is can we get the line item with "0" quantity to clear accounting so that it will not reflect in VF04.If so what will be process to do that.
    Thanks in Advance to advice.
    Regards,
    Sridhar.R

    Hi,
    It is  not possible to delete this line item, you can discuss with your client and delete it from the table.
    And now coming to the reasons why it has come into the invoice & Delivery
    1. The Batch Item category must have been configured as relevant for billing...check this and make it irrelevant if the client does not do batch specific billing. --- This will stop the batches from coming into the invoice.
    2.  Check for the batch item category in delivery if Zero quanity is allowed...if it is allowed make it not allowed and make it an Error message, whenever there is a zero quantity system will give a message.

Maybe you are looking for

  • I am having two problems with tabs in FF 4.0.1: no close "x"; and new tabs don't open adjacent to active tab.

    <blockquote>Locking duplicate thread.<br> Please continue here: [/questions/819008]</blockquote><br> I don't know if it's a glith with mine, a change in the software, or a setting that isn't set, but my tabs don't have an "x" to close them. Also, my

  • Automatic Restart

    Since installing Leopard, each morning when I arrive at work my computer is already turned on. It is in a secure location so I am certain no one is booting it up. I have checked the options (energy save/schedule) for automatic restart and nothing is

  • Extraction fichier U3D d'un PDF

    Bonjour. Quelqu'un a-t-il une astuce pour récupérer un .u3d inclus dans un PDF ? Source perdue devant être reprise et modifiée. Merci

  • Nokia 6.83.14.1

    There seems to be an issue with this version of pc suite. If you try and send SMS from the pc suite, you will not be able to choose the recipients whose default text number has already been set. The previous version however, worked different, if the

  • What should I do for full internet surfing to noki...

    as subject.