How to set error message for 541 Movement type

Dear gurus,
            I want to know that is it possible to set error message through any configuration? My requirement is that when we create issue document using m.t 541 it will not allow me to process that document without releasing PO document.so for that i want to set error message.
<removed by moderator>
Message was edited by: Jürgen L

Hi,
   The subcontracting goods issue can be done even without PO reference. If your organization is strictly following the goods issue against PO only and you want to restrict the goods issue if the PO is not released, then you may check the below option. Please note that the below option is available in standard only from EHP 4 or above.
1. Refer the KBA: 1915825 - Transfer Posting reference to a Purchase Order in MIGO and activate the PO reference option in MIGO - Transfer posting.
2. Restrict the use of 541 movement in MB1B - Go to OMJJ and enter movement type as 541. Now go to "allowed transactions" folder and remove MB1B. Now the user cant use 541 in MB1B.
3. Maintain the field - Purchase order as mandatory field for the movement type 541 in OMJJ.
4. Train the users to use MIGO - Transfer Posting - Purchase order option for goods issue with 541 movement.
5. If the PO is not released, system wont allow to use the PO in MIGO - Transfer Postings.
6. If the user is selecting Transfer Posting - Other, system wont check the PO and hence it will allow to post the goods issue even if PO is not released. You may take organizational measures to restrict the usage or you may check for authorization concept - Refer the note: 773003 - MIGO: No authorization object for action/reference document
   If you are below EHP 4, there is no standard functionality available for the requirement as of my knowledge. If so, you may go for development to restrict the same.
Regards,
AKPT

