Leave quantity field empty in PLD when...

Hi experts,
I have an Item which has no need to be quantified, so i want to leave the quantity field empty when that specific Item is in the rows of any marketing document.
Now I'm struggling with the if-then situation in the PLD.
I don't know how to manage that the quantity field will stay empty in that specific situation.
Is it possible at all? And if it is, is there somebody who can help me with this?
Gtrz,
Miranda.

Hello ..
Insist because they still do not understand what the real requirement ... my understanding is that you are using a non-inventoried item with quantity 1, and requires that:
1.la line does not appear or that otherwise
Appears 2.la line with zero quantity.
If it were the case, I could
1. condition all the detail fields to the condition FIELD: FIELD DESCRIPTION == TEXT ARTICLE with the name of the article ... thus the line does not appear when you see this article.
2. field condition the amount to the condition FIELD: QUANTITY == text field with the number "1".
Best regards
Edited by: Paul Ponce on Nov 9, 2009 6:26 PM

Similar Messages

  • Restrict the quantity fields from changing in ME54N during PR release

    Hi All,
    I have created a workflow for purchase requisition release strategy .  Apporver's will login into ME54N transcation from the attachment in email and provide Release/Reject on PR . At that when any approver login to ME54N the item detials are in change mode so that user can able change quantity or other fields in the ME54N Transaction . So how to restrict the Approvers for not changing any quantity fields on the PR when it is being released .
    Thanks and regards,
    Dilip Kumar

    Hi-
    I do agree with all other comments.
    Also discuss with you functional consultant, say if any of the field which determines release strategy is changed by the approver,  then end the current workflow instance and start the new workflow instance based on new release strategy (obviously new set of approevrs)
    This is possible as SAP will trigger the corresponding event, if any of the field which determines release strategy is changed, (if release stratgey is configured properly).
    You need to build the workflow in such a way, that if this event occurs, then end the current workflow instance and start the new workflow instance.
    Vinoth

  • Saved fields empty when 3D window activates

    I've created Text Fields and Check-boxes using LiveCycle Designer in my pdf template.
    I create the 3D work in Reviewer, and use the template during Export to 3D.
    Using 'Extend Features in Adobe Reader' the text entries, and filled in check-boxes can be saved with the pdf using Reader.
    So far this is great!
    The problem comes when the pdf is opened again and the 3D window is clicked to activate.
    All the completed fields empty!
    This is very bad!
    Is there something I can do to stop the fields clearing on 3D activation?
    thanks,
    Ian

    Would you mind to post your commenton the the approriated Adobe forum page ?
    This one is dedicated to Acrobat 3D
    The correct forum page for Designer is:
    http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es
    Thanks in advance
    William

  • When i am dividing currency / quantity field i am getting error.

    Hi Abappers,
    when i am dividing the currency field with quantity field and passing in currency field its going dump ,How to solve this problem plz help me.
    for ex: it_final-r_net = it_final-netwr / it_final-fkimg.
    Regards,
    vani.

    it_final-r_net = it_final-netwr / it_final-fkimg
    "caution it_final-fkimg it should not be zero.
    by the way what error indicating in dump?
    AMit.

  • Sales order quantity field editable even when billed.

    Hi Gurus,
    Good Day to you all!
    We have this sales order that is already delivered and billed. I was just wondering why the sales order 'order quantity' field can still be changed or is still editable? Is it standard procedure that it would be disabled and uneditable? Is there a configuration behind this?
    We have some sales orders that are directly billed without any need for delivery. These sales orders shows the order quantity as disabled and uneditable unlike the one stated above. Anyone can please help regarding this problem
    Thank you very much!
    Best Regards,
    JV Nunez

    Dear,
    User exits in the program MV45AFZZ - USEREXIT_FIELD_MODIFICATION or USEREXIT_SAVE_DOCUMENT
    SEREXIT_FIELD_MODIFICATION -> you can disable/enable screen fields by using this user exit as you want quantity in VA02.
    screen-name = 'RV45A-KWMENG' OR " Order quantity
    screen-name = 'VBEP-WMENG' OR " Order qty in Schedule Lines
    screen-name = 'RV45A-KMPMG'. " Order quantity in "Structure" tab
    SCREEN-INPUT = 0.
    Please check with ABAPr.
    Regards,
    R.Brahmankar

  • Order Quantity (Config.) not set when using BAPI_SALESORDER_CREATEFROMDAT2

    Hi when I use BAPI_SALESORDER_CREATEFROMDAT2 order quantity is empty (missing also in the inclompent log in VA03)
    why ? what should be also set ? thanks a lot !
    I set this data:
    ls_order_header_in-doc_type    = 'TA'.
    ls_order_header_in-sales_org   = '1000'.
    ls_order_header_in-distr_chan  = '01'.
    ls_order_header_in-division    = '01'.
    ls_order_header_in-PURCH_NO_C  = 'test'.
    ls_order_partners-partn_role = 'AG'.
    ls_order_partners-partn_numb = 'CH10'.
    APPEND ls_order_partners TO lt_order_partners.
    ls_order_item_in-material = 'S-000'.
    APPEND ls_order_item_in TO lt_order_item_in.
    ls_order_cfgs_value-charc = 'S001'.
    ls_order_cfgs_value-value = '1'.
    APPEND ls_order_cfgs_value TO lt_order_cfgs_value.
    ls_order_cfgs_value-charc = 'S002'.
    ls_order_cfgs_value-value = '1'.
    APPEND ls_order_cfgs_value TO lt_order_cfgs_value.
    ls_order_cfgs_value-charc = 'S002'.
    ls_order_cfgs_value-value = '2'.
    APPEND ls_order_cfgs_value TO lt_order_cfgs_value.
    ls_order_cfgs_value-charc = 'S003'.
    ls_order_cfgs_value-value = '1'.
    APPEND ls_order_cfgs_value TO lt_order_cfgs_value.
    ls_order_cfgs_value-charc = 'S003'.
    ls_order_cfgs_value-value = '3'.
    APPEND ls_order_cfgs_value TO lt_order_cfgs_value.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
    *   SALESDOCUMENTIN               =
        order_header_in               = ls_order_header_in
    *   ORDER_HEADER_INX              =
    *   SENDER                        =
    *   BINARY_RELATIONSHIPTYPE       =
    *   INT_NUMBER_ASSIGNMENT         =
    *   BEHAVE_WHEN_ERROR             =
    *   LOGIC_SWITCH                  =
    *   TESTRUN                       =
    *   CONVERT                       = ' '
    * IMPORTING
    *   SALESDOCUMENT                 =
      TABLES
        return                        = lt_return
        order_items_in                = lt_order_item_in
    *   ORDER_ITEMS_INX               =
        order_partners                = lt_order_partners
    *   ORDER_SCHEDULES_IN            =
    *   ORDER_SCHEDULES_INX           =
    *   ORDER_CONDITIONS_IN           =
    *   ORDER_CONDITIONS_INX          =
    *   ORDER_CFGS_REF                =
    *   ORDER_CFGS_INST               =
    *   ORDER_CFGS_PART_OF            =
        order_cfgs_value              = lt_order_cfgs_value.
    *   ORDER_CFGS_BLOB               =
    *   ORDER_CFGS_VK                 =
    *   ORDER_CFGS_REFINST            =
    *   ORDER_CCARD                   =
    *   ORDER_TEXT                    =
    *   ORDER_KEYS                    =
    *   EXTENSIONIN                   =
    *   PARTNERADDRESSES              =
    *   NFMETALLITMS                  =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    We use the same BAPI to process Web orders into SAP.  You have to have a corresponding ORDER_SCHEDULES_IN entry with matching ITM_NUMBER for every ORDER_ITEMS_IN entry.  Within ORDER_SCHEDULES_IN is where you put the quantity.  Should be stored in REQ_QTY.    We had to fill ITM_NUMBER and SCHED_LINE with the line number value in order to make it work.  Remember to fill in your corresponding X-structure fields as well.
    hope this helps,
    Chad

  • Complaint qty and Ref Quantity field should be Blank in QM01

    Hi Gurus,
    When using QM01 the quantities shown in Complaint qty and Ref Quantity are from the Production Order.These fields should be shown as Zero in order to not to confuse the data entry personnel, by mistake they are leaving the fields with the same Qty from the production order as they are shown and the scrap is captured with this quantities.
    For example, the quantity to scrap will be 20,000, when it was indicated just to scrap 1,000, but the data entry person did not overwrite the quantity to 1,000 from 20000. Is there any way in standard SAP to make the Complaint qty and Ref Quantity blank, so that the user can fill it manually.

    Wanted to know if there was ever a resolution to this question.  I need a solution for the same thing.  We do not want the complaint quantity of a QM notification to default to the order quantity.  We need the inspector to fill in this quantity.

  • ALV QUANTITY field Geting converted into decimals ?

    Hi All ,
    I have developed an alv report .In that the quantity field is made editable after editing the quantity when i save it .It gets converted into decimals.Suppose if i give 77 its getting reflected as .077 all the field name ,table name ,reference field name, reference table name, quantity field data type has been passed but the problem persists.If there is any one whos has come across this kind of scenario please share your thoughts on this.
    Best Regards,
    Sreeram

    Hi Sreeram,
    I am not gettin this issue. See below code :
    If you are gettiing the same issue with the below code then it has something to do with your user settings.
    Go to Menu Item System -> User Profile -> Own Data -> Defaults ->Decimal Notation.
    Set it to 1,234,567.89 and save. Now try the program again.
    REPORT z_test.
    TYPE-POOLS: slis.
    TYPES : BEGIN OF ty_ekpo,
              ebeln TYPE ebeln,
              ebelp TYPE ebelp,
              ktmng TYPE ktmng,
              menge TYPE bstmg,
            END OF ty_ekpo.
    DATA: it_ekpo TYPE TABLE OF ty_ekpo,
          it_fieldcat TYPE slis_t_fieldcat_alv.
    SELECT ebeln ebelp ktmng menge
      FROM ekpo
      INTO TABLE it_ekpo
      UP TO 20 ROWS.
    PERFORM add_fieldcat USING 'EBELN'.
    PERFORM add_fieldcat USING 'EBELP'.
    PERFORM add_fieldcat USING 'KTMNG'.
    PERFORM add_fieldcat USING 'MENGE'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       i_callback_program                = sy-repid
       it_fieldcat                       = it_fieldcat
      TABLES
        t_outtab                          = it_ekpo
    EXCEPTIONS
       program_error                     = 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.
    FORM add_fieldcat  USING  p_fieldname TYPE slis_fieldcat_alv-fieldname.
      DATA: wa_fieldcat TYPE slis_fieldcat_alv.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = p_fieldname.
      wa_fieldcat-tabname = 'IT_EKPO'.
      wa_fieldcat-ref_fieldname = p_fieldname.
      wa_fieldcat-ref_tabname = 'EKPO'.
      IF p_fieldname EQ 'KTMNG'.
        wa_fieldcat-edit = 'X'.
      ENDIF.
      APPEND wa_fieldcat TO it_fieldcat.
    ENDFORM.                    " ADD_FIELDCAT
    Regards,
    Jovito

  • Quantity field in ALV Grid

    I am using KWMENG data element in my ALV grid which is a quantity field. In normal dialog programming this field does not allows entering characters in editable cells. But in ALV grid I am not able to restrict it from entering characters.
    Eg: In VA01 if we try to enter any character "ABC...Z" then it wouldn't be typed in the screen. But when using the same data element in ALV grid iot allows to enter alphanumeric values. Since it's a quantity field so character value gives a short dump. I know I can restrict the dump by using "NA" in comparing string but I want to knw is there a way by which I restrict character field entry in alv grid, the same way this field works in VA01. I checked with a simple dialog prog and in that also it doesn not allows character typing in editable fields.

    simple solution
    mention the ref_fieldname and ref_tablename in the fieldcatalog for that column.
    ex:
    fieldcat-ref_fieldname = 'KWMENG'.
    fieldcat-ref_tablename = 'VBAP'.

  • Error with quantity field:Datasource Creation Using Function Module method

    Problem with DATASOURCE Creation using Function Module method :
    I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
    Let me know if my explanation is not clear enough.
    Thanks in advance,
    Neha.
    Z table definition is as below :
    MATNR MATNR CHAR 18 0 Material Number
    BWKEY BWKEY CHAR 4 0 Valuation area
    LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
    STPRS STPRS CURR 11 2 Standard Price   " Here the currency field is WAERS and table T001
    PEINH PEINH DEC 5 0 Price Unit
    VJSTP VJSTP CURR 11 2 Standard price in previous year
    VJPEI VJPEI DEC 5 0 Price unit of previous year.
    Edited by: Neha Rathi on Jan 30, 2009 3:03 PM

    Hi,
    You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
    Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
    also if you want to populate it then you will have to write the code for this fields as well.
    Thanks
    Ajeet

  • Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..

    Dear friends,
    I am attempting write a dymanic Select Statement (with joins).
    And the sleect query looks like this..
      SELECT (LT_SEL_LIST)
      INTO CORRESPONDING FIELDS OF
      TABLE <DYN_TABLE>
      FROM (LT_FROM_LIST)
      WHERE (LT_WHERE3).
    Here the into table is a dynamically created internal table..
    which is created by ...this
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IT_OUTPUT2[]
        IMPORTING
          EP_TABLE        = DY_TABLE.
    the it_output2 contains the the fieldcatlog information of dynamically given fields :-
    like:-
           TABNAME
           FIELDNAME
           DATATYPE
           LENG
           INTTYPE
           ROLLNAME
           DECIMALS
           REFTABLE
           REFFIELD
    i mean the internal table is constructed with reference to all the bove metadata.
    Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
    When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
    "The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
    the target field's type or the target field is too short."
    after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
    so now my fieldcatlog looks like this:---
    LOOP AT IT_DD03L..
      IF IT_DD03L-DATATYPE = 'CURR'.
           TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
           ENDIF.
       IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
           TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
      ENDIF.
           TABLEFIELD-TABNAME     = IT_DD03L-TABNAME.
           TABLEFIELD-FIELDNAME   = IT_DD03L-FIELDNAME.
           TABLEFIELD-DATATYPE    = IT_DD03L-DATATYPE.
           TABLEFIELD-INTLEN      = IT_DD03L-LENG.
           TABLEFIELD-INTTYPE     = IT_DD03L-INTTYPE .
           TABLEFIELD-ROLLNAME    = IT_DD03L-ROLLNAME.
           TABLEFIELD-DECIMALS    = IT_DD03L-DECIMALS.
           TABLEFIELD-REF_TABLE   = IT_DD03L-REFTABLE.
           TABLEFIELD-REF_FIELD   = IT_DD03L-REFFIELD.
    APPEND TABLEFIELD.
    CLEAR TABLEFIELD.
    ENDLOOP.
    Note:- this is a test code so ignore performance issues...
    Please help me with some code ...to avoid the Runtime erorr.
    Thanks,
    jeevan.

    Hi Jeevan,
    Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
    data: it_dd03l type table of dd03l initial size 0,
          ls_dd03l type dd03l,
          lt_fldcat TYPE lvc_t_fcat,
          ls_fldcat TYPE lvc_s_fcat,
          ls_where(72) TYPE c,
          lt_where LIKE TABLE OF ls_where,
          lt_fld LIKE TABLE OF ls_where,
          lt_data_dy TYPE REF TO data.
    field-symbols: <ft_data> TYPE STANDARD TABLE.
    select * into table it_dd03l from dd03l
        where tabname = 'VBAK'
          and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
    check sy-subrc eq 0.
    loop at it_dd03l into ls_dd03l.
      move-corresponding ls_dd03l to ls_fldcat.
      append ls_fldcat to lt_fldcat.
      move ls_dd03l-fieldname to ls_where.
      append ls_where to lt_fld.
      if ls_dd03l-fieldname = 'VBELN'.
        clear ls_where.
        concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
        append ls_where to lt_where.
      endif.
    endloop.
    check not lt_fldcat is initial.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fldcat
          IMPORTING
            ep_table                  = lt_data_dy
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc <> 0.
          RAISE no_configuration_data.
        ENDIF.
        ASSIGN lt_data_dy->*  TO <ft_data>.
    check sy-subrc eq 0.
    select (lt_fld) from VBAK into corresponding fields of table
        <ft_data>
        where (lt_where).
    Thanks
    Bala

  • Check on quantity field of co11n

    hi all,
        I want to display error messages when the quantity field at goods movement level of transaction co11n is 0 or space.
    Find me the user exit or badi , but field exit is becoming complex as the screen is a table control.
    help me.

    hi madhav,
    CONFPP01                                PP order conf.: Determine customer specific default values
    CONFPP02                                PP order conf.: Customer specific input checks 1
    CONFPP03                                PP order conf.: Cust. specific check after op. selection
    CONFPP04                                PP order conf.: Customer specific input checks 2
    CONFPP05                                PP order conf.: Customer specific enhancements when saving
    CONFPP06                                PP Order Confirmations: Actual Data Transfer
    CONFPP07                                Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                                PS confirmation: Determine customer specific default values
    CONFPS02                                PS confirmation: Customer specific input checks 1
    CONFPS03                                PS confirmation: Customer specific check after op. selection
    CONFPS04                                PS confirmation: Customer specific input checks 2
    CONFPS05                                PS confirmation: Customer specific enhancements when saving
    CONF0001                                Enhancements in order confirmation
    CONFPI01                                Process order conf.: Calculate cust.specific default values
    CONFPI02                                Process order confirmation: Customer spec. input checks 1
    CONFPI03                                Process order conf.: Cust. spec. check after op. selection
    CONFPI04                                Process order conf.: Customer specific input checks 2
    CONFPI05                                Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                                Process order confirmation: Actual data transfer
    CONFPM01                                PM/SM order conf.: Determine cust. specific default values
    CONFPM02                                PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                                PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                                PM/SM order conf.: Customer specific input check 2
    CONFPM05                                PM/SM order conf.: Cust. specific enhancements when saving
    these are the list of userexits for the transaction co11n try keeping the break point in each user exit and check which suits your requirement.
    the second method is you can do it by reading the documentation of the each exit.
    Hope its clear to you,
    Reward points fi usefull,
    Thanks,
    kalyan.

  • How to make quantity field in puplic templates editable?

    Hi SDN,
    we are implementing SRM 5.0.
    We have a change request to make the quantity field in public templates  (or when you chose approved (old) shopping carts for a new order) ready for input.
    What I tried so far is to go to the corresponding template, which is
    SAPLBBP_PDH_SEARCH 4001 and exchange
    `SUBLIST-QUANTITY[n].value`
    by
    <input type="text" name="SUBLIST-QUANTITY[n]" value="`SUBLIST-QUANTITY[n].value`">
    Debugging the corresponding dynpro 4001 of function group BBP_PDH_SEARCH
    PAI: MODULE mark_read_from_web. 
    there:
    LOOP AT <sublist> INTO <lfs_sub_wa>.
    shows, that the new quantity I might set on the webfrontend does not get transferred to <sublist>-quantity in the dynpro.
    Even though in the debugger I manually changed the incoming quantity, it does not show up on the next webscreen with the shopping cart...
    any ideas welcome,
    regards, matthias

    Hi Atul,
    the need for the requirement is very obvious, also we had this modification in the old release - and I am merely trying to rebuild it.
    But for the business case: Just imagine you have 100 or more articles in a public template and maybe you have to chose new articles from different public templates. Then it is really painful if you have to recheck the shopping cart after you have filled it, just to change the quantities. This modification saves a lot of time and work for the users. Also I am wondering why it is not already standard behaviour.
    regards, matthias

  • Rounding quantity field in scheduling agreement not considered in JITK

    Hello ALL,
    I would like to consult to you a scenario I am facing when it comes to creating a scheduling agreement (VA31) and maintaining a Rounding Quantity (field ABLFZ) in it.
    When using the standard LZ type scheduling agremeent, the Rounding quantity is considered when creating a delivery in VL10.
    However, when using the LZJ type of scheduling agreement, the Rounding quantity is NOT considered when creating a delivery in JITK.
    Can you please tell me what causes the case in LZJ scheduling agreement?
    Thank you all in advance.

    Hi,
    This field is not available for Scheduling Agreement. It is only available for Purchase Order.
    Even you will not get this in Field selection also.

  • Order Quantity Field in Sales order

    Hi All
    I'm creating High Sea Sales order. When i start creating sales order after punching the order quantity in screen that particular field gets greyed out. Quantity which i put in field is not getting updated . If i go to item level & update quantity, still in item overview screen the order quantity field is greyed out with no quantity.
    This problem occuring only with this document type , no other sales order type is getting this problem.
    Please help.

    Hi,
    go to VOV7 >>> Select item catgeory which you are determining in sales order >>> details.
    Hear tickmark to Business item, schedule line allowed
    Check out this & reply
    Kapil

