In Sales order- Extras- packing proposal screen ,HU Sorting problem.

HI All,
In VA01/Va02/VA03 sales order screen-> Extras->packing proposal screen, handling units were shown on the basis of alphabetical sorting of packaging material field. (Handling units are getting sorted on the basis of packaging material field)
As per our requirement, we have to sort on the basis of handling unit number -EXIDV field(First field of table control ).
As it is SAP Standard screen, we have checked it in debugging and it is getting sorted on the basis of alphabetical sorting of packaging material field. Please refer the below mentioned snapshot.
In SAP Standard source code -LV51PU15,
they have written sort on VHILM(Packaging material field)
sort LT_VEKP BY SORTF VHILM VENUM EXIDV
We have tried with all Exit and BADI’S. To mention a few,
BADI_HU_MAIN
In this Badi Interface IF_BADI_HU_MAIN-> SELECT method, we are not allowed to change the internal table IT_HEADER.
BADI_HU_DIALOG
BADI_HU_HUMO
BADI_HU_PACKING_ALWD
BADI_HU_AUTOPACK
BADI_HU_SAVE
BADI_HU_CHANGE_INPUT.
Enhancement component - PACKING
We are in Kernel release 640 and Software component release will be
SAP_APPL     470     0026     SAPKH47026     Logistics and Accounting
Can anybody help me in this issue?
or
Would you please suggest any new BADI”S /Enhancements has been added in further release or any notes/patches have to be applied on this component(Component Name -SD-SLS) which will fulfill our requirement.
Awaiting for eveyone's Kind suggestion.
Regards,
Sankar
919819703298.

Roopvathy,
1. Did not understand the Packing status in Packing control?
2. I have maintained the Packing instruction in POP1. Only after this I maintained the determination record at the grid level in POF1.
3. I am trying the Automatic packing function in sales order. The profile for sales order(0012) is having the "Start Automatically" ticked and the Determination Procedure for Instruction is also there.
Please reply.
Regards,
Naren Dev