Similar Messages

  • How to extract error message for each output type.

    Hi All,
    Need your advice on the problem that I have.
    Expected Solution:
    1. Create an extra column for displaying header output error message from VF02 into a report program.
    Steps that i have did:
    1. Go to transaction VF02.
    2. Enter a billing document number.
    3. Hit enter. Click "Goto" > Header> Output
    4. Click on the status that is red colour. Click on "processing log".
    5. Press "F1" on the red colour message type. (Found out that it is a structure).
    Need your advice on the question that I have:
    1) How do we know that which "not successfully" process output type belong to which error message class?

    Hi Brad Bohn,
    Thanks for your advice. I am so sorry about that. Thanks so much for your advice. And i have follow your advices and steps given by you. Appreciate it very much.
    But for this issue about how to extract message for each output type. I have follow your steps by using SE30 to trace VF03 and I managed to found out that they are using this function module "WFMC_PROTOCOL_SHOW". Need your advice on this, how do we know each different output type with different error message is pulled from?
    From my further research and in depth debugging into this function module, i  manage to find this global internal table "PROTO_TAB" which stores all the text messages for each output.  How does this internal table is populated?
    Thanks in advance.
    Regards
    Shawn

  • 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ß

  • 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,

  • How to write Error message for select options?

    Hi
    i have this select option statement
    SELECT-OPTIONS: s_fevor FOR afko-fevor.
    how to write error message for this?
    Regards
    Smitha

    Error messages are displayed for Select-options mostly on two conditions:
    1) You needs to check wether a value is entered or not its done by:
    a)
    Select-options:SELECT-OPTIONS: s_fevor FOR afko-fevor Obligatory.
       In this case error message is automatically throwed by system.
    b) You can do this in Selection Screen events.
    Ex:
    AT SELECTION-SCREEN./AT SELECTION-SCREEN ON S_FEVOR.
    IF S_FEVOR-LOW IS INITIAL.
    MESSAGE 'XXXXX' TYPE 'E'.
    ENDIF.
    2) You need to Validate the entered value:
    You can do this in Selection Screen events.
    Ex:
    AT SELECTION-SCREEN./AT SELECTION-SCREEN ON S_FEVOR.
    SELECT FEVOR
                 FROM AFKO
                 INTO AFKO-FEVOR
                 UP TO 1 ROWS
    ENDSELECT.        
    IF SY-SUBRC NE 0.
    MESSAGE 'XXXXX' TYPE 'E'.
    ENDIF.
    Regards,
    Gurpreet

  • MB21Reservation - How to set Error Message?

    Dear Experts,
    For a material say 123456, in the material master Purchasingset OB (Obsolete identified Blocked).
    1. Then when i do reservation through plant manitenance order, the system issue us the error message(its correct)
    2.But when we do MB21-create reservation using 201 movement type, the system allows to create reservation for Material 123456, but it should not allow - it has to issue Error Message
    so how to set in SPRO to issue Error message for this scenario and how to stop creating the reservation for OB set Material in MMR.
    Its urgent, please help me to solve this
    Regards
    Saravanan S
    Edited by: Subramania Saravanan on Jul 20, 2008 9:10 AM
    Edited by: Subramania Saravanan on Jul 20, 2008 9:55 AM

    Hi Friends.
    The solution is...go to SPRO-Logistic general-Material Master-setting for keyfields- Define Material Statusthen double click on OB(Obsolete Block Indicator), then you can see for various process..then assign B(error message) for Inventory management.
    After settings is done, try to do set OB in purchasing view in MMR for a material, and try to do reservation for the material..system states the Error Message.
    Thanks
    Saravanan
    Edited by: Subramania Saravanan on Jul 20, 2008 1:09 PM

  • How to stop Accounting Entries for certain Movement Types

    Hello,
    We are using Movement Type 511 to record free of charge receipts from vendors. Still it is generating Accounting Entries with Standard Material Price.
    Is there any way to stop Accounting Entries for 511 and other Movement Types, where external business partners are involved ?
    I tried IMG Setting "Define Account Grouping for Movement Types", where I did not tick in the field "Value Updates". But it did not work.
    I believe, Account Grouping settings at the level of combination of Plant and Material Type takes precedence. There I have ticked in the field "Value Updates". So even if create a new Movement Type, with no tick in the field "Value Updates", it creates Accounting Entries for free of charge receipts from vendors.
    Is there any way to stop any accounting entries in such cases ?
    Basically I want 311-like movement type, but where external business partners are involved.
    Thanks and Regards

    Hello,
    Thanks to you all for your quick reply.
    I created a new Movement Type - copied it from 511 and made the changes as per your suggestions  - disabled field "Value Update" in "Update Control / WM Movement Types".
    Using MIGO when I try to receive the material, it gives me error "Update Control of Movement Type is Incorrect"
    Any reason for this error ? I have disabled even "Check Account Assignment" in Account Grouping
    Thanks and Regards

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
    Thanks,
    Santhosh.R

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
      ENDIF.
    ENDLOOP.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

  • Deletion Flag setting Error message for production order

    "Unprocessed future change recs for orders prevent del. flag/completion"
    I tried to used COFC and CO1P but didn't work out?
    How to fix this issue i am trying to set deletion flags for certain production orders?
    If i even found errors in final confirmations how to fix them

    Hi Aparna,
    This is absolutely fine to set the deletion flag to archieve the Production Orders.
    For this error, which you are getting, there could be entries in COGI or CO1P..
    Whether you are using Process Control (check in OPK4)?
    If that is the case you should have got the entries in CO1P.
    Can you see any entries in COGI? even 102 movement against the order?
    Check once again and revert for further discussion..
    Regards,
    Siva

  • How to pass error message for an additional tab strip in MIGO

    Hi,
    I have created one additional tab strip in MIGO transaction,In that tab i have 5 text fields,In that 4 text fields i want to make as mandatory fields,In the existing screen MIGO is using " Application log"  for passing any error message It is calling as include program in SAPLMIGO report program,In that "lmigolo2 " is the include program name.Now i am struggling how to make use that in my newly created screen.
    Regards
    Ambili B

    Hi rahul,
    Can u try these
    :Object failed to run due to an error while processing on the Job Server.
    2 )Object failed to run due to an error
    3 )Object failed to run due to an error while proc... | SCN

  • How to Add error message for component from the baking bean

    I am in the situation, I need to add the h:message message component for each component at the time I am looking for an easy process something like I have to add the error message at the bean side, here I am using component binding approach but I am not able to add child for input Text components at the bean side, actually my final target is to add the message for each component when ever they get error and I have to change the style also.....
    So please anybody help me......

    Thanks for the response but one more thing right now I can't add message tag for each component so that I can add message from the baking bean as per ur solution I tried like this
    FacesMessage msg = new FacesMessage("Testing is going");
    msg.setSeverity(FacesMessage.SEVERITY_ERROR);
    FacesContext.getCurrentInstance().addMessage(tf_ADD1.getId(), msg);
    it is working but it is showing on the top of the for even no problem but I need to change the component color based on the message but I am not able to achieve that so how can I do that from backing bean now I can't add tags for each component.
    So please show me a way.

  • How to get error message for VISA in CVI?

    Hi there,
      I was using labview 2012 to handle GBIP interface with VISA, the VISA write code will return an error cluster if exists. Recently, I switch to CVI and I use viWrite to write to the GBIP, but in this case, how can I get the error cluster?

    Erik-S wrote:
    Hi dragondriver,
    There is not an error cluster in CVI in the same way that there are error clusters in LabVIEW. A VISA function should output an integer if there is an error, but it will not include a string and a boolean like LabVIEW does. You can set up a function that acts like an error cluster by creating a struct that has the error integer, a string related to that integer, and a boolean. You would have to use the integer to look up the error string from a library. 
    -Erik S
    Thanks Erik. I found that when I operate the VISA, it actually return a number to tell success or failure only. I wonder how to extract the error message as string in CVI?

  • How to define error message for function based index violation?

    Hi,
    I am generating Forms 6i from Designer 6i. I have a function based index to enforce case insensitive name uniqueness. With check constraints I can specify constraint violation error messages that will be displayed in Forms at runtime if needed. How can I do this with function based index constraints?
    Regards,
    Tamas

    OK, problem sorted.
    You need to create a check constraint with the same name as the new index, but don't enable it.

  • How to display error messages for Standard validators

    I am designing a simple login application.I have two input text-fields,say,email and password.
    In my JSF page i have following,
    <h:inputText id="email" value="#{User.email}" >
    <f:validateLength minimum="1" maximum="6"/>
    </h:inputText>
    <P><BR>
    <B>Password: </B>
    <h:inputSecret id="password" value="#{User.password}" required="true">
    <f:validateLength minimum="1" maximum="5"/>
    </h:inputSecret></P>
    Now if the user does not enter anything in one or both of the text boxes i.e if null value is transfered to the server,
    I want the JSF to display some error message to the user that he has not filled up all the fields correctly.
    Even i tried with something like,
    <B><h:message for="email"/></B>     
    but still it does not work.
    I am using JSF1.0 Final.
    Well this problem was dam simple with JSF1.0 beta beacause of the existence of <h:output_errors>.
    Is there any such facility with JSF1.0 final?

    Your h:inputText does not contain required="true". I guess, it should. Otherwize, validateLength will not work.

  • How to retrive error message for sql agent job failure

    My sql server agent job failed and didn't store any error message in the job history. Is there any other table from where I can get the error info????
    The job has sql_message_id = 16389 and sql_severity = 16. What does they mean????

    this link will solve your problem
    http://www.sqlservercentral.com/articles/SQL+Server+Agent/67726/
    ebro
    CREATE PROCEDURE pr_GetStepFailureData
    @JobName VARCHAR(250)
    AS
    This procedure gets failure log data for the failed step of a SQL Server Agent job
    DECLARE @job_id UNIQUEIDENTIFIER
    SELECT @job_id = job_id FROM dbo.sysjobs WHERE [name] = @JobName
    SELECT 'Step ' + CAST(JH.step_id AS VARCHAR(3)) + ' of ' + (SELECT CAST(COUNT(*) AS VARCHAR(5)) FROM dbo.sysjobsteps WHERE job_id = @job_id) AS StepFailed,
    CAST(RIGHT(JH.run_date,2) AS CHAR(2)) + '/' + CAST(SUBSTRING(CAST(JH.run_date AS CHAR(8)),5,2) AS CHAR(2)) + '/' + CAST(LEFT(JH.run_date,4) AS CHAR(4)) AS DateRun,
    LEFT(RIGHT('0' + CAST(JH.run_time AS VARCHAR(6)),6),2) + ':' + SUBSTRING(RIGHT('0' + CAST(JH.run_time AS VARCHAR(6)),6),3,2) + ':' + LEFT(RIGHT('0' + CAST(JH.run_time AS VARCHAR(6)),6),2) AS TimeRun,
    JS.step_name,
    JH.run_duration,
    CASE
    WHEN JSL.[log] IS NULL THEN JH.[Message]
    ELSE JSL.[log]
    END AS LogOutput
    FROM dbo.sysjobsteps JS INNER JOIN dbo.sysjobhistory JH
    ON JS.job_id = JH.job_id AND JS.step_id = JH.step_id
    LEFT OUTER JOIN dbo.sysjobstepslogs JSL
    ON JS.step_uid = JSL.step_uid
    WHERE INSTANCE_ID >
    (SELECT MIN(INSTANCE_ID)
    FROM (
    SELECT top (2) INSTANCE_ID, job_id
    FROM dbo.sysjobhistory
    WHERE job_id = @job_id
    AND STEP_ID = 0
    ORDER BY INSTANCE_ID desc
    ) A
    AND JS.step_id <> 0
    AND JH.job_id = @job_id
    AND JH.run_status = 0
    ORDER BY JS.step_id
    EXEC pr_GetStepFailureData 'JobName'

Maybe you are looking for