Sy-msgno - What are the possible numbers and their meanings?

I am wondering what the possible numbers are for the field sy-msgno and their meanings.  I am trying to determine what some code is doing but there isn't any documentation.  The code is looking for, and setting, specific values in the field sy-msgno so knowing what these numbers mean will help me out.
Thanks,
Davis

It is the system provided Message Number.
Suppose you wants to display the error message provided by some SAP standard code (Ex: returned by functional module) then this is used along with sy-msgid to get the error message.
suppose i called a FM say 'OIB_QCI_READ_CONV_PARAMETERS'and it returned sy-subrc NE 0. now at that condition i want to display the system generated error message. Then i will use sy-msngo along with system id sy-msgid.
CALL FUNCTION 'OIB_QCI_READ_CONV_PARAMETERS'
              EXPORTING
                i_charg                  = lv_charg
                i_datum                  = lw_proxy_tab-zpicdate
                i_lgort                  = lv_lgort
                i_matnr                  = lw_proxy_tab-matnr
                i_werks                  = lw_proxy_tab-werks
                i_time                   = lw_proxy_tab-zpictime
              IMPORTING
                e_oib_a04                = lw_oib_a04_def
              EXCEPTIONS
                datum_not_passed         = 1
                matnr_not_passed         = 2
                not_found                = 3
                werks_not_passed         = 4
                conversion_error         = 5
                inconsistent_data        = 6
                calculation_failure      = 7
                inconsistent_customizing = 8
                OTHERS                   = 9.
            IF sy-subrc NE 0.
              lv_msg_id = sy-msgid.
              lv_msg_no = sy-msgno.
              CLEAR: lv_error_data.
              PERFORM fill_error_message TABLES pt_t_mailmsg
                                          USING  lv_msg_no
                                                 lv_msg_id
                                                 lv_error_data.
              CLEAR: lv_msg_id, lv_msg_no, lv_error_data.
              lv_error = gc_x.
           ENDIF.
FORM fill_error_message TABLES pt_pt_t_mailmsg STRUCTURE solisti1
                        USING p_lv_msg_num TYPE char3
                              p_gc_mssg_class TYPE char8
                              p_lv_error_data TYPE char300.
  DATA: lv_text(250),
        lw_msg LIKE LINE OF pt_pt_t_mailmsg,
        lv_error_data(18) TYPE c.
* Reading the error message from the message class
  CALL FUNCTION 'MESSAGE_TEXT_BUILD'
    EXPORTING
      msgid               = p_gc_mssg_class
      msgnr               = p_lv_msg_num
      msgv1               = p_lv_error_data
      msgv2               = ' '
      msgv3               = ' '
      msgv4               = ' '
    IMPORTING
      message_text_output = lv_text.
* Append error message to error table
  lw_msg = lv_text.
  APPEND lw_msg TO pt_pt_t_mailmsg.
  CLEAR: lw_msg, lv_text.
ENDFORM.                    "fill_error_message]

