How to create monitor entries from an update routine?

Hi,
Does anyone try to create monitor entries in ABAP routine in update rules?
I have How-to guide "How to... Create monitor entries from an update routine". I applied code from it.
RETURNCODE = 1.
MONITOR-MSGID = 'RSM'.
MONITOR-MSGTY = 'W'. *** I also tried MONITOR-MSGTY = 'E'
MONITOR-MSGNO = '799'.
MONITOR-MSGV1 = 'My message '.
MONITOR-MSGV2 = COMM_STRUCTURE-<MY_FIELD>.
append MONITOR.
EXIT.
But it doesn't work. I don't see new lines on Details tab in AWB Monitor.
What's wrong?
BW 3.0B

Hi, hope you had a good weekend.
I tried with MSGTY = 'I' and I didn't get any errors or warnings at load.
In the monitor, on the detail tab, I find hidden under:
Processing (data packet)
-> Data Package x
   -> Transfer rules
      -> Data records for package x
         -> Record 0:
         -> Record 0:
         -> Record 0:
When I select "Display Message(s)" from the dropdown-menu on one of these "Record 0:" lines, I get to see
my message text: S:RSM:000 test1 test2
1) how can I change the text that appears in the monitor tree ("Record 0:") ?
2) The status of these nodes is always a green led (also with MSGTY = 'W')... shouldn't it be a yellow triangle?
Like this it is hell to find your warnings/information messages.
3) I cannot find my monitor messages with transaction SLG1... should I be able to find them there?
Kind regards,
Edwin

