Grouping of PO line items as a single unit

Hi...The Requirement is to group 3 line items of a PO as an entity so that the middleware transportation system (ETM) understands it as a single entity as thus should craete a single shipment instead of creating three 3 different shipments..Please provide me with suitable ideas to group the line items in the PO into groups of 3 each....every PO may contain 200 line items...Thanks for your reply and time in advance

Hi
If the material is same, you can create different schedule line in item level tab instead of creating different line item of PO. If the materials are different you can use tracking number(Requirement Tracking Number) field with some logic to group the line items.
If you want to club more than one PO then you can use Collective No field in additional data tab.
Regards
Antony

Similar Messages

  • Grouping of SC line items to single PO

    Hi,
    We are facing an issue with grouping of SC line items to one single PO as per the details given below.
    The requirement is if the SC has 10 line items as below
    5 line items with no source of supply                - 5 PO's
    3 line items with preferred vendor (82000000)    - 1 PO
    2 line items with preferred vendor (82000001)   - 1 PO
    In the first case 5 PO's has to be created. This is standard no issues.
    In the second case system has to group 3 line items to 1 PO.
    In the third case system has to group 2 line items to 1 PO.
    We have tried the BADI BBP_LOCAL_GROUP_PO and it doesn't help for the second & third case of our requirement.
    We tried using the Document change badi to convert the Prefferred vendor to vendor and could not do that.
    We also tried the FS BBP_SC_TRANSFER_GROUPED, but it doesn't cater to our requirement.
    Any help would be highly appreaciated.

    Here is a sample code that convert preferred vendor into fixed vendor.
    You can easily change it to your requirement )
    method IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE .
    Constants : c_vendor type BBP_PDS_PARTNER-PARTNER_FCT
    value '00000019',
    c_preferred_vend type BBP_PDS_PARTNER-PARTNER_FCT
    value '00000039'.
    Data : ls_partner type BBP_PDS_PARTNER.
    *Read Table it_partner into ls_partner With key PARTNER_FCT = c_vendor.
    *If sy-subrc NE 0.
    Loop at it_partner into ls_partner
    where PARTNER_FCT Eq c_preferred_vend.
    Move c_vendor To Ls_partner-PARTNER_FCT.
    Modify it_partner from ls_partner index sy-tabix.
    Endloop.
    *Endif.
    et_partner[] = it_partner[].
    ET_ORGDATA[] = IT_ORGDATA[].
    ET_ITEM[] = IT_ITEM[].
    ES_HEADER = IS_HEADER.
    ET_ACCOUNT[] = IT_ACCOUNT[].
    *break ybo
    *IT_PARTNER
    *ET_PARTNER[]
    endmethod.

  • Can it not possible that i can retrive it for all line items in a single qu

    I have to make report for my application in which I am facing a following problem:
    In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
    When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
    to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
    SELECT * FROM parts_events
    WHERE vendorid = ? AND partid = ?
    AND visible = 'visible' AND active = 1
    AND entrytime = (SELECT MAX(entrytime) as
    entrytime from parts_events
    WHERE vendorid = ?
    AND partid = ?
    AND entrytime < ?
    AND visible = 'visible'
    AND active = 1)
    the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?

    maybe if you can post some sample data and output will help us analyze more youre requirement.

  • BDC recording(updating two line items in a single call)

    Hi,
    I have a problem with the transaction PK31,while recording we enterd material number,plant,supply area in the first screen,after that it display line items for that control cycle,I want to update some fields in that line items,when i updated quantity and status fields in the first line item after that i cliked the change "qty/status button" and it saves that field values and it comes out from the transaction.
    can you please suggest what is the solution for updating two line items in a single call(PK31 transaction).

    Hi,
    In one screen . Put 2 containers with different names.
    cont1,cont2
    on each of the container call grid,grid1 like below .
    1. this is for item line display
    IF g_r_grid IS INITIAL.
          CREATE  OBJECT  g_r_cont
                      EXPORTING  container_name  =  'CONT1'.
        g_r_variant  =  sy-repid.
    *--Build  field  catalog
        PERFORM build_field_catalog.
    *--Layout selection
        g_r_layo-cwidth_opt  = g_c_set.
        g_r_layo-no_rowmark  = g_c_set.
        g_r_layo-sel_mode    = space.
        CALL METHOD g_r_grid->set_table_for_first_display
          EXPORTING
            i_buffer_active = g_c_set
            is_variant      = g_r_variant
            is_layout       = g_r_layo
            i_save          = g_c_set
            i_default       = g_c_set
          CHANGING
            it_outtab       = g_t_alv
            it_fieldcatalog = g_t_fieldcat
            it_sort         = g_t_sort.
      endif
    1. this is for error data display
    IF g_r_grid1 IS INITIAL.
          CREATE  OBJECT  g_r_cont
                      EXPORTING  container_name  =  'CONT2'.
        g_r_variant  =  sy-repid.
    *--Build  field  catalog
        PERFORM build_field_catalog.
    *--Layout selection
        g_r_layo-cwidth_opt  = g_c_set.
        g_r_layo-no_rowmark  = g_c_set.
        g_r_layo-sel_mode    = space.
        CALL METHOD g_r_grid->set_table_for_first_display
          EXPORTING
            i_buffer_active = g_c_set
            is_variant      = g_r_variant
            is_layout       = g_r_layo
            i_save          = g_c_set
            i_default       = g_c_set
          CHANGING
            it_outtab       = g_t_error
            it_fieldcatalog = g_t_fieldcat
            it_sort         = g_t_sort.
      endif

  • Required all line item on a single Invoice

    Dear Guru's,
    My user required all line item (e.g :10)on a single invoice,currently  he is getting 4 line item on a single page,he is getting his invoice on 3 pages instead of 1 page.
    Pls provide us the solution asap.
    Thanks In advance.
    VJ

    Dear VJ
    Sorry not clearly explained.  Assuming that in a delivery you have 4 line items and you want one invoice for this.  Presently, for u, line item wise one invoice is creating.
    If my understanding is correct, go to VTFL, select the delivery type and billing type and choose the item category.  There for the field Data VBRK/VBRP maintain routine 007.  Of course, you can also maintain 003 or 006, but at a later date, if you want club multiple deliveries to one invoice, then these two routines will not work.
    thanks
    G. Lakshmipathi

  • Group consolidate invoice line items

    Hi all,
    If I have multiple sales orders but all with the same characteristics at item level (material, currency etc.), and if I consilidate the sales orders during billing, will I also get a single invoice line item?  or will I get one invoice item per sales order item?
    Trying to avoid maxing out on the AR items.
    regards
    Tim

    Hi Tim,
    You will get invoice with as many items as you have in all sales order billing billed in that invoice. During posting to FI in general you will have one FI document line per item/GL account (determined from VKOA based on Customer Account Assignment Group, Material Account Assignment Group and accounting key assigned to condition type in pricing procedure) combination. You can limit number of G/L lines by applying posting aggregation for FI-SD interface. Youc an define the fields, which are not relevant for FI document and the fields will be cleared resulting in aggregation of the G/L lines on G/L account/posting sign (debit credit). Please be aware that the field you clear for aggregation will not appear in the line items in FI, so cannot be used as characteristics of the postings in the G/L.
    Regards,
    Marcin

  • Multiple invoice line items posted as single line item in FI

    Dear Gurus,
    My client has a specific requirement.
    We are required to maintain a rebate condition at item level. In the invoice the values of rebate conditons are appearing as per the line item. This rebate condition has been maintained as statistical and accrual key has been assigend to it. Respective configuration has been done in VKOA. Accural check box has been activated for the rebate condition type.
    Now when we are posting the invoice to FI, client requires that instead of line item wise posting of accrual amount it should post entire accrual amount in the single line item. In other words it is like posting of header amount directly, without any line item wise splitting.
    Please help me ASAP.
    Thanks in advance.
    Regards
    Piyush Ranpura

    Dear Friends,
    I am thankful for your replies. But probably I was not able to put the issue is the proper manner. Let us consider this example -
    Mat. codes - M1, M2, M3 & M4   Rebate cond. - ABCD    Accrual key - ABC    GL - 12345678
    In the invoice, rebate values are determined as follows for the each line item -
    For Line item 10, Material M1
    ZSHA   -   100
    For Line item 20, Material M2
    ZSHA   -   125
    For Line item 30, Material M3
    ZSHA   -   100
    For Line item 40, Material M4
    ZSHA   -   75
    While the invoice is released for accounting follwing entries are there
    xx 1 xx
    xx 2 xx
    xx 3      100  12345678
    xx 4      125  12345678
    xx 5      100  12345678
    xx 6        75  12345678
    xx 7 xx
    xx 8 xx
    But my requirement is
    xx 1 xx
    xx 2 xx
    xx 3    400  12345678
    xx 4 xx
    xx 5 xx
    How it could be done?
    Thanks & Regards
    Piyush Ranpura
    Edited by: Piyush Ranpura on Sep 1, 2010 9:10 AM

  • Determine grouping for bill line item

    Hi,
    I am doing some reporting on bills that have been issued (CC&B).
    I can get bill line items from the following query;
    SELECT B.BILL_ID, B.ACCT_ID, B.BILL_DT, B.DUE_DT,
    S.BSEG_ID, S.SA_ID, S.PREM_ID,
    L.*
    FROM CI_BSEG S
    INNER JOIN CI_BILL B
    ON S.BILL_ID = B.BILL_ID
    INNER JOIN CI_BSEG_CALC_LN L
    ON L.BSEG_ID = S.BSEG_ID
    --SELECT A PARTICULAR BILL, FOR EXAMPLE
    WHERE B.BILL_ID = '927321294079'
    --ONLY RETURN THOSE ITEMS THAT APPEAR
    --IN THE SUMMARY SECTION ON THE BILL
    --SPECIFIED
    AND L.APP_IN_SUMM_SW = 'Y'
    However, I am stuck in trying to figure out the grouping area that the line item appeared in in the bill. CI_BSEG_CL_CHAR tells me whether or not the item appeared on the bill, but not the grouping. The information that I need seems to be in the CI_RC_CHAR table, so the problem I am then faced with is how to link together bill line items with the rate component that is the source of the line item.
    Any assistance would be much appreciated.
    ec
    Edited by: 866928 on 12/07/2011 21:49

    I seem to have figured out the join...
    --THE FOLLOWING QUERY GETS FROM BSEG_CALC_LINE
    --TO THE RATE COMPONENT CHARACTERISTIC TABLE
    SELECT * FROM CI_BSEG S
    INNER JOIN CI_BSEG_CALC_LN L ON S.BSEG_ID = L.BSEG_ID
    INNER JOIN CI_SA SA ON SA.SA_ID = S.SA_ID
    INNER JOIN CI_SA_RS_HIST H ON SA.SA_ID = H.SA_ID
    INNER JOIN CI_RS RS ON H.RS_CD = RS.RS_CD
    INNER JOIN CI_RC RC ON RC.RS_CD = RS.RS_CD
    INNER JOIN CI_RC_CHAR RC_CH
    ON RC.RS_CD = RC_CH.RS_CD
    AND RC.EFFDT = RC_CH.EFFDT
    AND RC.RC_SEQ = RC_CH.RC_SEQ
    Thanks,
    ec

  • Different Cost Centers for Different Line Items in a single Reservation

    Hello Gurus,
    When we create a Material Reservation, we give the cost center at the header level and that cost center is accounted for each of the line items in the reservation. But when the reservation has many line items which depend on different cost centers,  there is a need to enter different cost centers for different line items in the same Material Reservation. How can this be done? Please suggest.

    Hi,
    It's a standard restriction in SAP functionality  where one reservation document can only accommodate one cost center.
    You can not maintain multiple cost centres for individual line items.
    You have to create seperate Reservations for each cost centre.
    check below thread:
    ONE RESERVATION FOR DIFF COST CENTERS
    Umakanth R
    Edited by: Umakanth R on Dec 8, 2011 7:53 AM

  • REG: Multiple material line item in a single HU

    Hi All,
    I am new to the concept of Handling units,
    I have a requirement where I am getting an Inbound IDOC with the necessary delivery information,
    and two line items are packed into a same handling unit(same handling unit number).
    line item mat          tot quan                     pk quan                    han unit no
    abc                        10                                 7                           1ZA500948563
    def                         10                                 3                           1ZA500948563
    abc                        10                                 3                            1ZA500948581
    def                         10                                 7                            1ZA500948581
    How to go about in fetching the two materials and assign different handling units
    Can two line items be pckd in a same handling unit and can that unit be assigned same han unit number.
    if so what are the necessary conditions to pck them.
    Please help me out in this regard!
    Thanks
    Srikanth.P

    Moderator message - Cross post locked
    Note that repeat violaters can end up with their account deleted.
    Rob

  • Different PO line items in a single delivery document?

    Hi all,
    In an inbound delivery document,can i have this scenario.
    Inbound delivery Line item1  created for Line itemm 1 of PO "10".
    Inbound delivery Line item2  created for Line itemm 1 of PO "20".
    Is this possible i.e. to have an inbound delivery erefrencing 2 different PO's ?

    I believe that you could have that as long as both of the PO items have the same criteria (i.e. delivery date, shipping mode, etc)

  • ERROR:  Local Currency does not equal Group Currency within line item(s)

    Hello SAP Gurus,
    I am getting the above error message while scraping the asset using ABAVN.
    Please help me.
    Many Thanks,
    Bob

    hi
    check your depreciation area settings for the Currencies.
    also check your company code has parallel currencies & Check whether foreign currency translation is maintained in the table.

  • How to create a PR with a group of line items in Maintenance Order

    Hi,
    I reqest for a solution for this scenario.
    I created aMaintenance Order with 45 materials assigned in that.
    Now I would like to have the ability to group split all line items in to certain groups and individual PRs for these groups
    I would like to group these 45 items in 10 or 12 groups and create PR for each of these groups.
    Plz guide how can I do this with any devlopment of a report.

    lukko wrote:
    Thank you for the reply. My first guess was that in case of arrays everything inside the VI should be closed in a loop and perhaps with varying number of inputs the loop could be avoided and this would improve simultaneous execution for multi-core CPUs.
    I would not base all conclusions on first guesses.
    Working with arrays is typically significantly more efficient (e.g. SIMD). We also have the parallel FOR loop where several iterations can be executed in parallel, thus fully supporting simultaneous execution.
    How exactly are you expecting the code to look like if you have a variable number of connectors?
    LabVIEW Champion . Do more with less code and in less time .

  • 10000 Line Items to be uploaded in Single Sales Order

    Hi
    Need to upload more than 10000 Line items in the Single Sales Order. What could be the best way of uploading it. is LSMW helpful?
    Response awaited. thanks
    Moni

    Can u advise the steps involved in LSMW?
    I believe it is not necessary to go for VA01.
    we can go for VA02 itself, as the Header data is going to be one and same. If we create a Sales Order with Header data alone and then using VA02 with that particular Sales Order number in LSMW...
    but will the total line items can be taken by Sales Order item level.
    this is what the clarification needed.
    To be very clear:
    Let us say, 10 Sales Orders each with 1000 Line Items. What could be the possibility??
    is there any solution for uploading like this? As i informed before, in LSMW for VA02 transcation, takes only the first 7 Line items in Sales Order from the Flat File with more the 1000 line items. That is, it takes only upto the line items which we can see in the VA02 screen and i feel the scroll down functionality is not working to upload above 7 line items. Something has to be done on this.
    Any pointer on this.
    rgds,

  • GL balance/line item by multiple account grouping

    I have around 200 expense accounts, I want to define GL account group or set,
    for example, I want to define fourty such GL group
    in FAGLB03 or FBL3N, we can only retrieve balance or line item by one account grouping and save as variants.
    is there any report or ways we can list down multiple account group balance or line item in one go?
    if I run FAGLB03  account group by group and list down period 1(Jan), period 2(Feb), period 3.....GL line item summarization figures it will take more than two weeks,

    Hi Siva,
    If i understand your requirement correctly, I think you can select multiple account groups from 'GL account line item display (FBL3N)' dynamic selection screen as shown in below screen.
    Regards,
    Prasad

Maybe you are looking for