Similar Messages

  • My iSight is not working on my Macbook Pro. What are the possible problems and solutions?

    My iSight is not working on my Macbook Pro. What are the possible problems and solutions?

    Hello Douglas,
    Thank you for the details of the issue you are experiencing with the built-in iSight camera on your MacBook Pro.  I recommend the following steps for this issue:
    Important: Follow these instructions in order. Test the camera between steps to see if the issue is resolved.
    Built-in iSight cameras
    These steps are for iSight cameras that are built into a computer, such as the iMac G5 (iSight) or later, the MacBook, or MacBook Pro.
    See if the issue is application-specific.
    Try another application (iSight works with applications like iChat, PhotoBooth, and iMovie HD 6) to see if the iSight camera exhibits the same behavior in all applications. If it only happens in one application, try reinstalling that application.
    See if the issue is user-specific.
    Test your iSight camera in another user account. If the issue only occurs in one user, the issue would be isolated to user settings.
    Find out if the computer recognizes the iSight
    Check System Profiler (in the Utilities folder, inside the Applications folder). Under the USB header, check to see if the iSight camera is detected.
    Reset SMC or PMU
    Reset your computer's SMC or PMU, and then check System Profiler again. (SMC reset instructions for iMac G5 (iSight), Intel-based iMacs; PMU reset instructions for MacBook and MacBook Pro.)
    If your built-in iSight camera is still not behaving correctly after trying all these steps, you may need to contact Apple or an Apple-Authorized Service Provider for service.
    You can find the full article here:
    How to Troubleshoot iSight
    http://support.apple.com/kb/ht2090
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • What are the possible srcTrig and destTrig values for MapTrig2Trig?

    I would like a general listing of the values for reference. As an example of something I might want to do, can I put the clock (CLK10) on the front panel TRIG OUT connectoe of my pc-870 controller by issuing the MapTrig2Trig with srcTrig=70 (CLK10) and destTrig=41 (TRIG OUT)?
    jc
    Mac 10.4
    LV7.1
    CLD

    Hi jcrooke,
    The values for this function can be found in the VXI API Reference help, which I have attached. Search for "maptrigtotrig" and the function help has a listing of the valid values. I hope this helps!
    Regards,
    Missy S.
    Calibration Engineer
    National Instruments
    Attachments:
    nivxiapi.zip ‏355 KB

  • What are the possible reasons why this R3 info not getting to BW?

    Hi,
    I have data coming into BW from R3 a datasource DataSorce1; When it gets to BW, SalesOrg numbers 22941 and 22942 comes to BW without problem but 22943 which is a new config. In the R3 master data does not get to BW.
    1. What are the possible ways to troubleshoot this?
    2. How can I confirm that the data shows in R3: i.e. showing my SalesOrg 22941 and 22942 in R3, and also confirm that 22943 truly exists in R3.
    3. How do I confirm that 22943 did not get to BW (if it exists in R3)?
    4. What if this is some custom program bringing 22941 and 222942 to BW? How do I see the program name and track down why the third one is not getting to BW?
    Please provide the necessary to tcode in all the discussions
    Thanks

    1. 1st thing... If there is no Sales againest Sales Organization. you won't see in Cubes if it is part of Transactional Data. <u>Load New Sales Organization Texts</u>.
    1.  If it is new Sales Organization as Navigation Attribute only(Assume for Sales Order), try activate your master data for Sales Order. check in your Sales Organizatio IO Master Data and Sales Order Master Data
    2. If it is Part of Transactional Data, Check in your RSA3, PSA.
    How to check in RSA3?: If you are usng 2LIS_11_VAHDR. goto se16, provide VBAK table, press enter. in the Select for Sales Organization. Put 22943. Provide Order type Standard Order. and Execute. Take any Order Number from output list.
    Goto RSA3, provide your choosen sales order in the RSA3 selection in Sales Order field Execute it.
    If you are able to find this Sales Order in Both RSA3 and PSA. You are getting Data for 22943 Sales Organization.
    case 1: If you are able to see Choosen Sales Order in RSA3, not in PSA. check User Exit Code.
    case 2 : If you are able to see Choosen Sales in PSA and Not in Targets. check all transformation.
    Are you working with Standard DS(2LIS_11_) or Custom Datasource(Z)?
    Nagesh Ganisetti.
    Assign points if it helps.

  • What are the lighted numbers on top right of sk2023 k3yboard for?

    what are the lighted  numbers on top right of sk2023 k3yboard for?
    This question was solved.
    View Solution.

    Hello again redhue,
    Thank you for the quick reply!
    In addition to the three lights you see above your number pad (on the far left-hand side), are there any other lights illuminated on your keyboard? Is it possible to take a picture of where these lights are, and post them? Otherwise, the lights should indicate specific locks:
    The Num Lock
    The Cap Lock
    The Scroll Lock
    In essence, these lights indicate when you have locked any one of these three options.
    I hope this helps!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • What are the possible values for the JOB status?

    What are the possible values for the JOB status in the table TBTCP and significance for each?

    Hi,
    Have a look at include LBTCHDEF.
    The standard include from SAP.
    -> Definitions and Constants for Function group BTCH
    Kind Regards
    Raymond

  • The web developer toolbar wont load on my computer, what are the possible solutions?

    when i click to download the toolbar now, firefox refreshes as it should be nothing happens.
    maybe i dont see the toolbar? i cant find it.
    what are the possible reasons its not downloading and what can i do?

    Hey lydiabat10,
    Thanks for using Apple Support Communities.
    Looks like the iPhone won't allow explicit content on it. One thing you may want to look at is the Restrictions.
    iOS: Understanding Restrictions (parental controls)
    http://support.apple.com/kb/HT4213
    Have a nice day,
    Mario

  • My macbook is getting hot pretty quickly. What are the possible causes?  How can I tell if it is mechanical vs. dust?

    My Macbook Pro is getting hot pretty quickly. What are the possible causes?  I have had the machine about 3 years.

    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Install iStat Menus 4.05 to provide actual temperature readings and fan speeds.

  • What are the possible errors that can happen in data loads(rsmo monitor)?

    hi all,
    what could be the error that could result in red color in the RSMO  monitor of data load transaction?
    1. request everything ok
    (what are the possible error type which make here red)
    2. extraction everything ok
    (what are the possible error type which make here red)
    3. transfer (idocs and trfc) error occured?
    (what are the possible error type which make here red)
    4. processing
        - data package
    5. process chain
    (what are the possible error type which make here red)
    6 other messages.
    (what are the possible error type which make here red)
    thanks
    pooja

    Hi,
    I can tell you the most common reasons of these failures.
    1. request everything ok
    Here it will be telling you if the request was properly send to source system and got triggered there.
    2. extraction everything ok
    In this step the actual extraction of data happens, issue slike sysfail or CPIC error may cause this to fail.
    3. transfer (idocs and trfc) error occured?
    When extraction is complete and data is being send to BW. But if dur to some reason it fails, error may come here.
    4. processing
    Processing in BW fails for each data packet is displayed here.
    This can also happen when you have sysfail in source.
    5. process chain
    This can show the logs of the chain here and also status of subsequent process.
    6 other messages.
    Any other error message.
    Refer
    What is the information we can get the through details tab in RSMO
    working with RSMO errors
    http://help.sap.com/saphelp_nw70/helpdata/en/12/43074208ae2a38e10000000a1550b0/frameset.htm
    Also
    Data Load Errors
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    Data Load issues
    Errors in loading
    data loading errors
    load Errors
    Process Chain Errors
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Common Process chain errors
    process chain issues or errors
    Hope this helps.
    Thanks,
    JituK

  • What are the maximum numbers of parameters that a subvi can be obtained?

    What are the maximum numbers of parameters that a subvi can be obtained?

    I'm not sure I understand exactly what you mean. Do you mean to ask how many parameters you can pass to a subVI? That would be a very large number because a connector pane can have a dozen or so terminals--and if each terminal is a cluster... You could pass a very large number indeed.
    Having said that however, you probibly wouldn't want to. Remember the more parameters you're passing the more tightly coupled your code is--and the less reusable the code will probibly be.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • What are the possible cost objects for raw material consumption postings

    what are the possible cost objects for raw material consumption postings. i want to know whether it can be work order(maintenance order).

    For example, you are confirming a process order and issuing raw materials to the process order, the system in the background creates the consumption posting and will by default use the process order as a cost object.
    Similarly, when you are issuing materials to a work order, you will use MB1A and with movement type 261 and the system prompts you to enter the order number.  If you are using movement type 201, then the system prompts you to enter the cost center and so on.
    Thanks,
    Madhav Nanduri

  • HT3546 my airport will not power on, what are the possible causes?

    My Airport just shut off and it will not power on. I unplug it from the wall and pulg it back into the power outlet but it still won't power on. What are the possible causes. Is this system just died out, I have it for about 3 years.

    Causes....a failed electical power supply component or an internal connection that has come loose.
    It's a real longshot, but if you are handy with small tools, carefully saw open the case of the Express along the center seam to open up the case and look for something obvious.
    Your chances of success here are very very small, but if you have the time and inclination, it won't hurt to try.

  • What are the possible solutions..?

    I have a column in a database table of type LONG RAW . This column was represented as an OLE Container - which in 10g is obsolete - in a form (Forms 6i). Trying to compile this form to Forms10g , I receive an error FRM-30454.
    Is it possible to retain the form as it is , by simply change a property , ....
    Anyway , What are the possible solutions for this kind of problem?
    Thanks , Simon

    Nice subject title. It is as good as "Urgent. Please help". Why don't you go back and edit your message and change the subject to something like:
    Long Raw / OLE: 6i to 10g

  • The charger port pin in an iphone 5 is broken. What are the possible solutions to this issue?

    The charger port pin in an iphone 5 is broken. What are the possible solutions to this issue?

    Read: http://support.apple.com/kb/TS4436
    It is pretty short so here is the entire text:
    Symptoms
    A purplish or other colored flare, haze, or spot is imaged from out-of-scene bright light sources during still image or video capture.
    Resolution
    Most small cameras, including those in every generation of iPhone, may exhibit some form of flare at the edge of the frame when capturing an image with out-of-scene light sources. This can happen when a light source is positioned at an angle (usually just outside the field of view) so that it causes a reflection off the surfaces inside the camera module and onto the camera sensor. Moving the camera slightly to change the position at which the bright light is entering the lens, or shielding the lens with your hand, should minimize or eliminate the effect.
    Which is exactly what eelw wrote.
    No one on Apple Support Communities has authority to speak on behalf of Apple, unless their avatar is accompanied by this Apple image:
    ... identifying themselves as Apple employees.

  • Orphan Essbase processes - What are the possible causes

    We are running Essbase 11.1.1.1.00 on AIX and have encountered numerous orphaned processes. IE.
    hypadm 753666 975046 0 Dec 16 - 487:34 /appl/hyp/hyperion/products/Essbase/EssbaseServer/bin/ESSSVR Periodic xxxxxx NOCREATE 10000 65535 "" 1 1 1927282691 NODEBUG 1 109 116 2 English_UnitedStates.Latin1@Binary
    hypadm 975046 1 0 Dec 15 - 2:53 /appl/hyp/hyperion/products/Essbase/EssbaseServer/bin/ESSBASE ** -secure
    We have to manually kill these processes or the cause problem with the logs and performance.
    What are the possible causes? Has anyone else experiences similar issues?
    Thanks

    We had a similiar problem on UNIX. It was due to a process clean up script that was running as part of scheduled server maintenance. For some reason it would kill the Essbase server process and leave us with the orphaned child processes.
    Once we figured that out the script was adjusted to ignore all Essbase processes.
    Your example - I may be reading it wrong but it does not appear to be orphaned.

Maybe you are looking for

  • Wrong Partner Application Site ID

    Hi, i deleted a partner application by mistake and i tried to re-create it. When i created a new one, it automatically got assigned a new and different SITE_ID, Site Token AND Encryption Key. The problem is that when i go to mu home URL, it is lookin

  • Mail attachments & iWork workflow lacking & unfriendly to non Apple users

    I've been an apple user for several years now after 20 years behind a PC. I try to convert as many people as i can to the OSX way but it is often little things like this that will deter would be converts. My father is one that comes to mind. 99% of t

  • File to Idoc Nodes mapping

    My sender File structure is like this.. MT_Sender -Recordset 0 to Unbound --Header 1 to 1 ---field1 ---field2 ---fieldx --GL_Account 0 to Unbound ---field1 ---field2 ---fieldx ---Cust_Item 0 to Unbound field1 field2 fieldx Curr_Item 0 to Unbound fiel

  • Command line user authentication

    I'm probably missing something obvious, but can't find it in the command line manual or via google... What can I use on the command line to just test a username & password against OD? I can find the user using ldapsearch and see the encrypted passwor

  • TS1292 I have a $50 credit in my account. I don't have the code. What do I do?

    I have a credit in my iTunes account. I don't have the code. How do I redeem my credit ?