Error on Query  Sales Order CRMD_BUS2000115 application?

Hi Experts,
I have added  2 buttons 'Release' and 'Reject' for Sales Order CRMD_BUS2000115 aplication using PCUI which provides the functionality...as
1.Click On Release will change the status of seleceted order as "Released" i.e. to remove the Billing/Dleivery Blocks...And SAVE it. 2. For "Reject" change status as Rejected and Save it using "CRM_ORDER_SAVE" api followed COMMIT work. Functionality is working fine.
But I'm getting an <b>error / explorer error " An error has occurred in this script page"</b> ( <b>the Error is : 'CAT Params' is undefined</b> ) is coming as soon as query/click on <b>"GO",</b> carried out after the action performed like<b> "Release/Reject"</b> on the sales order approval screen.
Please, can anyone give an idea @ the <b>cause of error</b> ?? whether it is frame error ?? or else???
And How  to resolve it???
Thanks,
Arjun

Look at PCUI adding button
Re: PC-UI and option to add buttons....
Re: PC-UI and option to add buttons....
Re: PCUI Standard Event + Custom Event in a button

Similar Messages

  • Add 2 buttons Release and Reject on Sales Order CRMD_BUS2000115 application

    Hi Experts,
    My Requirement is to add 2 button 'Release' and 'Reject' for Sales Order CRMD_BUS2000115 aplicaiotn using PCUI.
    Also provide the functionality...as
    1.Click On Release will change the status of seleceted order as "Released" i.e. to remove the Billing/Dleivery Blocks...And SAVE it.
    2. For "Reject"  change status as Rejected and Save it using standard "SAVE'' button.
    Can anybody would explain how should i proceed and where i have to code ??
    Or Source code or sample code?
    Can I call BAPI_TRANSACTION_COMMIT aftre changing it ??
    Thanks in Advance,
    Arjun Pawar.

    Hi Experts,
    I have added 2 buttons 'Release' and 'Reject' for Sales Order CRMD_BUS2000115 aplication using PCUI which provides the functionality...as
    1.Click On Release will change the status of seleceted order as "Released" i.e. to remove the Billing/Dleivery Blocks...And SAVE it. 2. For "Reject" change status as Rejected and Save it using "CRM_ORDER_SAVE" api followed COMMIT work. Functionality is working fine.
    But <b>I'm getting an error / explorer error " An error has occurred in this script page" ( the Error is : 'CAT Params' is undefined ) is coming as soon as query/click on "GO", carried out after the action performed like "Release/Reject"</b> on the sales order approval screen.
    Please, can anyone give an idea @ the cause of error ?? whether it is frame error ?? or else???
    And How to resolve it???
    Thanks,
    Arjun

  • Error while processing sales order as factory calendar missing.

    "factory calendar missing or error in factory calendar".iam getting this error while processing sales order even though i have assigned it to shipping point and plant and sales org.

    Hi Malik, How are you? I'm sorry to trouble you,
                   Let me introduce, I'm Daniel, and I saw your fantastic asnwer in
    the topic "How to update Factory Calendar in SRM", and might I have the same
    problem. It's with the "factory calendar".
    In transaction va02 when I choose a Delivery Date, and I sent it to process, as
    a result in the "shipping tab" it calculated to the first item one date, and to
    the rest one date different.  I don't know What it happen?
    I debugged the program and I saw that to the first item use to calculate the
    date is the function  'APO_SCHEDULING', and to the rest item use
    'SD_SCHEDULING', and until here I come.
    How can I do to what the dates calculated are the same? or What would be the
    problem?
    I need the dates calculated are equal.
    I looked at it's using two "factory calendar" which are "J4" and "C2". Is this
    correct?
    Thanks In Advance,
    My best regards,

  • Error while create sales order

    Hi,
    Please help.
    I am facing error while create sales order.
    No item category available (Table T184 OR VERP  )
    Message no. V1320
    Diagnosis
    No item category could be determined for the combination OR VERP .
    System Response
    The system does not allow further processing of this item.
    Procedure
    Check the entries in table T184 by means of which item category determination is controlled.
    If you do not have the authorization to do this yourself, contact your system administrator.

    Hi,
    Check in spro whether Item categorygroup VERP is assigned to sales document type.if not assign.
    Path
    SPRO-SD-sales-sales douments-sales document item-assign item categories.

  • Commit error while transferring Sales order Document to GTS

    Hello,
    We faced a transfer error while transferring sales order document to GTS.
    When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
    We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
    For sales document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
          DESTINATION cs_transfer-rfc_dest
    For billing document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
          IN BACKGROUND TASK
          DESTINATION cs_transfer-rfc_dest
          AS SEPARATE UNIT
    So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
    Thanks in advance
    Serhat
    Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AM

    Dear Serhat,
    I don't think this is an RFC problem or an error. But you wrote:
    When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
    It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
    Balazs

  • Customer error message in sales order on save

    Hi Friends,
    as per requirement i have to raise the error message and system should enable the field to change values. This should happen when condition is not met on Saving of Sales order.
    For this, i have used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But the problem is system throwing error message and all r in display mode only. as per my requirement system should allow to change the error value field.
    i have verified many posting in this SDN, but nothing is working out.
    Please guide me, how to raise the error message and system should enable that filed.
    My doubt is where should i raise the error message in sales order (MV45AFZZ)??? if any badi to raise the error message also fine for me. I tried many ways like... message with display like..... and set / get parameters and badis....  but not able to find the correct solution.
    Thanks in Advance.
    Bala

    Hi
    You need to use check for enahcement spot, which will be help to you.
    Bcz you are throwing custom error message in the standard transaction, once the error is display, you could not able to change the values. your prob can be solved by using the enhancement sport.
    This is include name (Include:MV45AF0B_BELEG_SICHERN).
    In the above include, you need to create a enhancement spot after this spot (ENHANCEMENT 16  OI0_COMMON_SAPMV45A.)  
    write your custom code and while displaying an error message. set flag = 'x', then use below code. It will display error message once you press ENTER, you will get the sale order in change mode, you change the values.
      IF flag = 'X'.
              fcode = fcode_gleiche_seite.
              perform fcode_bearbeiten.
              ch_subrc = 4.
              exit.
            ENDIF.

  • Getting runtime error while doing sales order

    Hi,
    I am getting a runtime error while doing sales order.
    Error : SAPSQL_INVALID_FIELDNAME
    Kindly suggets....stuck up badly.
    cant do any transaction.
    Regards
    Kishan

    Hello,
    Check OSS Note#209847 and 310304
    Regards,
    Gauravjit.
    Reward points if the notes are helpful

  • Sales order line item delete error for MTO sales order

    Dear Experts
    iam facing below error for MTO sales order line item deletion
    "For reasons of cost management, item 000040 cannot
    be deleted"
    Please help
    Regards,
    KEdar

    It looks you try to delete the sales order line item and you get this error message.
    Try to put reason for rejection for the line item and save the order. This is equal to deleting the line item.
    You can also refer the OSS note 14097 - Order item cannot be deleted/overwritten for further information.
    Regards,

  • Mobile Sales - Error while Saving Sales Order

    Hi,
    When I try to create and save a sales order in the Mobile Sales, the error message UI_CONT_STATUSBAR_ICON_TT is displayed, blocking the saving process and the new order is not saved.
    I tried to debug the SAP Mobile Application Studio(Visual Basic) side and I didn`t find any error there.
    Does anyone knows what could be happening?
    Thanks for any help.
    Regards,
    Andrew

    I reinstaled the Mobile studio and then it worked.

  • Run time error while creating sales order in VA01

    Dear all,
    In our develpment server(ecc 6.0),while creating sales order in VA01 for a sales area, when ever entering material number and quantity and press enter, it is giving error and taking to Runtime error long text showing syntax error in program RK2LSFOC
    application patch level for both production and development is same.
    can any one suggest the solution please
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Jan 7, 2010 10:03 AM

    ths

  • Va01:errors during posting sales order

    Hi there,
    can anyone help me on the error log during posting sales order via va01? the checking of sales order is correct.
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          2009.02.17 10:11:37
    Short dump has not been completely stored (too big)
    |Short text          |
    |    The current application triggered a termination with a short dump.  |
    |What happened?      |
    |    The current application program detected a situation which really   |
    |    should not occur. Therefore, a termination with a short dump was    |
    |    triggered on purpose by the key word MESSAGE (type X). |
    |What can you do?    |
    |    Note down which actions and inputs caused the error.   |
    |       |
    |       |
    |    To process the problem further, contact you SAP system |
    |    administrator.  |
    |       |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look         |
    |    at and manage termination messages, and you can also   |
    |    keep them for a long time.   |
    |Error analysis      |
    |    Short text of error message: |
    |    Maintain the current CRM release (table CRMPAROLTP)    |
    |       |
    |    Long text of error message:  |
    |     Diagnosis      |
    |         Various transfer errors occur when transferring SAP sales orders to         |
    |         CRM or there is no status update or the status update has errors            |
    |         when transferring from CRM to the SAP system. This is caused by an          |
    |         incorrect entry for the CRM release in the SAP table CRMPAROLTP, or         |
    |         no entry is maintained at all.       |
    |     System Response|
    |         To avoid data inconsistencies, this message causes a short dump.            |
    |     Procedure      |
    |         Maintain table CRMPAROLTP in your SAP system as is described in SAP         |
    |         Note 691710 and then repeat the process again.    |
    |     Procedure for System Administration      |
    |       |
    |    Technical information about the message:  |
    |    Message class....... "V3"    |
    |    Number.............. 302     |
    |    Variable 1.......... " "     |
    |    Variable 2.......... " "     |
    |    Variable 3.......... " "     |
    |    Variable 4.......... " "     |
    |How to correct the error         |
    |    Probably the only way to eliminate the error is to correct the program.          |
    |    -  |
    |       |
    |    If the error occures in a non-modified SAP program, you may be able to           |
    |    find an interim solution in an SAP Note.  |
    |    If you have access to SAP Notes, carry out a search with the following           |
    |    keywords:       |
    |       |
    |    "MESSAGE_TYPE_X" " "         |
    |    "SAPMV45A" or "MV45AF0B_BAPIDATEN_ERMITTELN"           |
    |    "BAPIDATEN_ERMITTELN"        |
    |       |
    |    If you cannot solve the problem yourself and want to send an error  |
    |    notification to SAP, include the following information:|
    |       |
    |    1. The description of the current problem (short dump) |
    |       |
    |       To save the description, choose "System->List->Save->Local File  |
    |    (Unconverted)". |
    |       |
    |    2. Corresponding system log  |
    |       |
    |       Display the system log by calling transaction SM21. |
    |       Restrict the time interval to 10 minutes before and five minutes |
    |    after the short dump. Then choose "System->List->Save->Local File   |
    |    (Unconverted)". |
    |       |
    |    3. If the problem occurs in a problem of your own or a modified SAP |
    |    program: The source code of the program   |
    |       In the editor, choose "Utilities->More |
    |    Utilities->Upload/Download->Download".    |
    |       |
    |    4. Details about the conditions under which the error occurred or which          |
    |    actions and input led to the error.       |
    |       |
    |User and Transaction|
    |    Client.............. 200     |
    |    User................ "SAMSON"|
    |    Language key........ "E"     |
    |    Transaction......... "VA01 " |
    |    Program............. "SAPMV45A"           |
    |    Screen.............. "SAPMV45A 4001"      |
    |    Screen line......... 65      |
    |Information on where terminated  |
    |    Termination occurred in the ABAP program "SAPMV45A" - in "BAPIDATEN_ERMITTELN".  |
    |    The main program was "SAPMV45A ".         |
    |       |
    |    In the source code you have the termination point in line 338       |
    |    of the (Include) program "MV45AF0B_BAPIDATEN_ERMITTELN".            |
    |Source Code Extract |
    |Line |SourceCde     |
    |  308|    else.     |
    |  309|*-----Nicht unterstu9EF7zt, Abbruch        |
    |  310|      message a301(v3).    |
    |  311|    endif.    |
    |  312|  endif.      |
    |  313| |
    |  314|*-Szenario A pru9EE4en        |
    |  315|  if lv_scenario_a   = 'A'.|
    |  316|    vbak-vbkla+2(1) = lv_scenario_a.    |
    |  317|  endif.      |
    |  318| |
    |  319|*-ermitteln CRM-Release    |
    |  320|  call function func_name  |
    |  321|        exporting          |
    |  322|            i_paraname = 'CRM_RELEASE'  |
    |  323|        importing          |
    |  324|            e_parval1  = lv_parval1.    |
    |  325|  lv_release_crm = lv_parval1+0(3).     |
    |  326| |
    |  327|* If lv_release_crm empty => X-message (correct download not possible)         |
    |  328|  if da_download_active = charx.        |
    |  329|    CALL FUNCTION 'CRM_CONNECTED'       |
    |  330|     IMPORTING|
    |  331|       CRM_CONNECTED       = lv_crm_connected        |
    |  332|     EXCEPTIONS            |
    |  333|       NO_CRMRFCPAR        = 1          |
    |  334|       OTHERS = 2          |
    |  335| .            |
    |  336|    IF sy-subrc = 0 and lv_release_crm = space and   |
    |  337|       lv_crm_connected = charx.        |
    |>>>>>|        message x302(v3).  |
    |  339|    ENDIF.    |
    |  340|   endif.     |
    |  341| |
    |  342|*-Fu9EEElen der View fu9EF5 das Ermitteln der Auftragstabellen          |
    |  343|  da_sales_view-partner    = charx.     |
    |  344|  da_sales_view-sdcond     = charx.     |
    |  345|  da_sales_view-sdcond_add = charx.     |
    |  346|  da_sales_view-contract   = charx.     |
    |  347|  da_sales_view-text       = charx.     |
    |  348|*-bei mehr als 1000 Belegflusssu92DEzen werden Daten nicht ermittelt |
    |  349|  if lv_tabix_vbfa < 1000. |
    |  350|    da_sales_view-flow     = charx.     |
    |  351|  endif.      |
    |  352|  da_sales_view-billplan   = charx.     |
    |  353|  da_sales_view-configure  = charx.     |
    |  354|  da_sales_view-credcard   = charx.     |
    |  355| |
    |  356|*-Im Standardszenario soll eine manuelle u818Ederung eines CRM Belegs|
    |  357|* (ab CRM Release 30A) nicht zuru9EDEk ins CRM gesendet werden. Das  |
    any responses will be awarded,
    regards,
    samson

    Hi,
    Maintain the current CRM release.
    The dump might have occurred when transferring SAP sales order to CRM.
    This has caused a error in SAP table CRMPAROLTP .
    Go to SE91 provide the message class & message number, then click where-used-list & select the program check box.It will show you the program name MV45AF0B_BAPIDATEN_ERMITTELN.
    Just check the program with the ABAPer.
    Hope this helps.
    Regds.......
    Sumit

  • Runtime error while creating sales order in VA01

    Dear all,
    In our develpment server(ecc 6.0),while creating sales order in VA01 for a sales area, when ever entering material number and quantity and press enter, it is giving error and taking to Runtime error long text showing syntax error in program RK2LSFOC
    application patch level for both production and development is same.
    can any one suggest the solution please

    Please note the error details
    Runtime Errors         SYNTAX_ERROR
    Date and Time          07.01.2010 17:43:06
    Short text
    Syntax error in program "RK2LSFOC ".
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLKEAK" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "RK2LSFOC " in include "RK2LSFOC
    " in
    line 128:
    "No component exists with the name "KWBRUM". ."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP* "
    Error in the ABAP Application Program
    The current ABAP program "SAPLKEAK" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "RK2LSFOC ".
    You can also perform the syntax check from the ABAP Editor.
    If the problem persists, proceed as follows:
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    The following syntax error was found in the program RK2LSFOC :
    "No component exists with the name "KWBRUM". ."
    |    " "

  • Error in cancelling sales order line using process order API

    Hi,
    I have created a sales order which is in booked status. I want to cancel the order line . when I am running the concurrent request I am getting the following error message.I am using the process order API to perform this operation.
    API Error Message You are not allowed to update Inventory Item because:
    line has been booked
    API Error Message You are not allowed to update Line Type because:
    Line is Booked
    Can anyone help.
    thanks
    Ashwini

    Hi,
    What is the application release?
    What concurrent program you are running? Is it a custom or seeded one? And, what is the API name?
    Please see if these docs are applicable.
    Unable To Manual Mass Update Items For Multiple Booked Sales Order Lines [ID 887905.1]
    Cannot Update Ordered Item To Related Item On Booked Sales Order Line [ID 298796.1]
    Thanks,
    Hussein

  • Statistics Currency Error while posting Sales Order (No: V1453)

    Hi Sappers,
    I am in process of making a company in SAP ERP SD - IDES, and while posting Sales Order, after I input Sold to Party, PO no, Del Plant and Incoterms and I press ENTER: The error comes up as:
    Statistics: The currency from in INR for date 25.11.2011 could not be determined.
    Kindly suggest a possible solution.
    Thanks
    Rahul Tikku

    Hi,
    Just go to "OBD2", select the Accounts group of your customer and "Double Click" on it, then "Double  cliick" on "Sales Data" > Further goto,  "Sales" and check if "Currency" field is suppressed. if so then change it to required or optional Entry. save and update you customer master in XD02. Then try your process.
    Reagrds
    DSR

  • Error while creating sales order for a new company code

    Hello SD Gurus,
    The client wanted us to create a new Company Code, Plant, and Sales Organization. We created them. I extended the customer and material in QAS. Now, I'm trying to create one sales order in QAS but the system is throwing one error: "Maintain Profit Center Value in Custom Table in YSD_PROFIT_CNTR".
    I googled for this error but found nothing. Could you please give me the solution asap. I need to prepare test script.
    Thanks in advance
    Regards,
    Anwar

    Dear Mohammed,
    The error message itself states where is the issue. You need to maintain the profit center in table
    YSD_PROFIT_CNTR. This is not SAP Standard provided solution. I guess during the time of implementation team has suggested to maintain the profit center in custom table.
    If the table is"maintenance view" then you can check through SM30 and maintain the relevant entry. If not check if there is any transaction code with attached to this table. This you can check by going through SE93 and by entering Z* or ZSD* or Y* or YSD* and press F4, If the transaction code is starting with Z or Y it will open all the list of transaction codes. By going through the description of the transaction code. you can pick the right transaction code in case if any exists for this table.
    Hope this information is useful to you.
    Regards
    Murali

Maybe you are looking for

  • My Mac is running super slow after upgrading to Mountain Lion....Help!

    I'm really not very good with computers so I may need a bit more basic help

  • Oracle 8i Internet for Red Hat Linux

    Hi all, Can any one help me on this. I have setting up Red Hat Linux 6.2 and JRE 1.1.6v5-glibc also installed on /usr/local/jre directory. But when I try to run "runInstaller" from the oracle cdrom. I have the following error: Initializing Java Virtu

  • MaxDb hung at  starting database stage

    Hi all, We have NW2004s and Maxdb on linux _86 system. SP update terminated due to space requirement for db. I restored the db from back up and it went into restart mode. took a long time so cancelled it and tried starting the db using "startdb", but

  • EXPLODING BOM !!

    Hello all, I never worked with such a kind of assignment.I have to explode CS_BOM_EXPLOSION.I got syntax but could not retrieve the data.In this case assume li_datuv is what user enters ie budat              li_werks is plantcode             li_mtnrv

  • CS5 crashes when checking fonts (Find Font) in document from CS3

    A number of files and templates imported from CS3 work fine in CS5, but I have multiple multiple files which crash everytime the find font button is pressed followed by "find first". Some of these files are a very simple template that contains few te