Required Error Message for To Unrestricted Use field in QA11

Hi QM Experts,
kindly,suggest me for:
In QA11 i have made mandatory to To unrestricted Use field in Inspection Lot stock tab but it just pass an error message in only Inspection Lot Stock tab.I want to pass this same error message in Characteristics Tab also.so,what should i do for this?
Thanks & Regards,
Vivek Bhojak

Hi Vivek,
As far as I understand, if you have made quantity field for unrestricted stock mandatory in QA11 "Inspection Lot Stock" tab, then you can't post UD in "Characteristic" tab without entering any quantity there in the previous screen. Is it happening in the expected way or it is not working? If not working - then please check with your ABAP team!!
I am not very sure about the merit of the enhancement you are trying to achieve here. Reason being, for example, the inspection lot stock Quantity is 100 PC, and you put 10 PC in unrestricted Qty, then what do you expect for the rest of 90 PC? As UD may post 10 PC unrestricted and the remaining 90 PC may be in Q-Stock!!. I think, this is a challenge you may be facing technically & you should consider a new logic - "Unless at least one quantity field in 'to be posted' section for "Inspection lot Stock" tab is populated, the user can't apply UD code. Still this may not be a full proof logic as during UD, you still need to take care of the remaining stock quantity too.
I have already answered your other questions in the below thread - https://scn.sap.com/thread/3717344. Please refer it for further details, and close duplicate threads.
Thanks,
Arijit

