Change Status/Message from BE to SRM

Hello,
I have the following situation: A SC is transfered to the BE. For some special products an additional item (limit item) is added in the BE to the PO. This results in the following situation:
SRM        BE
1SC         1PO
- P1          - P1
                - P2 (limit item, cat=B)
Currently the status 'Fehler im Ablauf' is set obviously of this additional line item in BE.
My question: Is it possible to change the messages/status (CLEAN_REQREQ_UP, BBP_GET_STATUS_2) which is set while a SC is transfered from SRM to BE in this special situation? Is there a BADI in place which can be used?
Kind regards,
Thomas

Hello,
in SRM7.0 this seems to be a standard behaviour although you can add items to the follow-on document via BADI.
The relevant coding can be found here:
Class: CL_BBP_BS_SPOOL_SC_CRT_CLASSIC
Method: UPDATE_BE_FIELDS
  IF lv_srm_items NE lv_be_items. " The backend document exists but does not match SC! Should never happen!
    IF 1 = 0. MESSAGE e178(bbp_pu). ENDIF. " error in backend system, inform sysadmin
    ls_message-msgty = 'E'.
    ls_message-msgid = 'BBP_PU'.
    ls_message-msgno = '178'.
    MESSAGE ID ls_message-msgid TYPE ls_message-msgty NUMBER ls_message-msgno INTO ls_message-message.
    APPEND ls_message TO lt_messages.
    CREATE OBJECT lx_sc_transfer.
    lx_sc_transfer->put_bbp_messages( EXPORTING it_message = lt_messages ).
    RAISE EXCEPTION lx_sc_transfer.
  ENDIF.
Kind regards,
Thomas