Similar Messages

  • How do you add an entry in the monitor log from the update rules?

    How do you add an entry in the monitor log from the update rules?

    Check this link for relevant SAP recommended implementation.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c22e690-0201-0010-9581-832abdb5d50d
    Sample Code (Routine) available on the last page of the document.
    award points if useful

  • Error in creating New Entry from the Client in NW Mobile 7.1

    Hi All,
    I have created a mobile application for Laptops in NW Mobile 7.1.
    I have a requirement to create an entry from the client, i.e., I need to create a PR in the client. The model bindind, the backend adapters, bapi wrappers are in place.
    I have used the standard create BAPI for PR and wrapped it in a BAPI wrapper. I just have to give the PR details and save the entry in the client. The BAPI wrapper has the logic for generating the new PR number.
    My problem here is, when I try to create a new PR, give the details and save, the entry is not getting updated in the backend and the sync state is '201'.
    I checked the "Message Monitoring" in the NW Mobile Administrator for the particular SWCV.
    For this create PR transaction, the particulars are as below
    Message State: Error - Stop Flow
    Message Type: Transaction
    Error: "Error occurred while fetching synckeys from table ZDOE01700000SL"
    "ZDOE01700000SL" is the Sync key look up table for PR(my data object).
    Please let me know where I have gone wrong and guide me in rectifying this problem.
    Thanks and Regards,
    Sunil

    Hi Sunil,
    From my understanding, looks like you are not filling synckey when you are creating a PR in your client. Synckey is a unique key on the DOE using which you can uniquely identify any node.
    There are two scenario's atleast as I know, where this error would have come.
    Case 1. If you are modifying something on client, which has been send by DOE, then you are not supposed to change synckey because it is a primary key. Now if we assume that you are not modifying synckey but when you are sending an update, check if by any chance the synckey is not going to DOE which is one case, and the second one is, after DOE has end that record to client, someone has cleaned up all the tables on DOE for that dataobject or someone has deleted that entry on the backend because of which the entry has been deleted on DOE. In either case, you are modifying something on client which is actually not present on DOE because of which when the DOE tries to look up based on synckey it doesn't find the needed record.
    Case 2. If you are creating something on client, then you are supposed to create a synckey which is a 32 bit character GUID. I think in your case, you are missing the synckey when you are sending it to DOE. Check if there is any API for doing that or you have manually create a GUID and send it.
    Hope it works out.
    Best Regards,
    Siva.
    PS: Reward with points if you find the post useful.

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • Help - how do I stop Itunes from auto update

    I have just deleted everything from my Itunes. How do I stop Ipod from being updated by Itunes automatically (it's now blank except for 2 new songs I just bought. My Ipod has over 1000 songs on it and I don't want it all to be erased by updating it to a blank Itunes library!!
    Thanks

    How to keep iTunes from automatically updating your iPod
    Another Easier Alternative:
    While connecting the iPod to the computer, hold down the Shift + Ctrl keys in Windows (CMD + Option keys on a Mac). This will stop the iPod from auto-syncing with iTunes. The iPod will then appear in the iTunes source list. Wait until you are sure the iPod has mounted, and that it will not auto-sync and then you can release the keys. This action may take between 3 and 25 seconds depending on your computer.
    You can then ‘right-click‘ on the iPod icon in iTunes’ source column and select iPod Options, then check the box that says “Manually manage songs and playlists”. You can now manage your library without losing any songs on the iPod.
    If connecting to a
    i different computer
    than the ‘iPod’s Home Computer’, iTunes will ask you if you want to update your iPod and give you an opportunity to opt out. This will not happen if you connect to the ‘Home’ computer – iTunes will auto-sync without warning!. Best to know the difference.
    Then: Transfer music manually

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • How to create an entry in Badi Filter table T77HAP_FLT_PRP

    How to create an entry in Badi Filter table T77HAP_FLT_PRP

    Hello Rahul,
    Filter types should be created on badi implementations ( in transaction se19 )
    Read my answer on this thread :
    Re: BADI:Filter type un editable
    I hope it helps.
    Bulent

  • How to create an entry TVARVC

    hi how to create an entry...in TVARVC  for a variable...

    is it possible just go to  TVARVC
    utilities----> table contents-> creat entries.
    just check with this .
    Thanks

  • How to create an invoice from multiple sales doc.

    Hi,
    how to create an invoice from multiple sales doc.
    thanx,
    sourav

    hello, friend.
    assuming that your settings in VTFA and VTFL allow, you can create 1 invoice for many sales orders or deliveries by using VF04.  choose all documents that apply and click "collective billing document". 
    you can also click on "simulation" if you want to test if the combination is possible and the system will give you a split analysis if this is not possible.
    regards.

  • How to create set hierarchies from FI SL.

    Hi Experts,
    How to create set hierarchies from FI SL. Could you please tell me
    Step by step procedures or send to this mail id [email protected]
    Thanks
    Regards,
    Sathis.J

    Hi,
    FI-SL
    http://help.sap.com/saphelp_nw2004s/helpdata/en/28/5ccfbb45b01140a3b59298c267604f/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/41/65be27836d300ae10000000a114b54/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
    Hope This Helps.
    Thanks,
    Sankar M

  • How to select alternate entries from the database table

    Hi Experts,
    can u help me, how to select alternate entries from the database table.
    Thanks

    As there is no concept of sequence (unless there is a field specifically included for the purpose), there is no meaning to "alternate" records.
    What table do you have in mind, what data does it hold, and why do you want alternate records?
    matt

  • How to create database link from oracle to sql server

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal

    Please help with how to create database link from oracle to sql server
    Best regards,
    Vishal
    Hi Vishal,
    I found a lof of information regarding how to create a database link from Oracle to SQL Server, please see:
    https://www.google.co.in/?gws_rd=cr&ei=vd3XUvGFO8TgkAXqlYCADg#q=how+to+create+database+link+from+oracle+to+sql+server
    We discuss SQL Server related issue in this forum. If you have any more question regarding Oracle, please post it in Oracle communities forum for better support.
    Regards,
    Elvis Long
    TechNet Community Support

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • How to Create adf table from java bean

    Hi,
    How to Create adf table from java class (Not from ADF BC).
    Thanks
    Satya

    @vlsn -- you have to follow what shay said.
    Do the following in Model layer ::
    create a table property java class with your columns setters and getters like :
    *public class gridProps {*
    private int sno;
    private String orderNum;
    *public void setSno(int sno) {*
    this.sno = sno;
    *public int getSno() {*
    return sno;
    *public void setOrderNum(String orderNum) {*
    this.orderNum = orderNum;
    *public String getOrderNum() {*
    return orderNum;
    Create another table java class which will populate the values to your column values and return the collection :
    *public class gridPopulate {*
    private  List<gridProps> gridValues ;
    *public List<gridProps> setToGrid(ArrayList<ArrayList> valuesToSet) {*
    *if (valuesToSet == null) {*
    return gridValues;
    gridValues = new ArrayList<gridProps>();
    if(btnValue.equals("completeBtn"))
    return gridValues;
    for(ArrayList<String> tempArr:valuesToSet)
    gridProps gp = new gridProps();
    gp.setSno(Integer.valueOf(tempArr.get(0)));
    gp.setOrderNum(tempArr.get(1));
    return gridValues;
    Right click gridPopulate class and create this as data control.This class will be seen in Data control list.Under this data control,Drag the grid property collection(created earlier) to your page.Then execute your binding(gridPopulate) according to your logic.
    Thanks.(My jdev version 11.1.1.5.0)

Maybe you are looking for

  • Time machine bug after upgrading system

    Hello, I just upgraded my macbook pro from Lion to Mountain Lion. After this upgrade, I created a new admin account and tried to install back my previous account with my entire files thanks to migration assistant with a time machine data. Unfortunate

  • Safari 2.0.3 corrupted:can't find update again!

    Hi I'd be grateful if someone could help out with a leeetel prob I've encoutered: For some reason, Safari 2.0.3 has corrupted. The icon has changed to the standard application icon, and it won't open anymore. (I've had months of good service from the

  • TS1538 itunes won't recognize iphone

    my itunes will not recognize my iphone. there is no devices tab what so ever. i have tried restarting my computer. restarting my phone and reinstalling itunes and nothing is helping. any suggestions?

  • IS-R and Plant Maintenance

    Hi, I was wondering if anyone had used Plant maintenance in an IS-R environment. Did you use articles or materials for the parts that were assigned to work orders? Did you use MPN numbers for these parts? I have found some conflicting info regarding

  • SAPBI has stopped unfortunately

    Hi...      When i am going to run my webi gmap report on mobile device it is running fine but i have created an open document URL as below when i click on any pin in the gmap  its giving error as "SAPBI has stopped unfortunately" after few seconds.Ca