Bapi_pr_change error Creation Indicator G invalid

Has anybody come across this error?
I tried searching in sdn forum and google, could nt find it.
If i try to change the PR manually it allows, but using the above BAPI it gives this error.
'Creation Indicator G invalid'.
How do I solve this?

Hi,
Creation indicator G stands for store order .
I think you should give F...
else try from all the remaining possible combinations
B, D, R, U, V, M, Y, A
Regards

Similar Messages

  • Problem using BAPI_PR_CHANGE - Error:  Creation Indicador B invalid

    Hi Experts:
    I'm trying to execute BAPI_PR_CHANGE to modify a PurRqs.
    My code is (from a test program):
    * Step 1
    s_number = '0010028817'.
      CALL FUNCTION 'BAPI_PR_GETDETAIL'
        EXPORTING
          NUMBER = s_number
        TABLES
          RETURN = ERRMSG
          PRITEM = S_ITEMEXP.
    * Step 2
    READ TABLE S_ITEMEXP INTO WA_ITEMEXP
           WITH KEY MATERIAL = '000000000000216255'.
      S_ITEM-PREQ_ITEM  = WA_ITEMEXP-PREQ_ITEM .
      S_ITEM-MATERIAL   = WA_ITEMEXP-MATERIAL  .
      S_ITEM-QUANTITY   = 48  .
      S_ITEM-PLANT      = WA_ITEMEXP-PLANT     .
      S_ITEM-PUR_GROUP  = WA_ITEMEXP-PUR_GROUP .
      S_ITEM-PREQ_NAME  = WA_ITEMEXP-PREQ_NAME .
      S_ITEM-SHORT_TEXT = WA_ITEMEXP-SHORT_TEXT.
      S_ITEM-SUPPL_PLNT = WA_ITEMEXP-SUPPL_PLNT.
      S_ITEM-item_cat   = '0'.
      APPEND S_ITEM.
      S_ITEMX-PREQ_ITEM  = WA_ITEMEXP-PREQ_ITEM .
      S_ITEMX-MATERIAL   = 'X'.
      S_ITEMX-QUANTITY   = 'X'.
      S_ITEMX-PLANT       = 'X'.
      S_ITEMX-PUR_GROUP   = 'X'.
      S_ITEMX-PREQ_NAME   = 'X'.
      S_ITEMX-SHORT_TEXT  = 'X'.
      S_ITEMX-SUPPL_PLNT  = 'X'.
      s_itemx-ITEM_CAT  = 'X'.
      APPEND S_ITEMX.
    * Step 3:
      s_number = '0010028817'.
      CALL FUNCTION 'BAPI_PR_CHANGE'
        EXPORTING
          NUMBER    = s_number
          TESTRUN   = S_TEST
        TABLES
          RETURN    = ERRMSG
          PRITEM    = S_ITEM
          PRITEMX   = S_ITEMX
          PRITEMEXP = S_ITEMEXP.
    The message is:
    E MEPO                 081 Creation indicator B invalid
    E BAPI                 003 Instance 10028817 of object type PurchaseRequisition could not be changed
    Anybody can help me with this issue.
    Thanks
    Diego

    Hi a®s:
    I'm using on first step BAPI_PR_GETDETAIL to capture the PurRqs information.
    On BAPI_PR_CHANGE, I'm filled structure PRITEMEXP using the values from structure PRITEM (BAPI_PR_GETDETAIL) on structure PRITEMEXP (BAPI_PR_CHANGE)
    These are the values from the first fields.
    PREQ_ITEM                      00010
    DOC_TYPE                       NB
    DOC_CAT                        B
    CTRL_IND
    DELETE_IND
    PROC_STAT                      N
    CREATE_IND                     B
    What I need to change?

  • **ERROR**: CCPMSG_InCall: ChannelID IE invalid 100(0x64) in SIP voice gateway

    Hi all,
    I am configuring a SIP voice gateway. After finsihing the config, the outbound calls are working properly. But I met some issue for inbound calls.
    There is no debug log for show ccsip message and show voice dialpeer command. Only q931 has the debug log.
    Can any one have any idea for this issue?
    below is the debug shows for show isdn q931.
       Jun  1 05:27:49.435: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x03A3
    Sending Complete
    Bearer Capability i = 0x8090A3
    Standard = CCITT
    Transfer Capability = Speech
    Transfer Mode = Circuit
    Transfer Rate = 64 kbit/s
    Channel ID i = 0xE1858384
    Preferred, Interface 5, Channel 4
    Calling Party Number i = 0x2181, '18600586101'
    Plan:ISDN, Type:National
    Called Party Number i = 0xC1, '82197910'
    Plan:ISDN, Type:Subscriber(local)
    High Layer Compat i = 0x9181
    High Layer Compat i = 0x9181
    Jun  1 05:27:49.439: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0x83A3 callID = 0x0004 switch = primary-net5 interface = User
    d8w-sr-2811f20a-vpn#
    Jun  1 05:27:49.439: ISDN Se0/0/0:15 **ERROR**: CCPMSG_InCall: ChannelID IE invalid 100(0x64) rejecting call
    Jun  1 05:27:49.443: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x83A3
    Cause i = 0x80E418 - Invalid information element contents
    下午01:28:17: Zhuliang: Jun  1 05:27:49.439: ISDN Se0/0/0:15 **ERROR**: CCPMSG_InCall: ChannelID IE invalid 100(0x64) rejecting call
    Jun  1 05:27:49.443: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x83A3
    Cause i = 0x80E418 - Invalid information element contents  

    Channel ID i = 0xE1858384 Preferred, Interface 5, Channel 4 Jun  1 05:27:49.443: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x83A3 Cause i = 0x80E418 - Invalid information element contents下午01:28:17: Zhuliang: Jun  1 05:27:49.439: ISDN Se0/0/0:15 **ERROR**: CCPMSG_InCall: ChannelID IE invalid 100(0x64) rejecting callJun  1 05:27:49.443: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x83A3 Cause i = 0x80E418 - Invalid information element contents  
    To what are you connecting? Call comes with explicit interface indicator IE, that is not normal for ISDN E1.

  • Data Collection Set 'Server Activity' Failure Waiting on a kernel object(s) failed. Inner Error ------------------ The handle is invalid.

    All of the system data collection sets have been running for 6+ months without any issues, couple of weeks ago the 'Server Activity' collection set failed to restart after a planned maintenance server reboot.
    When attempting to manually start the collection set it indicates "success", but after refreshing the collection set it showing as stopped. Viewing the logs for the Data Collection (Server Activity) I am getting the message:
    Waiting on a kernel object(s) failed. Inner Error ------------------>
    The handle is invalid.
    After some research into this really unhelpful message I came across one posting where this error has been found to occur in SP1. We are running SP2 which include the fix so this shouldn't be the problem (ref http://connect.microsoft.com/SQLServer/feedback/details/585210/sql-server-2008-data-collection-execmasterpackage-timeout).
    To see more detail on the root cause of the error I enabled the additional tracing for data collection (http://blogs.msdn.com/b/sqlagent/archive/2011/07/13/enabling-additional-tracing-for-data-collector.aspx). This provided an exception stack which indicated
    that the issue was thrown to what looks like an existing file, referring to a location (e:\) which doesn't exist in our system.
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::    wmain _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::    Command line: dcexec -c -s 2 -i "S160OLTP\OLTP" -m 0 -e 0x09C1635DD4C4C6478A145D679AFE718F_1_STOP
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Init _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Console code page (m_codePage): 437
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::      Application::ParseCommandLine _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::      Application::ParseCommandLine _OUT:00000000
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Init _OUT:00000000
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Main _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Started continuous mode collection on thread 12036
    DCEXEC!26d0!2f04!2012/11/28!11:17:25::      StartCachedCollectionWrapper _IN
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::      Waiting for collection to exit or stop event to be signaled
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::       StartCollection _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::       StartCollection(iSetId = 2, iCollectionMode = 0, pwszInstanceName = S160OLTP\OLTP)
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        CDataCollectorController::ExecuteCollectionSet _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        SQL Instance Name: OLTP
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::         CDataCollectorController::TryExecuteCollectionSetOnce _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::Initialize _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::Initialize _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateCollectorPackageParameters _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CacheWindow=1, CacheDirectory='I:\MSSQL10.OLTP\MSSQL\dccache'
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateCollectorPackageParameters _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateSetPackageParameters _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CollectionSetUID='{49268954-4FD4-4EB6-AA04-CD59D9BB5714}', ExecutionMode=0, IsSystem=-1, LoggingLevel=0, DaysUntilExpiration=14, ExitEventName=''
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CDataCollectorController::PopulateSetPackageParameters _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CreateControlEvents _IN
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e        ERROR: Win32 Error: GetLastError=183, retCode=0x4, function CDataCollectorController::CreateControlEvents, line 470, file e:\sql10_katmai_t\sql\mpu\shared\dc\runtime\controller\src\datacollectorcontroller.cpp
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e        ERROR: Failed to create kernel event for collection set: {49268954-4FD4-4EB6-AA04-CD59D9BB5714}. Inner Error ------------------>
    Cannot create a file when that file already exists.
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::          CreateControlEvents _OUT:00000000
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e       ERROR: DC_FAILED: function CDataCollectorController::TryExecuteCollectionSetOnce, line 350, file e:\sql10_katmai_t\sql\mpu\shared\dc\runtime\controller\src\datacollectorcontroller.cpp
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::         CDataCollectorController::TryExecuteCollectionSetOnce _OUT:0x000004
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        Collection set execution failed, retrying in 5 seconds...
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        Waiting for exit event or retry timer failed.
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e      ERROR: Win32 Error: GetLastError=6, retCode=0x4, function CDataCollectorController::ExecuteCollectionSet, line 278, file e:\sql10_katmai_t\sql\mpu\shared\dc\runtime\controller\src\datacollectorcontroller.cpp
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25:: e      ERROR: Waiting on a kernel object(s) failed. Inner Error ------------------>
    The handle is invalid.
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::        CDataCollectorController::ExecuteCollectionSet _OUT:0x000004
    DataCollectorController!26d0!2f04!2012/11/28!11:17:25::       StartCollection _OUT:00000000
    DCEXEC!26d0!2f04!2012/11/28!11:17:25::      StartCachedCollectionWrapper _OUT:0x000004
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Collection thread returned (00000001)
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Waiting for collection thread to exit
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Collection thread signaled
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::     Application::Main _OUT
    DCEXEC!26d0!1b88!2012/11/28!11:17:25::    wmain _OUT:0x000004
    I am now stumped as I haven't found anyone else experiencing this issue.
    Any ideas, please help??

    Thanks for the pointer Eileen, problem solved.
    Can't believe I missed it, but after reading the last section on system hangs it occurred to me that I hadn't checked that all dcexec.exe processes were killed when I disable the data collection service.
    For anyone else experiencing this issue I identified the dcexec.exe processes using the following in cmd line:
    TASKLIST /SVC /FI "IMAGENAME EQ DCEXEC.EXE"
    On the default setup of the data collection there should be two dcexec.exe processes constantly running, one for "Server Activity" and another for "Query Statistics". On our server there were five running with the data collection disabled.
    After killing all of the processes and restarting the data collection problem solved!!
    Still need to understand why the processes didn't shut down cleanly when the server was restarted, but at least I know where to look now.

  • Muse form is not working on godaddy and no error message indicating a php error is occuring. Could something else be wrong? Do I have to manually set the form once loaded to go daddy to direct through their mail form system?

    I have read in multiple places on the forum that muse forms are now supported on third party platforms. however I am having a very difficult time getting mine to work on Godaddy. They seem to no longer have the "form mailer" option and told me to look at this PHP: mail - Manual to make the forms work. Muse is not giving any error messages indicating that there is a problem on the go daddy end, the form appears to function but no message is received at email address. can anyone help troubleshoot this for me.
    Thanks.

    Hey Sanjit & Brad,
    Thanks for getting back to me. So, I tried changing the address as Sanjit suggested, and yes an error message came up. But then I tested Brad's theory and looks like the form works with another email address other than that of the actual website email:( So I guess based on Brad's link I should reroute the form to the other (non-godaddy) email...or contact go-daddy to see if they can correct this? Would that be the final answer?
    Thanks again!

  • Load data error: Database selection with invalid cursor (sm21)

    hi experts,
    when I execute processchar, it occur some system error:
    "Database selection with invalid cursor ",
    "Documentation for system log message BY 7 :
    The database interface was called by a cursor (in a FETCH or CLOSE
    cursor operation) that is not flagged as opened. This can occur if a
    COMMIT or ROLLBACK was executed within a SELECT loop (which closes all
    opened cursors), followed by another attempt to access the cursor (for
    example, the next time the loop is executed). "
    the error msg occur when apply bw support package19.
    data from DSO to CUBE, Transferred Recodes is not zero, but Added Recodes is zero.
    Request status always yellow, process is running.
    current sys info: BI7 and BW19, BASIS17,PI_BASIS17, the database is oracle10g R2.
    thanks for your help.

    I have solved this issue, The Oracle checkpoint not complete.
    thanks,
    xwu.

  • Processchar occur error:  Database selection with invalid cursor (sm21)

    hi,
       when I execute processchar, it occur some system error:
    "Database selection with invalid cursor ",
    "Documentation for system log message BY 7 :
    The database interface was called by a cursor (in a FETCH or CLOSE
    cursor operation) that is not flagged as opened. This can occur if a
    COMMIT or ROLLBACK was executed within a SELECT loop (which closes all
    opened cursors), followed by another attempt to access the cursor (for
    example, the next time the loop is executed). "
    the error msg occur when apply bw support package19.
    data from DSO to CUBE, Transferred Recodes is not zero, but Added Recodes is zero.
    Request status always yellow, process is running.
    current sys info: BI7 and BW19, BASIS17,PI_BASIS17, the database is oracle10g R2.
    thanks for your help.

    I have solved this issue , The Oracle checkpoint is not complete.
    thanks,
    xwu.

  • Crystal Report error - The Handle is invalid;

    I get the error 'The handle is Invalid' when I try to print a crystal report that is opened in the Report viewer.
    I was wondering if anyone has encountered this is has a solution.
    The report was created using Crystal Report 2008 for SAP B1.
    Regards
    Albert

    Albert,
    You may check those old threads first:
    Embarrasing issue
    Re: 5 : - The handle is invalid
    Landscape test connection failure: The handle is invalid.
    Thanks,
    Gordon

  • How do I retain my apps after I change my apple ID? Right now I'm unable to update any of the apps with the old apple ID. I get an error message about an invalid id or password. If I delete my apps and start over, I may lose the apps that I purchased...

    How do I retain my apps after I change my apple ID? Right now I'm unable to update any of the apps with the old apple ID. I get an error message about an invalid id or Password. If I delete my appos and start over, I may lose the apps that I purchased (like the ones for $5 +....

    Apps are always tied to the ID that was used to purchase them originally. Did you try entering your old password and see if that works?
    If you need to sign out of your old account go to Settings>Store>Tap on your ID and sign out. Sign in with the new one.
    you can also access your ID in the featured tab of the App Store. Swipe to the bottom of the screen and you will find it there as well.

  • Error Message - ORA-01722 Invalid Number

    Hello:
    I have the following situation. When I create an organization, a record is inserted into the following table, AGREEMENTS, and populates four fields.
    I have an update form which selects the organization from the AGREEMENTS table so the user can populate the rest of the table. In addition, on this form, there is a drop-down box which allows the user to select the name of a legal document along with the version of the document in which the user needs to select. This select list is created via an LOV joining three tables. The item name for this select list is :P6_DOCUMENT.
    The code for the LOV is:
    SELECT S.DOC_NAME||' - '|| O.VERSION_NO AS DOC, O.ORG_DOC_CURR_KEY
    FROM SUPPORTING_DOCS S,
         ORG_DOC_CURR_VER O,
         AGREEMENTS H
    WHERE
        S.DOC_TYPE = 'HISA'
    AND S.SUPPORTING_DOC_KEY = O.SUPPORTING_DOC_KEY
    AND H.ORG_KEY_LE = O.ORG_KEY
    AND O.ORG_KEY=:P6_ORG_KEY_LEWhen the user completes the form, the SUBMIT process is a PL/SQL block consisting of an UPDATE statement to update the AGREEMENTS table based on the selected organization and an INSERT statement to insert a record into the AGREEMENTS_DOC table to store the value stored in :P7_DOCUMENT.
    Ok, now here is where my problem starts.
    When I first bring up the form and I select the organization I want to update, I click the Search button to find the organization and I receive the following error message: ORA-01722 Invalid Number.
    At this point all I'm doing is a basic search. There is no insert/update or anything going on. I'm not understanding why I would be receiving this error message.
    The search is based on the database column ORG_KEY_LE whose datatype is NUMBER.
    In my application, the item assigned to ORG_KEY_LE is P6_ORG_KEY_LE.
    I have a PL/SQL block process created (On Load-Before Header) in the Page Rendering area of my page definition. The PL/SQL code that is written is:
    BEGIN
    IF :P6_SEARCH_ORG != '0' THEN
    :P6_ORG_KEY_LE := :P6_SEARCH_ORG;
    END IF;
    END;I then have an Item created, :P6_SEARCH_ORG, which is a Select List. In the LOV portion of the page for this item, I have the following:
    select ORG_KEY_LE display_value, ORG_KEY_LE return_value
    from AGREEMENTS
    order by 1The reason for using this table is because this table contains the newly created organization which needs to be updated with the remaining columns of data.
    I then have a Search button in the Button area which has the following settings:
    Button Position: Region Template Position #CHANGE#.
    Condition Type: Value of Item in Express 1 is NULL.
    Expression 1: :P6_ORG_KEY_LE.
    To troubleshoot this problem, I created two pages, one page to do the UPDATE and the second page to do the INSERT.
    The SEARCH functionality in both pages are identical.
    When I run my UPDATE page, which only involves updating the missing fields, the process works. I have my search box, I'm able to search for the organization, make my updates, and I'm good.
    When I run my INSERT page, which involves inserting the record with the assigned document, I receive the error message after I click the SEARCH button. In order to INSERT the record into this table, I first need to SELECT the organization that was UPDATED in the AGREEMENTS table (using the UPDATE page described in above paragraph). When I select the organization, the user can then assign the appropriate legal document to the organization and insert the record into the AGREEMENTS_DOC table.
    Can someone help me with this error message? I'm not sure why I am able to perform my SEARCH on a page with the UPDATE statement, not able to perform the SEARCH on the page with my INSERT statement, and not be able to perform the SEARCH on the page that combines the UPDATE and INSERT statements.
    I did some more troubleshooting and I do believe my SUBMIT process which contains the INSERT statement is the issue. I created a fourth page which doesn't have a SUBMIT process. I brought up the form, searched for my organization and the information for that organization appeared. The problem is definately with my UPDATE/INSERT process.
    The PL/SQL block for the Submit process is the following:
    BEGIN
    update
        MDD.HISA_AGREEMENTS
         set
           LAST_UPDATED_BY=V('APP_USER'),
           APPROVER_SALUTATION=:P6_APPROVER_SALUTATION,
           APPROVER_FIRST_NAME=:P6_APPROVER_FIRST_NAME,
           APPROVER_MIDDLE_INITIAL=:P6_APPROVER_MIDDLE_INITIAL,
           APPROVER_LAST_NAME=:P6_APPROVER_LAST_NAME,
           APPROVER_NAME_SUFFIX=:P6_APPROVER_NAME_SUFFIX,
           APPROVER_EMAIL_ADDR=:P6_APPROVER_EMAIL_ADDR,
           SPONSOR_EMAIL_ADDR=:P6_SPONSOR_EMAIL_ADDR,
           APPROVER_TITLE=:P6_APPROVER_TITLE
    where
          ORG_KEY_LE=:P6_ORG_KEY_LE
    INSERT INTO
        HISA_AGREEMENT_DOCS
          (HISA_AGREEMENT_DOC_KEY,
           ORG_KEY_LE,
           APPLICATION_KEY,
           STATUS,
           STATUS_DATE,
           CREATED_BY,
           ORG_DOC_CURR_KEY)
    VALUES
          (HISA_AGREEMENT_DOC_KEY_SEQ.NEXTVAL,
           :P6_ORG_KEY_LE,
           :P6_APPLICATION_KEY,
           'C',
           SYSDATE,
           V('APP_USER'),
           :P6_DOCUMENT)
    END;There is something wrong with the above statement and I do not understand what it could be. Can someone help?
    Thanks for the help.

    Hi,
    I believe you are on to something.
    The select list for item :P6_DOCUMENT appears when I first bring up the form. When I select my organization and receive the error message, I clicked on the Session in the Developer's bar. The value in item/field :P6_DOCUMENT shows %null%.
    This is the path in which my user would like to accomplish her task:
    1. Select an organization
    2. Display the information for that organization from the AGREEMENTS table
    3. Enter the data for the remaining fields in the AGREEMENTS table
    4. Select the document (:P6_DOCUMENT) from the drop-down.
    5. Click Submit
    6. Update the AGREEMENTS table with data entered in #3.
    7. Insert a record into the AGREEMENTS_DOC table with the selection from #4.
    Somehow I need the :P6_DOCUMENT field not to show the %null% during the SEARCH functionality. I think that is causing the problem.
    How do I fix this?

  • Error Message (ORA-01722: invalid number) when add amount into Number field

    I am using VB.net, trying to insert data into a field called amt with Data Type 'Number'.
    my vb.net code is as follows
    Dim oradb As String = DatabaseConnectionString
    Dim AmountValue As Decimal = 123.45
    'get the connection
    Dim conn As New OracleConnection(oradb)
    'open the database connection
    conn.Open()
    'create oracle command
    Dim cmd As New OracleCommand("INSERT INTO TBL1 (AMT) VALUES (:AMT)", conn)
    cmd.CommandType = CommandType.Text
    cmd.Parameters.Add(":AMT", OracleDbType.Decimal, AmountValue, ParameterDirection.Input)
    'Execute
    cmd.ExecuteNonQuery()
    I got error message "ORA-01722: invalid number". Please help

    Did you also change the below line before inserting Integer 123:
    cmd.Parameters.Add(":AMT", OracleDbType.Decimal, AmountValue, ParameterDirection.Input)
    to
    cmd.Parameters.Add(":AMT", OracleDbType.Integer, AmountValue, ParameterDirection.Input)

  • Itunes was working fine. Tries to install latest upgrade and get error message about an invalid character in the path "Program Files (x86)". PC, Win7, nothing else appears to be having same issue.

    Itunes was working fine. Tried to install latest upgrade and get error message about an invalid character in the path "Program Files (x86)". PC, Win7, nothing else appears to be having same issue. Program still works, simply cannor upgrade.

    Thanks b noir,
    I tried this solution without success. After FixIt ran and didn't find a problem, either in looking for issues with "software upgrade" or "iTunes" it kindly offered to help me uninstall iTunes. I had thought of this as a possibilty but it seems to me that if you do that you lose a lot of "non-native-to-Apple" information you might have entered. I did this once and recovery was painfull. Is there a way to uninstall iTunes without losing all of that sort of thing? Any help would be appreciated.

  • When selecting a song to play in iTunes, I get an error message indicating the song could not be used because the original file could not be found.  Would you like to locate it.  I have no idea where to look since the library hold all my files.

    When selecting a song to play from iTunes library, I continually get an error message indicating the original file could not be found.  Then asks, would you like to locate it?  Does anyone know how to fix this?   I'm not even able to play the songs I purchased due to this error message.  Any ideas how to remedy this problem? 
    Thanks

    It would help to have more background about your iTunes collection such as if you keep it on an external drive, or if you have moved or renamed anything recently.  iTunes is very sensitive to you renaming or moving files or folders involved with your media.  iTunes only keeps a reference to where a media file is located  and then goes to look for it when you try to play it. If you have changed things since it was added to itunes then it's like me sending you to look for a friend in my addressbook but that friend has moved.
    The other possibility is your computer is starting to lose files.  Again, the computer uses a reference database to tell it where on the drive to look for a file. If that database gets corrupt then it starts losing files.  Use Dsk Utility's first aid to verify your hard drive.

  • PO creation Indicator in SRM

    Hi Experts,
    I have a question for you?
    Where can i find the PO creation indicator in SRM?
    We are in Extended Classic scenario. POs are created from Shopping carts either manually by Purchaser from SOCO or autmatically by the system for catalog items & for items with Contract.
    I want to know whether there are any status indicators for a PO in SRM from which i could know whether the PO was created manually or automatically...similar to the field we have in EKKO for a R/3 PO.
    Thanks in advance!
    Cheers - Aakash

    Hello Aakash,
    You can determine whether PO hasbeen created automatically from a preceeding document or created manually at line item level only. If the PO is created from a preceeding documents like shopping cart then the fields SRC_GUID and SRC_OBJECT_TYPE of the table BBP_PDIGP will be filled. If the PO is created manually then these fields will be empty.
    Hope this will answer your question.
    Best Regards,
    Mani

  • Creation indicator purchase requisition in md02

    Hello SAP Gurus,
         This is regarding creation indicator purchase requisition in md02.In this creation indicator purchase requisition if we keep setting as 2 than it will create purchase requisition if the dates of PR are in the opening period and will create planned order  if dates of PR falls out of opening period.And it takes the opening period from schedule margin key.
         My question is , as system calculate the opening date by subtracting the number of days which we have given in opening period in schedule margin key from the order start date.suppose if order start date is 10.03.2008 and we have given the opening period of 5 days,than the opening date will be 05.03.2008 if there are no holidays between it.So how it comes that PR date will fall in opening period?I am confused that when system will create planned order and when system will create PR if we keep creation indicator purchase requisition as 2.
          Plz help me with this query.If you could explain with one example than it would be great.
                         Thanking all in advance.And obviously for suitable answer i will definately give good points.

    Hi,
    System calculates the opening date  by subtracting the number days given as opening period at SMK from order start date.
    For creation ind =2 ,
    MRP run date decides the PR / Planned order creation even if u set procurement F.
    If MRP run date falls bettwen the opening date & order start date , it will create PR only,
    If run MRP run date falls outside the opening preriod ie earlier than the order opening date, system will create planned order and it has to converted to PR
    For  examble,  Order start date is  28.03.2008 and 2 day is defined as opening period SMK for ROH.
    If u run MRP on today it will create planned order.  
    Hope u understand , ifso reward and close.
    Regards
    Pradeep

Maybe you are looking for

  • Windows 8 and OSx

    hello I recently installed Windows 8 on my new MacBook Pro 13.  It works fine.  I also installed Bootcamp drivers so that I could log on to the Mac partition because I prefer to use my PC in native mode.  The only problem I have encountered is that u

  • Wireless does not work after chaning my router

    I have HP P1102W laser jet printer. The wireless feature worked fine until I recently changed my internet router(from linksys to cisco), and now I can't seem to get the wireless connection with my printer. I tried reinstalling the printer using the C

  • BPEL process to receive CSV file in SOAP attachmnet

    Hi , I have a requirement where i need to develop a BPEL process that receives a CSV file in a SOAP attachment. The BPEL process ahould take the CSV file from the attachment and store it in a local Directory. Thanks in advance.

  • Creating a view to cast the field type

    Hi All, I had a table test with 2 fields key and time. time is of type timestamp. i want to create a view on the table but cast the cast the time field from timestamp to datetime or date which can accomodiate the date and time. I dont need the milli

  • Pirated Flash 5.5 registered with Legal CC Membership?

    I have a "friend" who owns a Pirated copy of Flash CS5.5 and wants to register it to his Legal CC Mebership. Will he be charged for this? (In my "friend's" defence he was still learning about flash cs5.5 and wasn't sure if he liked it yet.)