Issuing error message when creating a record for infotype

i have a req in HR
for the infotype 14 and the subtype 3010, when i'm going to create a record, i need to check some fields in infotype 0002. if check fails, i need to give error message and stop processing...
how i should do this...
thanks in advance

Go to CMOD transaction and create a project with enhancement PBAS0001.Components for PBAS0001 is EXIT_SAPFP50M_001,EXIT_SAPFP50M_002.
These two exit will contain tw0 includes ZXPADU01,ZXPADU02.ZXPADU01 include will trigger in the PBO of the transaction in create and change mode  and ZXPADU02 will trigger in in create and change mode  .Inside the inculde you can add the following code for different infotype
  CASE innnn-infty.
0 0 1 4 *************************
    WHEN '0014'.
      PERFORM validate_0014_pai USING tclas
                                        psave
                                        ipsyst
                                        i001p
                                        i503
                              CHANGING  innnn
                                       show_data_again.
0 1 4 7 *************************
    WHEN '0147'.

Similar Messages

  • @reference0 must be defined error message when creating parameters in for loop before SQL insert query

    I need to parameterise the query in the for loop, but VS2013 keeps telling me that @reference0 must be defined.
    Any reason why this keeps happening?
    var dbConnect = new DbConnect();
    var cmd = new MySqlCommand();
    dbConnect.OpenConnection();
    var query =
    "INSERT INTO booking (operator_id, plot_id, postcode, datetime, stops, " +
    "mileage, price, passengers, name, note, phone, status, reference) " +
    "VALUES (@operator_id, @plot_id, @postcode, @datetime, @stops, " +
    "@mileage, @price, @passengers, @name, @note, @phone, @status, @reference);";
    for (var i = 0; i < _waypointList.Count; i++)
    query +=
    @"INSERT INTO waypoint
    (booking_id, sequence, address, lat, lng, reference)
    VALUES
    ((select id FROM booking WHERE reference=@reference" + i + @"),
    @sequence" + i + @",
    @address" + i + @",
    @lat" + i + @",
    @lng" + i + @",
    @reference" + i + ")";
    cmd.Parameters.AddWithValue(("@reference" + i), _reference);
    cmd.Parameters.AddWithValue(("@sequence" + i), i);
    cmd.Parameters.AddWithValue(("@address" + i), _waypointList[i]);
    cmd.Parameters.AddWithValue(("@lat" + i), _lat);
    cmd.Parameters.AddWithValue(("@lng" + i), _lng);
    Console.WriteLine(query);
    cmd = new MySqlCommand(query, DbConnect.Connection);
    cmd.Parameters.AddWithValue(("@operator_id"), _operatorId);
    cmd.Parameters.AddWithValue(("@plot_id"), _plotId);
    cmd.Parameters.AddWithValue(("@postcode"), _postcode);
    cmd.Parameters.AddWithValue(("@datetime"), _datetime);
    cmd.Parameters.AddWithValue(("@stops"), _stops);
    cmd.Parameters.AddWithValue(("@mileage"), _mileage);
    cmd.Parameters.AddWithValue(("@price"), _price);
    cmd.Parameters.AddWithValue(("@passengers"), _passengers);
    cmd.Parameters.AddWithValue(("@name"), _name);
    cmd.Parameters.AddWithValue(("@note"), _note);
    cmd.Parameters.AddWithValue(("@phone"), _phone);
    cmd.Parameters.AddWithValue(("@status"), Status);
    cmd.Parameters.AddWithValue(("@reference"), _reference);
    cmd.ExecuteNonQuery();
    dbConnect.CloseConnection();

    reason :>
    for (var i = 0; i < _waypointList.Count; i++)
    query +=
    @"INSERT INTO waypoint
    (booking_id, sequence, address, lat, lng, reference)
    VALUES
    ((select id FROM booking WHERE reference=@reference" + i + @"),
    @sequence" + i + @",
    @address" + i + @",
    @lat" + i + @",
    @lng" + i + @",
    @reference" + i + ")";
    cmd.Parameters.AddWithValue(("@reference" + i), _reference);
    cmd.Parameters.AddWithValue(("@sequence" + i), i);
    cmd.Parameters.AddWithValue(("@address" + i), _waypointList[i]);
    cmd.Parameters.AddWithValue(("@lat" + i), _lat);
    cmd.Parameters.AddWithValue(("@lng" + i), _lng);
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Anyone else getting a timed out error message when trying to check for updates via the app store software on a desktop?

    anyone else getting a timed out error message when trying to check for updates via the app store software on a desktop?

    Hi, couple of things to try...
    Anonymous
    Post subject: NSURLErrorDomain error -1100 in OS X 10.8
    If you check for software updates using the App Store in OS X 10.8 and get "NSURLErrorDomain error -1100" the problem may be with your Software Update preferences. This is particularly likely if you were using a custom Apple Software Update server. To solve the problem, quit the App Store, move the following two files (if present) to the trash, restart, and only then rerun App Store updates:
    /Library/Preferences/com.apple.SoftwareUpdate.plist
    /Library/Preferences/com.apple.SoftwareUpdate.plist.lockfile
    http://x704.net/bbs/viewtopic.php?f=12&t=6130
    I was recently trying to upgrade to mountain lion through the app store.  I have unreliable Internet from a cable company whom I will not name, but we all know who they are.  My Internet dropped while downloading the upgrade.  Once I went through the notorious unplug the modem/router and plugged it back in to gain Internet connectivity again, I could not resume. No matter what I did, the app store kept displaying "an error occurred." I am hoping that those with the same issue read this first to save them hours of skimming through the Internet to find a solution.  Here are the steps to take:
    1. Make sure you have reestablished Internet connection
    2. Chances are you got frustrated when you tried to resume/unpause the download and clicked the "X" to the left.  If so, select the "Store" drop-down menu from the App Store and select "View My Account." There should be an option to unhide your purchase.  You know what to do.
    3. There is also an option to  reset all warnings for buying and downloading under "View My Account." Do this, click "Done," sign out of the App Store and quit the App Store.
    4. Open the Preferences in safari and select Privacy.  Select "Remove All Website Data."  Just do it.
    5. Launch the app store and sign in.
    6. Now, if you "Check for Unfinished Downloads" everything works peachy.
    I hope this helps.  Not much I can do for your Internet connection though.
    JonEz15...
    https://discussions.apple.com/thread/4697970?tstart=120

  • How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    Screenshot of how it looks when i try to show a ms access form inside a iframe:
    http://oi58.tinypic.com/2vj4ish.jpg

  • I'm getting error messages when I download updates for lightroom and flash for the mac. can't figure out how to trouble shoot.

    I'm getting error messages when I download updates for lightroom and flash for the mac. can't figure out how to trouble shoot.

    It sounds as if your browser and some of your apps are not color-managed.  This is pretty typical.  Even IE9 is only partially color-managed.
    You can expect color-managed and non-color-managed applications to show you different things with the same images.  How different will depend upon how different your monitor color profile is from the image's color profile.
    For web publication and most general use, experts usually advise saving images with the sRGB profile.  If such images, saved through the Save for Web & Devices function, look different to you than you expect, it may be that your input images have previously been saved in another color space.
    You should really try to get your head around color-management by reading more on it.  It can seem baffling and it's difficult to understand without some background.  A quick web search turns up many overviews.  Beware, though, even people writing articles sometimes don't fully understand it.
    -Noel

  • "Macros in this project are disabled..." error message when creating PDF files

    The following error occurs when creating a PDF file using a document that was created from a MS Word 2007 templates.
    "Macros in this project are disabled..."
    The security settings are set appropriately - it's not that. I have done everything I can think of including asking Microsoft; they say it's not them. It may not be, but I do not know how to get around it. It did not happen before upgrading my templates to the Office 2007 format.
    Has this happened to anyone else? There is no coding within th etemplates regartding PDFs. We are using Adobe Professional X.  The error only occurs when we use Adobe Pro X.
    One thing I just noticed, our templates get the following message when we go to save as a PDF using Adobe:
    Acrobat PDFMAker needs to save the file before continuing. Do you want PDFMaker to save the file and continue?

    Does it work the first time after you delete your Normal.dotm file? You may be running into the same issue that is detailed in this post Unable to open document. Please check to see if you have read permission for the above file.

  • Error message when no atachment found for the workitem while approving ?

    Hi Folks,
    I need some help in this issue please.
    Requirement is, Agent needs to attach a document to work item and then approve. To achieve this, i have put code in for complete execute condition of the step.
    This is how it works, when agent attaches doccument and approves, it completes workitem and when there is no attachment, it does not complete work item but it does not stop agent by throwing anykind of error message.
    I need a error message when there is no atachment found for the workitem and agent tries to approve it. Please suggest how i can get this done ?
    Thanks a lot in advance..
    Prasu

    Hi
    There a couple of different ways to accomplish this.
    If your not using standard task/methods your able to extend your method. In here just check if a document is attached, display a message with the message statement, or a FM (e.g. TH_POPUP_TO_INFORM), and then call the workflow statement "<b>Exit_Cancelled</b>", by doing this the workitem will stay in the inbox, in status in process until the document is attached.
    If your using standard task / Methods, you need to check if a document is attached in the workflow logic, preferably in a condition. Now - if no document has been attached create a loop, and within this loop create a task, for displaying the message. A easy solution here could be a simple decision task with only one Decision, or if you are able to do some ABAP development, create a small method for displaying the message.
    In order to make sure that this task/message will popup immediately, create a container element e.g. "Last_Agent", the do a binding from the decision task to the workflow container ActualAgent -> Last_Agent.  Now you Last_Agent as the agent for you "Display Message" Task
    Regards
    Morten Nielsen

  • Buffering table not up to date error message when creating a Cart

    Hi Folks,
    We are getting a 'Buffering table not up to date' error message when attempting to create a Cart. The error message only happens to the one end user ID only with the others not getting this error, therefore suggesting that my SRM org plan set-up is correct.
    Has anyone come across this previously and what checks are available in the system to resolve this? As mentioned, the attribute check is okay and I have also removed the user ID from the SRM org plan and reassigned again but this has not corrected the problem. We are on SRM 5.
    Thanks. Mike.
    Message:
    Buffering table not up to date
    Method: GET_STRUCTURE_PATHS_UP of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_EMPLOYEE~GET_RL_UNIT_IDS of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_PROFESSIONAL~GET_WORKPLACE_ADDRESS_IDS of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_PROFESSIONAL~GET_WORKPLACE_ADDRESS_ID of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Method: IF_BBP_ES_PROFESSIONAL~GET_WORKPLACE_ADDRESS of program CL_BBP_ES_EMPLOYEE_MYS========CP
    Form: USER_DETAIL_GET of program SAPLBBP_SC_APP
    Form: GLOBAL_FILL of program SAPLBBP_SC_APP
    Form: SC_INIT of program SAPLBBP_SC_APP
    Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP
    Form: APP_EVENT_HANDLER of program SAPLBBP_SC_UI_ITS
    Edited by: Mike Pallister on Nov 5, 2008 11:44 AM

    Please advise on this problem.  When I try to check the Approval Overview tab for these two shopping carts.
    I got a dump.can anyone help me.
    Information on where terminated
        Termination occurred in the ABAP program "CL_BBP_ES_EMPLOYEE_MYS========CP" -
         in "IF_BBP_ES_EMPLOYEE~GET_RL_UNIT_IDS".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 35
        of the (Include) program "CL_BBP_ES_EMPLOYEE_MYS========CM008".
        The termination is caused because exception "CX_BBP_ES_INTERNAL_ERROR" occurred
         in
        procedure "/SAPSRM/IF_PDO_DO_APV_EXT~GET_AGENT_DETAILS" "(METHOD)", but it was
         neither handled locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "/SAPSRM/CL_PDO_DO_APV_EXT=====CP "; its source
         code begins in line
        1 of the (Include program "/SAPSRM/CL_PDO_DO_APV_EXT=====CM00E ".

  • Error message when creating new Pantones

    Hi,
    When I create a new pantone  then double click on it in the swatches panel I get the following error message:
    "Cannot  create swatch library. There are no swatches in the file "HARD  DRIVE:Applications:Adobe InDesign CS6: Presets: Swatch  Libraries:PANTONE+ Solid Coated.acb"
    I've checked the folder and the acb file is there so I don't understand why it is not recognising it?
    Thanks

    Hi, I have CS6 , Mac OS X 10.7.5 and for the permissions I took a screenshot of what it says.
    Where is says 'fetching' that usually says 'imac user' when i check permissions on other files, it is my login name.

  • Error message when creating a Master File

    I have finished editing a multicam clip of a graduation ceremony which is an hour and 27 minutes long. Clients are anxiously awaiting the DVDs/BR discs.
    There are six "Rotation" and one "Ribbon" titles and 21 chapter markers in the timeline. None of the chapter markers are placed in a transition.
    I'm using 10.0.8 FCPX and OS 10.6.8.
    I've tried to create Master File in order to use Toast 11 titanium to make a Blu Ray disc but I've had the following message appear twice midway through the process:
    The operation could not be completed because an error occurred when creating frame 152526 (error -1).
    Any suggestions as to what I might do to resolve this will be greatly appreciated. Or is there is another method to create a Blu Ray disc, I'd appreciate info.
    Thanks,
    Gary

    Go to Preferences and turn off Background Rendering.
    Select your project in the library and in the File menu, click on Delete project Render Files; choose All when prompted. Select your event and do the same with the event Render files. In the project use the range tool to select a short section. Try to export that as a test. Don't render before you export.
    If that doesn't work, copy the project and paste it into a fresh project. Try another export test.
    If that doesn't work, create a new user account.
    As for Blu Ray, there is a Share preset if want to check it out. Very simple menus. And the preset can only handle single tracks.
    Good luck.
    Russ

  • Error message when loading BALTB record

    I am receiving the following error message when trying to load the BALTB record.
    <b>Unexpected record type.</b>                                    
    <i>Key of data record which caused termination:
    Client                  =     ,
    Company Code    = 1000,
    Asset Class         = 153000,
    Old main number  = 99948,
    Old subnumber     =      ,
    Transaction          =  AS91,
    Record type         = B .       </i>
    I have search the forum for answers but I can't seem to find any resolutions. Has anybody encountered this problem and were you able to correct it?
    thank you in advance for the help.

    BALTB  seems to be a structure , can you explain how you r trying to loadd
    The error may be the Record type B is invalid ,  the last field is record type , chk whether B exists or not

  • Error message when creating...help!

    Please help.. I'm getting this error message when I try creating a PDF "error/usr/lilbexec/cups/filter/pstops failed"

    This is the forum for the free Adobe Reader and since it doesn't create PDF's, you'll need to be a bit more specific about what you are doing and what you are using. Maybe then we can point you in the right direction.

  • Error in PA40: missing secondary record for infotype 0001

    Hi Experts,
    while changing the job code of employee i am getting below error in the PA40 transaction for IT0001 .
    Error : missing secondary record for infotype 0001 Key
    could you please tell me why this message is coming.
    Advance thanks,
    Regards
    Ram

    Hi,
    Please check out whether any user exits are maintained.
    Check ZXPADU01/ZXPADU02 includes.
    Please also check out whether there are dynamic actions configured for IT0000 and IT0001 via V_T588Z.
    Regards,
    Dilek
    Edited by: Dilek Ersoz Adak on Dec 16, 2009 3:19 PM

  • Error message when trying to record video?

    PowerMacG5
    OS 10.5.6
    QT 7.5.5
    iSight camera
    When I try to record a video using QT Pro I get the following error message:
    Operation Could not be completed due to an unknown error.
    (error Domain= NSOSStatusError Domain code= 1852797029
    If I try to use iChat, iSight is working fine. After getting the error message in QTPro then iSight does not work anymore even in iChat....
    I have to unplug iSight then plug it back in to get iChat video working again.
    I deleted QT pref, no luck.
    Any suggestions?
    Thanks
    Fred

    after several hours of searching for and testing of lots of different video capture applications, i have finally found one. There were several that worked. But the one that was the best of the ones i tested was *EvoCam (http://www.evological.com/evocam.html)* I haven't used it for long but from what i have seen so far it works sweet. The one main thing i wanted it to do was create video recordings. that it does. it also has several cool options and effects you can apply to the video.
    hope this helps.
    i still have not been able to get QT to record video with the iSight, or find any explanation from anywhere or anyone as to why. here is a list of a few of the other software apps i tried:
    camtwist - (Really cool effects that you can apply to your cam for chats ect.)
    BTVPro
    capture magic
    dreamn capture
    gawker
    ishowU hd
    periscope
    UseeMe
    webcam tweaker
    Rons video grabber

  • Form Captcha Issues - Error message when not filled vs. traditional "Please fill in the following:"

    Just discovered an issue regarding a form using a CAPTCHA.
    When I formerly submitted other forms on sites with CAPTCHA's in the forms I created, when one did not fill out the form, a pop-up window would appear allerting the customer to "Fill in the form field" that were required, including an allert to "Enter Word Verification in box below."
    I have created a new form for a new site and seem to be encountering a different issue. When the form is not filled out and the user clicks "Submit" a new page loads with a red error message saying: "ERROR: An error occurred. Image verification failed. If you believe this is incorrect, please contact your system administrator or go back and re-submit the form."
    How can I correct this to simply have the same required field pop-up window appear like was happening with former developed forms?? Not sure why this form is doing this when all prior forms with CAPTHCA included were just fine. Haven't done anything different to the form that I hadn't to others in the past....Please Help!! Thanks.

    Thank you for posting.
    Please provide us the page URL where you have placed the form and we'll further investigate this issue. You can also contact support directly by creating a ticket or via chat.
    Thanks,
    Aishvarya Raj Rastogi

Maybe you are looking for

  • USB dongles no longer working with hub

    Hello, I am running Logic Pro and a couple of 3rd party plugins which require usb dongles. All of a sudden the usb dongles are no longer found when connected to my 4 port usb 2.0 hub. This was never an issue in the past. Any ideas what might have cau

  • Display issue or DVD player issue?

    I have a project which is aspected 16 x 9. When it plays on one DVD player it forces it to 4 x 3 and displays it as letterbox and nothing is squashed or stretched. No problem. On another DVD player (playing on a 4 x 3 monitor) it plays the 16 x 9 DVD

  • Very long time to process big table

    Hi everyone, I have a problem with a process that computes 6 columns of a table with 260 millions of rows. At the begining the compute time was about 1.2 mins per row. wich obviously takes more than a life to finish (about 500 years). So to improve t

  • How can i add character from RSKC?

    Hi Experts, can anybody epalin wht is the use of transaction  RSKC. and How can i add character  from RSKC? please explain step by step.. Thnx in advance,

  • Camera Profiles and Lens Profiles are missing in ACR 8.2.

    Yesterday I tried to install a new update for CS CC, but it failed. Then I uninstalled the app completely, and installed it again. When I opened ACR 8.2 I found out that there were no Camera profiles and LensProfiles (as it used to be before). Instea