Similar Messages

  • Add fields to Sales Order Mass Change  selection screen

    Hi,
    Li & Fung customer customer needs to include following fields in the selection screen (Header Level)  and the display output in Sales Order Mass Change (/AFS/MDC).
    -     VBKD-BSTKD_E
    -     VBKD-KDGRP     
    According to the SAP documentation we have done the configuration (Add details of custom fields) and implemented the BADI u2018/AFS/MDC_SELECT_CUSTOM_FIELDSu2019 with following methods.
    -     /AFS/IF_EX_MDC_SEL_CUSTOM_FLDS~SELECT_HEADER
    -     /AFS/IF_EX_MDC_SEL_CUSTOM_FLDS~SELECT_CUSTOM_DATA
    Data selection part works perfectly, but if we do not enter any values in any custom field in  the selection screen, then the BADI is not working. The output displays the columns without any value for the custom field. However, for VBKD-KDGRP is added as a custom field in the selection, but it already exists in the output display by standard, and it does display the value.
    The system should display all custom fields values even if we did not input them as part of the selection screen
    I would like to know if we have missed something, or is it the expected behavior of this enhancement, which seems to be inconsistent. Also please advise if there are any other methods available to solve this issue.
    thanks very Much.
    Nilmini

    Hi Nilmini,
    In My case, I have added custom fields to MDC change screen by using /AFS/MDC_CHANGE_CUSTOM_FIELDS but its not appearing in Grid list display. Would like to appreciate if you can Help me to achieve this.
    Regards,
    Jelli

  • Field added in Aditional data tab of sales order line item at screen 8459

    Hi all,
    My problem is .
    I have appended one field in VBAP table, given it a name "WBS ELEMENT"
    The field is getting displayed in VA23 as well as VA02 Transaction.
    when i create sales order with the quotation reference,
    the "WBS Element"  of line item of quotation should get updated in "WBS Eleement "  of sales order line item
             This i am doing by triggering user exit.
    Problem is:
    Once Quotation  line item get copied to the sales order line item
    and the screen is in front of you with those details,
    before saving sales order .
    if you go at the sales order line item withou saving the document
    The field i have created in the screen 8459 i.e WBS Element ,doesnt get displayed.
    how could i retain the field Ihave created on screen 8459
    while creating the sales order from quotation before saving that sales order.
    Pleas help .

    Hi Vikram,
    It seems as it has been coded only to save the values into the new field that you have appended to VBAP. But before saving if the user wants to see the field, it is blank. You can try coding in PBO (process before output) of the relevant screen as follows:
    1. Get the reference of the quotation. Something like XVBAP-VGBEL will give this number.
    2. Get the value of Z field in VBAP by passing this quotation.
    3. Copy the above value to the corresponding Z field in XVBAP (or any internal table which holds VBAP data before saving)
    Please reward if helpful.
    Regards,
    Krishna

  • How to pass condition values fom sales order to packing list

    Hi!
    I need to show price amounts on the packing list printout from VL03N based on the condition value from the sales order document. Can anyone suggest how this can be achieved?
    Thanks!
    Cholen

    I think I have found a solution:
    - select vbak-knumv from sales order of delivery then select the condition values from table konv where vbak-knumv = konv-knumv.
    One can filter by kschl (condition type) if only particular amounts based on condition type need to show up.

  • User exit on Sale order creation -  Prog- SAPMV45A, Screen - 8459

    Hi All,
    I have added additional fields on Additional data tab on sales order creation screen on screen no 8459.
    I have decleared the fields in PAI as well as defined all of them in layout.
    But out of 14 fields only 13 input fields gets displayed on screen.
    The height and width of screen are enough to display all fields.
    Is there any limitation on maximum no of fields can be defined on screen?
    How can i resolve this problem.
    Regards,
    Deepak.

    Hi
    We had the similar issue and i think this is due to size of screen.
    Try to arrange the fields in 2 or 3 columns, it may work
    Regards
    Madhan D

  • Probelm in document flow if sales order created with Propose item

    Hi,
      I am facing one pronlem  I have created some sales order  as one sales order was there as 100030636  then i have created new sales order by pressing the icon propse item ->sales document default material with quanity  then ref. to this in new sales order  all item with quanity as per order comes in the new order 100030637    but when i check the document flow of order it is showing as below
    100030636  being proseesd
    100030637  OPEN,
    as there si no link between those to  just to copy all the material from old SO i have use propse item , so how this link can be removed  so that in the document flow of 100030637  the order 100030636  should not come.
    regards,
    zafar

    Dear Zafar,
    Check if there is a copy control between your sale order types in VTAA.
    If yes, then in the item category, uncheck 'Update document flow' and then check.
    Thanks & Regards,
    Hegal K Charles

  • Sales order number in assignment field by sort key

    Dear All,
    I want to populate sales order number in assignment field in GL account by when i want to create new sort key(which we assign in GL master in second Tab) system is not allowing me to use fied KDAUF (Sales order) .
    Kindly suggest the solution for that.
    Regards
    Shayam

    Thanks for Reply
    I have already tried validation and sub situation but that is not working and second is it is related to FI GL line item so SD consultant cant help i  that.
    Regards
    Shayam

  • Sales order with more than 9 items causing problem

    Hi,
    I have a situation here.
    A sales order is created in the system and since it is order related billing so its billing document is also generated. The billing document is not relevant for accounting. So, the only 2 documents are a sales order and its billing document.
    Due to some technical restrictions,if the number of lines is more than 9 the printout wont come.Henceforth,the user is unable to take a printout so I need to give him a solution.
    What shall I suggest him?

    Hi,
    >So, my question is that,should I ask the user to create a credit memo wrt the billing document and then split the sales order with 2 invoices(one with say 5 and the other invoice with the rest of the quantities)?
    So, if my undestanding is right then you want to create a credit memo after invoice ? If yes, then why are you splitting the sales order ? Also, this is something strange kind of ABAP logic which would not allow to print an invoice with more than 9 line items... Now, as you said if your sales order is having more than 9 line items then only print doesn't come.. right ? then in your case at this moment there are only 9 line items so ideally you'd be able to get a print.. right ?
    I think there is some confusion out here with your two posts.. kindly clarify...
    Hrishi

  • Screen compression problems in sales order additional data b screens

    When i enter va01 for the slaes order he screens are:
    SAPMV45A8309, Sales Document Header - User Exit Header
    SAPMV45A8459, Sales doc. Item - User exit item
    Use screen painter to change them. (transaction SE51)
    what happened is that i have four boxes in additional data b subscreens and i am calling another sub screen 9801 which contains table control what happened is that while run time i am getting gap in the boex of screen 8459, how to compreess the boxes or spaces to accomodate the table control.
    very urgent pls.....
    regards
    subba

    Thanks for your reply , Actually i am calling  9801 sub screen  with table control on to 8459 sub screen(sapmv45a program)
    still the problemm remains the same. I am using the code as below.zie,z01,zia are all modification groups to hide the boxes in the 8459 screen, pls check my code and revert back   urgently urgently.....
    PROCESS BEFORE OUTPUT.
                               Verarbeitung vor der Ausg
        MODULE ZZ_GET_TEXT.
       MODULE ZZ_FIELD_SETTINGS.
      CALL SUBSCREEN ZZAUDIT INCLUDING 'SAPMV45A' '9801'.
    PROCESS AFTER INPUT.
       CALL SUBSCREEN ZZAUDIT.
    MODULE    ZZ_FIELD_SETTINGS OUTPUT.
      LOOP AT SCREEN.
      Determine main grouping based upon mod group 3 field.
        CASE SCREEN-GROUP3.
          WHEN 'ZIA'.                    " Orbit  /interface architecture.
            PERFORM ZZ_FIELD_ZIA.
          WHEN  'ZIE'.                  " ERI interface.
            PERFORM ZZ_FIELD_ZIE.
          WHEN 'Z01'. " Generic -Relevant for all interfaces potentially.
            PERFORM ZZ_FIELD_Z01.
        ENDCASE.
      Handle display of contract versus other doc types.
        IF VBAK-VBTYP EQ  'G'.       "Contract doc type.
          IF SCREEN-GROUP4 NE  'Z02'.
            SCREEN-ACTIVE = 0.  " field not relevant for contract display.
          ENDIF.
        ELSE.                    "other doc types.
          IF SCREEN-GROUP4 EQ 'Z02'.
          Field not relevant for non-contract display.
            SCREEN-ACTIVE  = 0.
          ENDIF.
        ENDIF.
    FORM ZZ_FIELD_ZIE.
      IF NOT VBAK-AUART IN ZZR_AUART.
    IA related Doc Type - Hide ERI fields
        SCREEN-ACTIVE = 0.
      ELSE.
      IF SY-BINPT NE 'X'.         " Not Processing in BDC Mode
        SCREEN-INPUT = 0.         " Turn Off Input Ability
      ENDIF.
        CASE SCREEN-GROUP4.
          WHEN 'ZAU'.                " Audit Toggle Related
           IF zzshowaudit NE 'X'.
             screen-active = 0.
           ENDIF.
          WHEN 'ENA'.
            SCREEN-INPUT   = 1.
          WHEN 'ZTS'.
            IF SY-SYSID EQ 'DV2'.
              SCREEN-INPUT = 1.      " Testing Allowed in Development
            ENDIF.
        ENDCASE.
      ENDIF.
    FORM ZZ_FIELD_ZIA.
      IF VBAK-AUART IN ZZR_AUART.
      ERI related Doc Type  -Hide IA related fields
        SCREEN-ACTIVE = 0.
      ELSE.
        CASE SCREEN-GROUP1.
          WHEN '001'.                             "0902 specific fields
          WHEN '002'.                              "0902 WebCore fields
            IF  VBAK-VKORG NE '0902' AND
                VBAK-VKORG NE '0903' AND
                VBAK-VKORG NE '0917'.
              SCREEN-INPUT = 0.
            ENDIF.
          WHEN '003'.                              "0917 specific fields
            IF VBAK-VKORG NE '0917'.
              SCREEN-INPUT = 0.
            ENDIF.
          WHEN '999'.                             "Generic Fields
            IF VBAK-VKORG EQ '0917' OR
               VBAK-VKORG EQ '0902' OR
               VBAK-VKORG EQ '0903'.

  • Increase sales order items on VA01 screen

    Hi,
    We have a requirement to increase the number of line items that can be displayed on the order input screen VA01. The user in question currently defaults to 12 line items but wants that increased to 15. This is to facilitate pasting in line items from a spreadsheet.
    Thanks in advance for your help.
    Mike

    Mike, it is a resolution screen thing like the other poster said.
    I tested this a few years ago on a 21 inch Engineering with the super detailed resolution and got somewhere around 38  sales lines to display.
    That's about your only choice outside of using a BAPI and external file to populate lots of lines

  • Sales order packing proposal

    Hi
    I am creating  standard sales order with packing proposal and after saving the sales order the handling unit no is created.After crating the delivery document and Transfer order document,while packing another new handling units was created.It is not taken from the sales order packing proposal.
    can any one explian what will be the problem and tell me how to process packing?
    Regards
    Abi

    Hi,
    In my point view packing material should be used in the delivery document only.
    Not in sales order.
    Because in delivery document you can pack the material and get the handling unit number also.
    So why you want it should be done at the sales order level only?
    It's my point of view and it may be wrong also.
    But I will prefer to use the packing material in delivery document only not in sales order.
    Regards
    Raj.
    Edited by: Raj Aryan Malhotra on Jul 16, 2009 3:37 PM

  • Create and Pack Handling Units in the Sales Order Using HU_CREATE_ONE_HU

    Hello Experts,
    I am trying to use HU_CREATE_ONE_HU function module to create a handling unit and pack it with specific line items in the sales order program in the background.  I am able to create the handling unit and pack it but it does not get associated to the sales order / line item.  If you look at the sale order's packing proposal, it does not show it packed.  If I look at VEKP / VEPO, I see where it was created but there is no value for vbeln or the posnr I proposed.  Below is the code, I am using.  Does anyone know what I am doing wrong or is there another function module I can use?
    LOOP AT t_vbap.
        CLEAR:   is_header_proposal, it_items, es_header, et_items, et_messages, t_vbap2.
        REFRESH: et_items, et_messages, t_vbap2.
        is_header_proposal-exidv          = '$1'.
        is_header_proposal-exida          = 'A'.
        is_header_proposal-vhilm          = 'UNIBOX'.
        is_header_proposal-hu_status_init = 'A'.     "planned
        is_header_proposal-status         = '0001'.  "planned
        "get the components that make up this subassembly including the parent.
        SELECT * FROM vbap
          INTO TABLE t_vbap2
         WHERE vbeln = t_vbap-vbeln
           AND posnr = t_vbap-posnr. "parent
        SELECT * FROM vbap
          APPENDING TABLE t_vbap2
         WHERE vbeln = t_vbap-vbeln
           AND uepos = t_vbap-posnr.  "children
        "now load the items to be packaged in the proposal
        LOOP AT t_vbap2.
          CLEAR: it_item.
          it_item-velin    = '1'. "material item
          it_item-belnr    = t_vbap2-vbeln.
          it_item-posnr    = t_vbap2-posnr.
          it_item-quantity = t_vbap2-kwmeng.
          it_item-meins    = t_vbap2-meins.
          it_item-matnr    = t_vbap2-matnr.
          it_item-werks    = t_vbap2-werks.
          it_item-lgort    = t_vbap2-lgort.
          APPEND it_item TO it_items.
        ENDLOOP.
        CALL FUNCTION 'HU_INITIALIZE_PACKING'.
        CALL FUNCTION 'HU_CREATE_ONE_HU'
          EXPORTING
            if_create_hu       = 'X'
            is_header_proposal = is_header_proposal
            it_items           = it_items
          IMPORTING
            es_header          = es_header
            et_items           = et_items
            et_messages        = et_messages
          EXCEPTIONS
            input_missing      = 1    " Data that is Necessary for Creation is Missing
            not_possible       = 2    " HU Creation not Possible
            header_error       = 3    " HU Header Data Contains Incorrect Data
            item_error         = 4    " Items Cannot be Created
            serial_nr_error    = 5    " Serial Number Error
            fatal_error        = 6    " Internal Error
            OTHERS             = 7.
        CALL FUNCTION 'HU_POST'
          EXPORTING
            if_synchron = space
            if_commit   = 'X'.
      ENDLOOP.
    Thanks for the help.
    Laura

    The abap statement does not make sense.
    xlips_high_posnr = ( lips-posnr / tvlk-incpo ) * tvlk-incpo
    posnr & incpo are both type numc length 6.
    Here is my recommendation to catch the divide by zero error.
      data: l_oref    type REF to cx_root.
      data: l_text    type string.
      TRY.
            clear l_text.
             xlips_high_posnr  = lips-posnr / tvlk-incpo.
            CATCH cx_sy_zerodivide INTO v_oref.
              l_text = l_oref->get_text( ).
            CLEANUP.
    *      Put your code to do further processing if it is divide by zero
      ENDTRY.

  • PAcking proposal at sales order level

    Hi friends,
    I have a client requirement where packing should be done at sales order level.
    Anyone let me know the config steps to do it.
    Thanks
    Ivy

    Hi,
    For enabling the packing at sales order level, you need to first setup the basic packing configurations which are similar for packing at delivery level.
    For automatic packing proposal, you need to have Packing instructions maintained through Txn -> POP1.
    Then you need to maintain the master data for the determination of Packing instructions Txn -> POF1.
    Once these settings are maintained, while creating sales order Goto -> Extras -> Packing Proposal.
    System will give the default packing proposal based on packing instruction determined, which can be further used for automatic packing through Automatic packing button at header.
    I hope this information will help you.
    Reward points if it helps.
    Regards,
    Harsh

  • Packing Problem in Sales order - AFS

    Hi Gurus,
    I have maintained the Packing Determination records at the Grid level (POF1) and the record is getting determined in the sales order.
    The material to be packed is appearing in the 'Material to Packed' section in the packing proposal screen of the sales order.
    But the Automatic Packing function is not working and system is throwing as error - 'No items to be packed' .
    Please tell me how to overcome this.
    Thanks in advance.
    Naren Dev

    Roopvathy,
    1. Did not understand the Packing status in Packing control?
    2. I have maintained the Packing instruction in POP1. Only after this I maintained the determination record at the grid level in POF1.
    3. I am trying the Automatic packing function in sales order. The profile for sales order(0012) is having the "Start Automatically" ticked and the Determination Procedure for Instruction is also there.
    Please reply.
    Regards,
    Naren Dev

  • How to pack the More than one sales order delivery qty in one packing

    Hi Folks,
    How to pack the more than one sales order quantity combinely during packing?
    Thansk in advance and points wil be rewarded for the reply.
    Best Regards
    Srinivas

    Packing is done during Delivery.
    In Sales order also Packing function is available but as a Packing proposal.
    So actual packing is done in Delivery.
    When you process several sales orders together, the sales order items having same Ship-to-party, Shipping point, Route, Delivery due date & Incoterm are combined into one Delivery in the standard system.
    In the delivery overview screen,do the picking by subsequent function rom the menu bar, you will get a button "PACK", click on this system will take you to the packing screen.
    In the packing screen, give the packaging mterial number, select the materials to be packed, select the packaging material also and the click on the "PACK" button.

Maybe you are looking for

  • Total ink weight for fabrics or suggested color profile.

    My client's approved their project and I now have some tradeshow pop-up panels to "convert to CMYK" that will be printed on [some stretchy unknown] fabric. I was wondering if anyone knows the total ink weight for the [stretchy] textiles used for trad

  • IPhoto09 "Quit unexpectedly"

    Hi guys, recently i have accidentally deleted my iPhoto and cleared the trash can. I have tried to reinstall iPhoto. However, after reinstallation, iPhoto continuously quits unexpectedly when the program is running. I tried many solutions such as del

  • ABAP SCREEN PAINTER DOUBT

    Hi friends, Any one can tell me the solution to resolve the error maximum number of internal sessions reached  . regards, p.varadarajan

  • Phone locked cannot change password on bb protect.

    I misplaced my blackberry (bb) and locked it via bb protect online. When I found my bb I entered the password(pw) but it kept saying incorrect pw. Now I'm trying to reset the pw on bb protect but it keeps saying the current pw I've entered is incorre

  • Embed logo and border in email

    Friend wants help with sending an email. Wants to put her logo and a border (bounding box) around text. I think she will be sending via pc. Must be Mac and pc readable, without folks having to open an attachment to see logo. What's the best way to do