Similar Messages

  • Report for - All Status Messages from a Specific System

    
    I would like a report that is based on the console query “All Status Messages from a Specific System”. I have tried to take the SQL Query from the smsprovider.log but with no luck. So there is where my SQL knowledge ends. Do any of you maybe already have this
    report or could help me create one?

    You could use v_StatMsgWithInsStrings as an alternative. 
    Torsten Meringer | http://www.mssccmfaq.de

  • I can't change my messages from green to blue when I am sending

    I can't change my messages from green to blue when I am sending a message to an iPhone. SMS has been turned off.

    Check to see if iMessage is activated. Also, make sure the other party has iMessage activated. Sending an iMessage requires both parties, the sender and the receiver to have an active internet connection. If iMessage is active, the check your Send & Receive and make sure your phone number is checked. After that, you may need to delete the conversation that you have with that contact, however I've not experienced that when I have an individual send problem with a contact. It will usually pick up that they are connected to data again.

  • How to change a message from type information to error?

    We are using a BDC to change the request delivery date of sales order lines. But we may meet the situation that for a selected line, because some inventory movements are doing, the ATP checking can not be fulfilled. But because system only hints an information type message, we can catch this problem in customized BDC program. The message system raised is "No availability check can be carried out for material NTN095UF Message no. V1082".
    To improve this situation, I wonder if we can change the message type of this message to an error. Or anything else can we do? Please suggest on it. Thanks.

    hi Hao,
    if you want to change the mesage type from information to an error go to OVAH , and change the category of your message to error(E). (category is the last tab with option no message/warning/error)
    rewards if helpful
    regards,
    krishna prasad

  • FM for the engineering change number to change status message to release

    Hi,
    I have a requirement to change the status message of engineering change number(transaction CC31 or CC32 ) automatically through a program. I have a thought of doing BDC but still i want to know any standard FM or class is available. Please help me if you have any suggestions.
    Thanks in advance for your help.
    Regards
    Syed Samdani

    Siva,
    Did you check in Tcode OMSR.
    Assign Fields to Field Selection Group - (OMSR)
    Here you can define whether a field is hidden or displayed, or whether an entry is mandatory or optional in material master maintenance by assigning the field to a field selection group in OMSR.
    Hope this Helps.
    Vinodh Balakrishnan

  • Changing Status Message in ALE

    Whenever we post a order, and if that Order contains some error, it should throw a message to workflow inbox, telling the Order Number and the item Number for Error.
    For Eg., Actual error defined in SAP is "Document contains same order item more than once", with 1st Parameter as 0000280145 and 2nd parameter as 00001. But in the workflow, the orginal error shows is just the text message described above i.e., "Document contains same order item more than once". I need to change it as "Document 0000280145 contains same order item 00001 more than once". I think, u mite got my requirement clearly.
    Also in certain places, if there are more than two errors, it is getting stored in Application Log.
    For Eg., Actual Error defined in SAP is "Messages from IDoc processing can be found in application log". When i click the application log, it tells two error messages...
    1. Vendor material 97082D is unknown
    2. Item 99999 of purchasing document 0001266463 does not exist
    It is getting stored in some table (thro EDIDS-APPL_LOG). Even i need to pass this two errors in the workflow, instead of just "Messages from IDoc processing can be found in application log".
    Also is there any function module exists or from which table i have to pass this APPL_LOG number, to get the necessary Text.
    Is there any way to solve this?
    Thanks and Regards,
    Vijay G

    Requirement looks bit strange to me, if at all the IDoc is not needed to be sent for error message then why to Generate them, just filter out creation of IDocs by setting the Filters in Distribution model.
    For your requirements you may want to take a look at Badi HRALE00OUTBOUND_IDOC.
    Regards
    Shital

  • Retrieving Status Messages from a StoredProc

    Hi,
    We are having a StoreProc which will not return any result set, but may return status messages like "10 Rows affected" etc.
    Do you have any idea how to retrieve these messages?
    Please note that there will not be any PRINT statement in the StoredProc. These messages are coming from the database.
    We are using jconn2.jar for Sybase connection.
    Thanks in advance..

    It returns String? How are you calling it?

  • Change mail message from sender before forwaring message

    How can I change/adapt the orignal message from sender before replying or forwarding

    In what way, like edit the original message?
    You cannot, from within the native software.
    You'll need a third party application such as ForwardWithEdit to do so, and that can be found in the Fixmo Tools application... for one place.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Using "Rebuild" changes some messages from READ to UNREAD?

    I'm trying to get my Mail storage in order and read that using Mailbox>Rebuild would be a good step to fix any indexing problems. All goes swimmingly, or so it seems. Save for not being able to rebuild multiple folders at once, that is!
    In any event, on each folder I rebuild several messages switch from READ status to UNREAD. This happens on both POP and IMAP accounts.
    So I go through and actually read them in one mailbox. And in another I select all and use Mark>As Read on them.
    Looks good, so I try a rebuild again. And the same messages show up as UNREAD again.
    Right, next try is to get them marked as READ, as above, and quit Mail, then reopen it. The messages still appear as read, so I try REBUILD again. And... the same messages flip back to being UNREAD.
    Anyone know what's going on? And perhaps how to fix it?
    Thanks!
    MacBook Pro 15" 2.16GHz / 2GB / 160GB Mac OS X (10.4.9)
      Mac OS X (10.4.9)  

    Sounds like there is a problem with the Envelope Index file which stores an index of all mailboxes and messages for Tiger Mail.
    Quit Mail first and using the Finder go to Home > Library > Mail. Copy the Mail folder and place the copy on your Desktop or on a backup drive for backup purposes.
    Using the Finder, go to Home > Library > Mail > Envelope Index. Delete the Envelope Index file and empty the Trash.
    Launch Mail and you will be prompted to import mailboxes. Select OK and allow this process to complete. This isn't really importing anything but is replacing the deleted Envelope Index file and reindexing all mailboxes and messages.
    Test if this resolves the problem. After confirming all mailboxes and messages are available, you can delete the copy of the Mail folder created for backup purposes.

  • Contract Prices are not changing when upload from PC to SRM

    Hi all,
    We have local contracts in SRM and downloaded this contracts to local PC. We changed price of this contracts and uploaded again into SRM, But the prices are not getting changed in SRM.
    We downloaded in text format, opened in excel,changed prices and saved in text format.
    did anyone faced this problem?
    Thanks
    Ravi

    Hi Ravi,
    please refer OSS note 734060. You have to use the commands D=Delete, U=Change and I=Insert to modify the downloaded document.
    Rgds,
    RRK
    Reward Points for helpful responses*

  • In the message class M7 i NEED TO CHANGE THE MESSAGE 301 FROM E to w.

    In the program LMBGBFES I want to change the mesage e301 to w301 in the enhancement point but sap is not allowing to do so.
    CAN YOU GIVE A SOLUTION TO HOW TO DO IT.
    with regards ,
    Mahasweta Mitra

    hai mahasweta,
    u cant change the message from E301 to W301 as the code where the message is placed does not come under any enhancement point so that cannot be enhanced , u can do even with implicit enhancements but that does nto fall under it i mean uisng implicit enhancement options u can add some new code at start and end of the programs, u can use enahcnement poitns to enhance the code which comes under that point and it is obvious sap do not allow everythign to be modifed , so if u want to really chnage ti then u cna use access key and change it but it has implications on other programs from where this is called
    regards
    m.a

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

  • Sending Status Messages by Email

    I am using Status Filter Rules to send warning and error messages via email from several CM07 sites. The process hasn't been consistent.
    Messages created by the SMS_Distribution_Manager do not send the entire description field where other components do. I have not been able to figure it out.
    I have tried using vbscript and powershell, both give the same results.
    Here is what I am doing for distribution manager emails via vbscript.
    cscript.exe "C:\Scripts\sendMail.vbs" "myemailaaddress" "%msgdesc"
    SendMail.vbs contents:
    Const SMTPServer = "IP Address of SMTP Server" ' SMTP server IP address
    Const From = "From Address"
    Const Subject = "SCCM Package Alert"
    Set objArgs = WScript.Arguments
    If objArgs.count < 2 Then
     ' All arguments are required
     WScript.Quit(1)
    Else
     SendGenericMail objArgs(0), objArgs(1)
    End If
    Sub SendGenericMail (sTo, sMessage)
     On Error Resume Next
     ' Generate TO and CC recipients based on number of e-mail addresses provided.
     If instr(sTo,";") > 1 Then
      sTo_array = Split(sTo,";")
      kokku = UBound(sTo_array)
      For i = 1 to kokku
       If i <> kokku Then
        CCstring = CCstring & sTo_array(i) & ", "
       Else
        CCstring = CCstring & sTo_array(i)
       End If
      Next
      TOstring = sTo_array(0)
     Else
      TOstring = trim(sTo)
     End If
     Set CDO = WScript.CreateObject("CDO.Message")
     CDO.From = From
     CDO.To = TOstring
     CDO.Cc = CCstring
     CDO.Subject = Subject
     CDO.TextBody = sMessage
     CDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTPServer
     CDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
     CDO.Configuration.Fields.Update
     CDO.Send
    End Sub
    Here is an example of the email body then the full message detail.
    Email Body:
    SMS Distribution Manager failed to process package Law
    Here is the full message detail:
    SMS Distribution Manager failed to process package "Law Civil Image" (package ID = DIT007A9).
    Possible cause: Distribution manager does not have access to either the package source directory or the distribution point.
    Solution: Verify that distribution manager can access the package source directory/distribution point.
    Possible cause: The package source directory contains files with long file names and the total length of the path exceeds the maximum length supported by the operating system.
    Solution: Reduce the number of folders defined for the package, shorten the filename, or consider bundling the files using a compression utility.
    Possible cause: There is not enough disk space available on the site server computer or the distribution point.
    Solution: Verify that there is enough free disk space available on the site server computer and on the distribution point.
    Possible cause: The package source directory contains files that might be in use by an active process.
    Solution: Close any processes that maybe using files in the source directory.  If this failure persists, create an alternate copy of the source directory and update the package source to point to it.
    Email messages from other component sources have the complete description field.
    Can someone tell me what I am doing wrong or what I might be missing?
    Thanks,
    Steve

    Hi,
    You may refer to the following links to check if they help:
    Sending SCCM Status Messages from MDT Scripts.
    Send SCCM task sequence email report
    Regards,
    Sabrina

  • Message from R3/ECC

    Hi Experts,
    Scenario is for ISA-ECC.
    We are recieving the message Id, Type, Num from ECC to the JAVA layer.
    Is there any way that we could capture the Message Id, Num.
    My intention is to check for the message  number and display the custom message.
    Custom message will be maintained in the resource key file.
    There is something i encountered ui.getMessageString on the confirm.jsp.
    Is their any possibility to change the message from the backend itself. Backend is ECC.
    Experts,
    Please help to resolve this issue.
    Please let me know if more info is required.
    Best regards,
    Rohit Sharma

    Thanks

  • How to move status messages?

    Ok I am aware that Google Chrome and IE have the same issue (The fact that both IE and Firefox has decided to emulate Google chrome is disturbing to me.) But that aside, many sites I visit have dynamic content in the lower left corner of the web page. Status messages from the browser overlay this content.
    How can I move the position of the status messages to the right bottom corner?
    (And yes! when you had an actual status bar these messages did not interfere with the web page)

    You can use a custom style rule to force it to the right (normally it appears on the left for left-to-right languages unless it would impinge on a link you are hovering):
    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    statuspanel{
    right: 0 !important;
    Custom style rules can be applied to Firefox by creating/editing a userChrome.css file (see: [http://kb.mozillazine.org/UserChrome.css]) or using the Stylish extension ([https://addons.mozilla.org/firefox/addon/stylish/]). More detail on those if needed.
    But the above rule doesn't prevent the message from obscuring whatever is behind it. To move the message off the page and back into a proper status bar, you might consider https://addons.mozilla.org/firefox/addon/status-4-evar/

Maybe you are looking for

  • SharePoint Designer 2013 Workflow Fails to open.

    I've been trying for a day or so to get this 2013 workflow to open up in sharepoint designer.  Everytime I get the following error "Field to load this workflow. To correct this problem, restart SharePoint Designer." Then when I refresh the screen I g

  • Problem copying text from word to dreamweaver

    Howdy.. had a problem copying text from a word doc (07) to dreamweaver, for some strange reason it missed a complete section in the middle, 2 paragraphs gone... no errors... no blank spaces, just would not copy and paste the section, everything b4 an

  • Howto filter SharePoint 2010 list by current display language / LCID?

    I want to define a list-view to filter rows of a list based on the curently selected language in sharepoint MUI. Is this possible? Maybe i can use a calculated column with formula? Are there any variables for LCID i could use in formula? List-Sample

  • SAP ERP 6  system and compatibility with BW systems.

    Hi All, An upgrade to a ECC 6.0 system form 4.6C or 4.7 system is fine. But however, in an integrated environment - the 4.6C system is usually integrated with other SAP Products as well. The question I have is is a ECC 6.0 system compatible with BW 3

  • Web Template format won't export properly

    We have built several web templates as dashboards for our users.   Typically the templates have a chart at the top, with two data tables next to each other on the page.  When we export to PDF or Excel.  All the objects appear vertical, one after the