Similar Messages

  • Editable ALV - how to throw an error message for a specific line & field

    Hi all,
    I've implemented an editable ALV and also the ON_DATA_CHECK event to check the values, entered in the ALV. So this works fine and I can check the values.
    But now, I want to throw an error message corresponding to the field in the ALV, where the error occured.
    How can I throw this error message corresponding to a specific line/field in the ALV?
    I was using REPORT_ATTRIBUTE_ERROR_MESSAGE and REPORT_ELEMENT_ERROR_MESSAGE but without success.
    I'm also using a loop over the "CHANGES" in the ALV and within this loop, I use
    elem_alv = node_alv->get_element( index = <change>-element_index ) 
    to get the element for the message.
    CALL METHOD lo_message_manager->REPORT_ELEMENT_ERROR_MESSAGE
      EXPORTING
        MESSAGE_TEXT              = 'my message'
        ELEMENT                   = elem_alv
    *    ATTRIBUTES                =
    *    PARAMS                    =
    *    MSG_USER_DATA             =
    *    IS_PERMANENT              = ABAP_FALSE
    *    SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CTXT_ELEMENT
    *    MSG_INDEX                 =
    *    CANCEL_NAVIGATION         =
    *    IS_VALIDATION_INDEPENDENT = ABAP_FALSE.
    2.) is it right, that for an editable ALV, I can't use the WDDOBEFOREACTION to do the checks?
    If I try to use this, I can't get the values of my ALV table to check it.
    Thanks,
    Andreas

    Hi Andreas,
    I have tried to replicate your problem and I am getting the desired output. I have a row by name TEMP_NEW in my ALV and I want to throw an error message whenever the user enters a value of 4 for that particular field. Please find my coding as below. The important thing is where we perform the actual comparison between the r_value and 4. r_value is defined in SALV_WD_S_TABLE_MOD_CELL as reference to type DATA. So suppose the user enters a value of say 3 in the TEMP_NEW field of the ALV then r_value would contain 3 but if you observe its type in debugging mode it would be as TYPE REF TO I and not TYPE I. So you cannot directly say something like:
    "if ls_modified_cells-r_value = 3" as this would lead to a syntax error. Define a field-symbol say <temp> and then use it to get the actual value into it by saying like:
    ASSIGN ls_modified_cells-r_value->* TO <temp>.
    Then you can use this <temp> for comparison in your IF statement like:
    IF  <temp> = 3.
    Find the entire coding as below:
    METHOD check_data.
      DATA: lr_node TYPE REF TO if_wd_context_node,
            lr_element TYPE REF TO if_wd_context_element,
            ls_modified_cells TYPE salv_wd_s_table_mod_cell.
      FIELD-SYMBOLS <temp> TYPE data.
    " get message manager
      DATA lo_api_controller     TYPE REF TO if_wd_controller.
      DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
      lr_node = wd_context->get_child_node( name = 'NODE' ).
      LOOP AT r_param->t_modified_cells INTO ls_modified_cells.
        lr_element = lr_node->get_element( index = ls_modified_cells-index ).
        IF ls_modified_cells-attribute = 'TEMP_NEW'.
    " Get the value extracted into the field symbol from the reference variable
          ASSIGN ls_modified_cells-r_value->* TO <temp>.
    " Use the value present in this field-symbol for your comparison
          IF  <temp> = 4.
    " report message
            CALL METHOD lo_message_manager->report_attribute_error_message
              EXPORTING
                message_text   = 'Sample message text'
                element        = lr_element
                attribute_name = ls_modified_cells-attribute.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    Hope this helps resolve your problem.
    Regards,
    Uday

  • In Ztable creation, How can we display error message for a 'To date' field.

    Hi all,
    I have a requirement like this.
    There r two fields in ztable. From date and To date.
    The field 'To date' in table ZKM007 is taking before date than From date field.
    To date should always be greater than from date i need to throw an  error or don't  allow to enter date  if date is less than From date.
    How can we do this?
    Can any one help on this?
    Rewards to all.
    Thanks & Regards,
    Anu.

    I have written below code at event "Creating a new entry" (05) in table maintainance generator.But it is not working. If we give the to date < From date ,
    it is saving.
    Can any one help on this code? Pls Give me code And which event i have to put this?
    ***INCLUDE LZEXE3F01 .
    FORM AT_entry.
    IF ZEXE3-TODATE LT ZEXE3-FROMDATE.
      MESSAGE I001(0) WITH 'ENTER TO DATE GREATER THAN FROM DATE'.
    ENDIF.
    ENDFORM.
    Rewards to all.
    thanks
    Anu.

  • Error Message for Videos when using 2 computers and 1 iPod Nano 5th Gen

    I have a 5th Gen iPod Nano and a PC (XP) and Laptop (Vista). I store my free digital copies of movies on the Laptop and all other media on the PC. I have both computers set to share iTunes libraries. When I tried to sync some TV shows from the PC to the Nano I got this error message: The iPod "xxxx" is currently linked to another iTunes library on the computer "xxxx". In order to copy the TV Show "xxxx" to this iPod you must link this iPod with this iTunes library. Doing so will remove 3 movies including 'xxxx' from this iPod.
    Questions: 1)Why only videos and not music or podcasts? No problems with any other syncing and don't lose my music from the PC when I sync movies from the laptop. 2)Is there a fix for this?
    I was able to do a work-around by copying the TV shows to a USB memory device and then transfering them to the iTunes on the laptop. I could then sync both the movies and the TV shows to the Nano.
    I'm new at this iPod stuff and would appreciate your input.
    Thanks.

    Does this problematic song play okay in iTunes?  Have you tried removing and resyncing it to your device via iTunes?
    B-rock

  • DISPLAYING ERROR MESSAGE FOR TABLE

    How can I dispaly error message for table havong input fields from message pools,so that when I clicks on that message,that should point to that particular field having error
    Thanks
    Fahad

    Hi Fahad,
    From Message pool retrive data using text accessor
    IWDTextAccessor textYesAccessor = wdComponentAPI.getTextAccessor();
    String tempYes = textYesAccessor.getText(IMessageSample.<YES>);
    You can report error message like.
    if(tempYes !=null)
      reportException(String message, boolean cancelNavigation);
    See this link for Webdynpro API..
    https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/index.html
    Regards
    Suresh

  • When starting iTunes I continually get an error message " The registry Settings used by the iTunes drivers for importing and burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software. Please reinstall iTunes."

    When starting iTunes I continually get an error message " The registry Settings used by the iTunes drivers for importing and burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software. Please reinstall iTunes."  I have unistalled and reinstalled iTunes several times and have cleaned up the registry using a 3rd party Windows utility.  Any tips on removing this error message for good?

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • When opening iTunes, I get the following error message: the registry setting used by the iTunes drivers for importing an burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software.  Please reinstall iTunes.

    When opening iTunes, I get the following error message: "The registry setting used by the iTunes drivers for importing an burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software.  Please reinstall iTunes."
    I have reinstalled iTunes twice and still get the message.
    Any clues??
    Thank you.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • Error Message-- For Balancing field "Profit Center" is not filled

    Hi All,
    When I do Shipment Start get Error-Message for Balancing field "Profit Center" is not filled!
    A PGI for the DNXXXXXXXX is not possible!
    Can u please help me how to resolve this issue ?
    WM Baby

    Hi,
    AS per configuration , there is prifit centre assignment  .Enter the profit centre in the field of profit centre by the help opf F4.
    Regards,
    Andra

  • Unsupported black in use error message for laserjet p2055

    Receiving "unsupported black in use" error message for laserjet p2055.  I replace the cartridge with a new one and the same message appears.  Any suggestions how to resolve this issue?

    Hi,
    Does it become active if you go to System Preferences > Accounts and Click on the current Account Pic and attempt to take a Pic ? (you do not have to Set it as the Pic)
    Go to System Preferences > Accounts
    Click on Your Account (in the list on the Left)
    The Right hand side will now show some options.
    Clicking the current Pic will give you access to Edit Pic
    One of the Options then is to take a Snapshot.
    Take a Snap Shot but you do not have to "Set" the Pic.
    This process will invoke VDCAssistant.
    Explain further about the PRAM Reset please.
    You should shut down the computer (Rather than trying to catch the Restart)
    You should then Start the Computer holding down the AppleALT+PR keys and keep holding them until you hear three Start Up0 Bongs (Chimes)
    This deletes some settings such as System Preferences Settings for the Volume (Sound) and Date and Time that may need resetting afterwards. (Others may also be effected such as Screen Saver)
    On Spotlight.
    This does not look or report on certain Folders.
    At the Hard Drive Level this is Library and Syatem
    In your Home Folder (Little House icon) it will not look in your Library.
    com.ecam.iusbcam.plist and com.apple.ichat.plist
    Are in your Home Folder/Library/Preferences
    The Others are in the /Library at Hard Drive Level
    7:15 PM Wednesday; June 3, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • HT1338 I am getting an error message for the Update store, saying "To Update this application, sign in to the account you used to purchase it."

    I am getting an error message for the Update store, saying "To Update this application, sign in to the account you used to purchase it."  how do I get rid of these Old unneccisary Updates?  anyone?

    Welcome to Apple Communities
    What's this app? You need to use another Apple ID to update it

  • I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    Please refer:
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac- os.html
    Regards,
    Ashutosh

  • Keep getting error message "The registry settings used by the iTunes drivers for importing and burning CDs ....please reinstall iTunes." I have done this several times but it doesn't help.

    Keep getting error message "The registry settings used by the iTunes drivers for importing and burning CDs ....please reinstall iTunes." I have done this several times but it doesn't help.

    Refer to this article:
    iTunes for Windows: "Registry settings" warning when opening iTunes
    http://support.apple.com/kb/TS3299

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Error message for  Unable to connect (BIB-16633)

    Dear All
    I use Oracle Jdeveloper10g (win32), Oracle database10g or 9i (win32 ver). But Failure to connect to OLAP service.
    Can anyone give me what is the error message for BIB-16633.
    Would be really grateful if you could give me a solution as soon as possible.
    Thanks & Regards,
    Mr.Tsang. Hong Kong

    For database versions you need to have at least 9206 for 9i and 10.1.0.4 for 10g. This requires you to apply the 9206 patchset to 9i and the 10.1.0.4 patchset to the 10g base install.
    Please note there are a lot of steps invloved in the patching process and you must make sure you have completed all the steps before creating your OLAP schema. Most problems occur because the patching process is incomplete and the OLAP option is in an invalid state.
    You can check the state of the OLAP option using the following commands in SQLPlus:
    column comp_name format a35
    SELECT comp_name, status, substr(version,1,10) as version
    from dba_server_registry order by modified;
    Once the OLAP option is in a valid state, then you must ensure the OLAPSYS account is unlocked. To test the OLAP environment you can install the BI10G sample schema which will create a new user account called CS_OLAP which contains an Analytic Workspace.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

Maybe you are looking for