Maybe you are looking for

  • A few wireless N questions

    I have a macbook pro and and imac. They are under 18 months old and are both intel. I remember reading somewhere a while ago that there is a firmware update for my built in wireless to upgrade to "N" Where is that? and is it free because I purchased

  • Reset ALV entry in display

    Hello. I'm using an ALV display with a custom field catalog to allow a user to edit data via the ALV display (certain fields). I create my container and fieldcatalog in the PAI of my screen and use CALL METHOD grid1->refresh_table_display to display

  • Where is the sample files?

    I have Adobe Illustrator CS6 installed in my system, but I can't find the samples files mentioned in the PDF file "Adobe Illustrator CS6 What's New"..The text says " ... is available as a sample file in your Illustrator software." The files are: Natu

  • HD needs repair

    I tried using Boot Camp to install Windows XP on my macbook, but it said there was een error during partitioning and that I needed to repair the disk Using disk utility's Verify Disk option this is what came out: Verifying volume "Macintosh HD" Check

  • Airport Extreme (2nd gen) not seen in Finder under "shared"

    Specs: 15-inch Early 2008 >Processor  2.4 GHz Intel Core 2 Duo>Memory  4 GB 667 MHz DDR2 SDRAM>Software  Mac OS X Lion 10.7.5 (11G63) Airport Extreme Second Gen with Airport Utility 7.6.1 I do not want to update to Mountain Lion again.. since the fir