Is it possible that BAPI_PO_CHANGE generates no messages in the background?

Hello,
I want to use BAPI_PO_CHANGE to force a new agreements condition calculation. I run it in the background and in sm37, I have some messages.
When these messages are error messages (type E), the background job stops, and I don't want it to stop.
How can I do with this bapi to have no messages and only to deal with bapiret2 table?
Thanks in advance for any help.

HI
[Check the Link|http://abap.wikiprog.com/wiki/BAPI_PO_CHANGE]
[Commit|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_COMMIT]
[Roll Back|http://abap.wikiprog.com/wiki/BAPI_TRANSACTION_ROLLBACK]
Regards
Pavan

Similar Messages

  • How to fire event to generate insert message for the child objects?

    We are in process to integrate CRM On Demand and existing Microsoft SQL DB.
    We have the following problem:
    For ex., we have CRM Object_1 that already synchronized with the SQL DB. CRM also has independent Object_2 and its child Object_2.1
    We dicided that we want to connect the Object_2 as child to the Object_1.
    The question is how to fire event to generate insert message for the Object_2 and Object_2.1?
    What is the best technique? Is it possible to do it by workflow configuration or it needs to be done programmatically?
    Thanks,
    Dmitry
    Edited by: 955827 on Aug 29, 2012 11:57 AM

    Hi,
    integration events can be generated only via worklow. You will need to create separate workflows for each record type (regardless if it is child or parent) because a workflow for the parent record type will not trigger when a child record is created/ associated. Also, the association workflows will trigger only when the specific event occurs.
    There is not way to generate the integrtaion events programatically. They are generated by workflows and are read/ interpreted by a code extension.

  • Is it possible to send a text message using the UDP protocol?

    Support doc
    http://www.adobe.com/support/director/multiuser/using_udp/using_udp02.html
    says to use the following format with connectToNetServer:
    errCode =
    gMultiuserInstance.connectToNetServer([#remoteAddress:
    "chatServer.myCompany.com", #logonInfo: [#userID: "Bob",
    #password:
    "MySecret", #movieID: "Tech Chat"], #mode: #smus,
    #localUDPPort: 1627,
    #localAddress: "123.45.67.89", #remoteTCPPort: 1626])
    But if I change the mode to #text, it still sends out
    messages as smus.
    In fact, if I leave out the UDP parameters altogether but
    still use the
    list parameters for connectToNetServer, it still always sends
    as smus.
    Sends as smus:
    errCode =
    gMultiuserInstance.connectToNetServer([#remoteAddress:
    "chatServer.myCompany.com", #logonInfo: [#userID: "Bob",
    #password:
    "MySecret", #movieID: "Tech Chat"], #mode: #text,
    #localUDPPort: 1627,
    #localAddress: "123.45.67.89", #remoteTCPPort: 1626])
    Sends as smus:
    errCode =
    gMultiuserInstance.connectToNetServer([#remoteAddress:
    "chatServer.myCompany.com", #logonInfo: [#userID: "Bob",
    #password:
    "MySecret", #movieID: "Tech Chat"], #mode: #text])
    Only the string parameter method can be made to send text
    messages.
    Sends as text:
    errCode = gMultiuserInstance.connectToNetServer("Bob",
    "MySecret",
    "chatServer.myCompany.com", 1626, "Tech Chat", 1)
    Am I missing something? Is this a known issue? Anyone have a
    work around?
    -Jeremy

    Drat!
    Thanks for the answer though.
    alchemist wrote:
    > The multiuserXtra supports either tcp text or tcp smus
    connections.
    > The ability to send udp messages was an expansion to the
    original mus
    > protocol/xtra and is valid only for muXtra instances
    already connected in
    > smus mode.
    > So, if you are asking if you can create a udp instance
    and use it at will
    > (exchange udp messages with some remote udp socket),
    then the answer is no.
    >
    >
    > "Jeremy Aker" <[email protected]> wrote in message
    > news:[email protected]...
    >> I'm really sorry that I wasn't clear enough. I'll
    repeat the questions
    >> more concisely.
    >> Is it possible to send a text message using the UDP
    protocol? If so, how?
    >> Is the bug I described in my original message (see
    below) really a bug or
    >> am I doing something wrong?
    >> If it's a bug, does anyone have a work around?
    >>
    >> alchemist wrote:
    >>> And the question is?
    >>>
    >>> "Jeremy Aker" <[email protected]> wrote in
    message
    >>> news:[email protected]...
    >>>> Support doc
    >>>>
    http://www.adobe.com/support/director/multiuser/using_udp/using_udp02.html
    >>>> says to use the following format with
    connectToNetServer:
    >>>> errCode =
    gMultiuserInstance.connectToNetServer([#remoteAddress:
    >>>> "chatServer.myCompany.com", #logonInfo:
    [#userID: "Bob", #password:
    >>>> "MySecret", #movieID: "Tech Chat"], #mode:
    #smus, #localUDPPort: 1627,
    >>>> #localAddress: "123.45.67.89",
    #remoteTCPPort: 1626])
    >>>>
    >>>> But if I change the mode to #text, it still
    sends out messages as smus.
    >>>> In fact, if I leave out the UDP parameters
    altogether but still use the
    >>>> list parameters for connectToNetServer, it
    still always sends as smus.
    >>>>
    >>>> Sends as smus:
    >>>> errCode =
    gMultiuserInstance.connectToNetServer([#remoteAddress:
    >>>> "chatServer.myCompany.com", #logonInfo:
    [#userID: "Bob", #password:
    >>>> "MySecret", #movieID: "Tech Chat"], #mode:
    #text, #localUDPPort: 1627,
    >>>> #localAddress: "123.45.67.89",
    #remoteTCPPort: 1626])
    >>>>
    >>>> Sends as smus:
    >>>> errCode =
    gMultiuserInstance.connectToNetServer([#remoteAddress:
    >>>> "chatServer.myCompany.com", #logonInfo:
    [#userID: "Bob", #password:
    >>>> "MySecret", #movieID: "Tech Chat"], #mode:
    #text])
    >>>>
    >>>> Only the string parameter method can be made
    to send text messages.
    >>>> Sends as text:
    >>>> errCode =
    gMultiuserInstance.connectToNetServer("Bob", "MySecret",
    >>>> "chatServer.myCompany.com", 1626, "Tech
    Chat", 1)
    >>>>
    >>>> Am I missing something? Is this a known
    issue? Anyone have a work
    >>>> around?
    >>>>
    >>>> -Jeremy
    >

  • When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    When I send an email with Mail, I often confuse the account which I'm using. The result is that I send a message with the wrong account! Is there a way to avoid this (for example a reminder before the email is sent)?

    Hi, thanks for the answer, I did that already. Unfortunatly this doesn't help me at all, as I often forget to check the menu. For me composing the message is writing the text, the subject, the person to who is addressed and than press "send".
    I often forget to check the "from", and this is a problem because the software select itself one of the accounts.
    Isn't there a way at least to put as a default a blank field instead of one of the accounts? or an account which doesn't work so if I forget to specify the "from" I will be rnotofied that the message can't be sent.
    I guess this could be a rather common problem for many people!
    Thanks
    Sergio

  • It 'possible that Logic 9 is incompatible with the latest update to lion 10.7.5?

    It 'possible that Logic 9 is incompatible with the latest update to lion 10.7.5?

    Where can I find the "All Images" list?  When I go to Finder - Pictures there is nothing there (just the new iPhoto library that is empty).  They are not in the "All My Files" folder nor the Trash. Though, when they were in iPhoto previously, I could never see them in the "All My Files" folder, either - which I thought was weird.  Thanks again for your support.

  • I just bought my iMac 2 days before the new iMac was launched. Is that possible that I can replace it with the new one?

    I just bought my iMac 2 days before the new iMac was launched.
    Is that possible that I can replace it with the new one?

    You can return a computer within 14 days of purchase for a refund.
    http://www.apple.com/legal/sales_policies/retail_us.html - Returns in the USA:  iPhones within 30 days, other items within 14 days.
    Do you really mean an iMac2?  If you do you're about 10 years too late in wanting to return it.  I guess if you do have an iMac2 then it makes sense you posted on the iMac(PPC) forum since this one is for models at least 6 years old.

  • Changing the Error message in the background

    Hi Experts,
    Is there any way to catch the Error message in the background apart from changing the message type.
    Because the error message is coming from a standard function and I want my program should handle the error message. Whether this can be possible if possible can anyone please let me know the process.
    Thanks in advance.
    Regards,
    Srinivas
    Edited by: Srinivas Hari on Jun 23, 2009 10:08 AM

    Hi Srini,
    The question is not very clear still I am trying to answer this.
    If my understanding is correct you are trying to run a standard function module in background task in your custom program and that FM is giving some error messages but not raising any exceptions and you are trying to catch those exceptions in your program. If that is be the case then yes you can definitely catch that error messages.
    Step 1 : Call function 'XXXX' IN BACKGROUND TASK
    Step 2: Call function 'ID_OF_BACKGROUNDTASK'
    Step 3: COMMIT WORK and WAIT.
    Step 4: Call function 'STATUS_OF_BACKGROUNDTASK' ---> passing the id number which you will receive in Stpe 2.
    Basically the step 4 would return you the error messages which would be visible in Transaction SM58.
    Regs,
    Somnath

  • Is it possible to run a form offline (in the background)..?

    Is it possible to run a form offline (in the background) by passing all the required parameters? I know this sounds crazy...but like to know if a form can be run in silent mode.
    This will help us in reusing the form for online and background processing.
    Thanks.

    If there is something to run in background, why would that be a form? Normally, a form is supposed to interact with the user.
    If you want to do some data crunching in the database in background, then that should be a job. And, if needed, you may submit the job even from a form, after which you may close the form. RTM for dbms_job and dbms_scheduler - that should help.

  • Is it possible that a second person can manage the website on his own computer?

    Is it possible that a second person can manage my website on his own computer?

    Is the second person using a Mac?  If so yes.  All you need do is give them a copy of your domain.sites file that is located under your User/Library/Application Support/iWeb/domain.sites.  They can make changes to the site and re-publish, but only if they have your server information etc for the place you are hosting.
    If they are not using a Mac, then it is not really feasible to do this - iWeb produces too much code to be comfortably altered using an html editor, so unless that person is using a Mac too, then it is not really worth it. Either they need to have access to a Mac or you need to use another platform that can be accessed by a pc too.

  • Generated EDI message when the invoice is posted.

    Hi!!!,
    We are implementing a process to receive electronic invoice, we are using the FM. IDOC_INPUT_INVOIC_MRM  to process the IDOC with the invoice, so we need to confirm the reception of the invoice using an output idoc when the invoice is post. Anybody know some way to customizing this confirming message using EDI? we would like to send the message when the invoice is posted (we need to use IDOC to send the confirmation)
    Thanks for your help!!!

    Hi,
    How you are creating invoice?
    Creating based on data coming from Idoc or sending Invoice data as Idoc.
    please elaborate.
    Regards,
    Bhavana.

  • Is it possible to play audio from video in the background while using a different app?

    I would like to be ale to play audio from a video file in videos (or av player hd) in the background whie using a diffent app in my iPad 2. (ie watching a video while taking notes on the content or highlighting an e-textbook).
    Is this possible? Either through the original iPad functionality or by downloading a separate app?
    Thanks,
    mji

    Is it important that the music come from a video, or are you just looking to listen to music in the background, while doing something else.  If the later, you can certainly play music from the Music App, Pandora, or iHeart Radio, etc., and with the music playing, tap your home button to go to your home page and open anything else you want and the music will continue.
    I don't have any videos to try out right now, but you try the same thing out and if the music continues, it works.  If it doesn't, it doesn't.

  • Is it possible that we generate material requirement in MRP at company code level?

    We want to generate material requirement in MRP at company code level, what is the possibility or any work around.
    Thanx in Advance.

    Hi Mirza
    This is not possible on the standard system. The highest planning level on MRP is the plant.
    It has been discussed on the following thread, where BAdI MD_CHANGE_MRP_DATA was proposed as a solution, however, the logic to be implemented on this BAdI is very complex:
    MRP Run considering Stocks for Multiple Plants and Requirement maintained for Plant Cluster
    If you want to know more about the BAdIs available on MRP check the following document:
    BAdIs for MRP
    Another alternative is to use flexible planning to plant at company code level, then disaggregate the planning to the plants and transfer the result to demand management and MRP.
    See the following thread for details:
    Flexible planning | SCN
    BR
    Caetano

  • Is it possible to send a Mail message from the keyboard (Macbook pro)?

    Occasionally while I am composing a message in Mail the send command is somehow activated and the half complete message is sent.  I don't want this to happen and can find no keyboard command that I might be mistakenly typing. I certainly don't click on the send button in the tool bar.  Any ideas would be appreciated.  This is irritating and sometimes embarrassing.
    Thanks.

    Shift CMD D  is the keyboard shortcut, not exactly easy to hit by mistake though.
    Captfred

  • After closing firefox and then reopening it, a message states that firefox is already running (in the background) and to restart computer.

    the window closes normally, then when i reopen it i receive a message that states Firefox is still running. i open task manager and it is not shown on the application tab but is shown in the process tab, where i "end process" i would appreciate any help. thank you

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.com/kb/Firefox+hangs

  • What is the password that gets generated when we reset the password in EP?

    Dear All,
    I have reset the password in the portal from User admin,
    It asks me to enter new password on login,
    but it says,
    password expired.
    I tried giving my own password through portal from user admin.
    It says password reset failed, password expired.
    I am unable to login into portal,
    Please suggest me a solution to get me back my password.
    The UM is linked to LDAP.
    I reset the password through LDAP also,
    Even then it is not reflecting for the portal.
    Please Suggest me the solution to make me login into portal.

    You can change the password from Visual administrator. login to visual administrator, and select services,, under that you will find the system details. change the password.
    even if the visual administrator password is expired then u can go thorugh configtoo.bat and there u can change the password.
    if that even not possible then u need to login to sql and can execute the commands for changing password.
    Regards,
    mahesh

Maybe you are looking for

  • HP 550 display driver for windows 8

    I already have a HP 520 laptop (Intel Celeron Processor). In that I have installed windows 8. It runs best and also shows windows experience index. Now I have a HP550 Laptop in that also I installed windows 8. It runs alright but if I tried to Index

  • Macbook Pro Charging Problem - Charges Erratically.

    My Macbook Pro is charging erratically over the last 3 weeks. It charges at certain positions,while it does not charge at other positions. I tried resetting the power chip but it didn't help. I went to genius bar, apple and got it checked. However, t

  • ERS Payment

    Can someone please tell me how I can display a P.O based payment through ERS. I have done MIGO succesfully but the payment is not reflected in FBL1N. So is there a way to look to see if a payment has been scheduled or not ( to see if ERS is working o

  • SEM-BCS Preparation for Consolidation Group Changes

    Hi All, Is the task "Preparation for Consolidation Group Changes" only implemented when Consolidation of Investments has also been implemented? Does "Preparation for Consolidation Group Changes" have any value on its own? Any comments, replies or sug

  • Deleting Locked Application on Mavericks

    I have an older version of an application (GoToMeeting) that Mavericks will not allow me to delete because it is "locked." The Locked box is checked and greyed out so I cannot un-check it. All of the ways to "usually" delete are apparently useless no