Dump when fetching the Parameter.

Hi Gurus,
I want to pass some parameter to when i m calling another application in the portal by calling this mehod.
CALL METHOD l_portal_manager->navigate_to_object
      EXPORTING
        system                      = 'SAP_R3'
        object_type                 = 'com.sap.obn.so'
        operation                   = 'SALESORDER'
        business_parameters         = lt_params
        USE_FORWARDPARAMETERS_OF_AL = abap_true.
In the lt_params, i ve two element  i.e. REF_DOC and FROM_DATE which contails the value also.And the value are passing successfully.
But when i m trying to fetch the data from the other component its throwing some exception "REF_DOC contain Invalid Variable". Basically what i did in the other component i have declared the REF_DOC in the inbound parameter and also in the parameter tab of the application.
Can any body tell , what exactly the problem is ?
Do i need to do some code for fetching the data .
Points'll be surely rewarded.
Thanks!
-Satya
Edited by: satya pujahari on Jun 30, 2008 5:16 PM

>
satya pujahari wrote:
> Hi Thomas,
> Here i am getting the exception.
> *====================
> method handledefault.
> *====================
> " typecasting from generic to specific arguments
>
> * data declaration
>   data:
>     !wdEvent like !Event.
>   field-symbols:
>     <cur_Param>   type Wdr_Event_Parameter.
>
>   wdEvent = Event.
>
>   " mandatory parameter sales_order_number
>   data:
>     !sales_order_number type String.
>   read table Event->Parameters[]
>     with table key Name = `SALES_ORDER_NUMBER` assigning <cur_Param>.
>   if ( 0 ne sy-Subrc ).
> >>>    raise exception type Cx_Wd_Bad_Args
>       exporting
>          Parameter = `SALES_ORDER_NUMBER`.
>   endif.
Maybe I am missing something, but you called it REF_DOC when you exported the parameter but you are trying to read SALES_ORDER_NUMBER when you import it.  Does that make sense?  Have you debugged to see what records are contained in Event->parameters?

Similar Messages

  • Dump when changing the value for a field (of 13 decimals) in alv grid.

    Hi Group,
    Its giving a dump when user is trying to change the value.
    dump description: Unable to interpret "70,000 " as a number.
    what is happening here is, the original value is 50,000 and he is deleting 5 and replacing it with 7, here its throwing the dump.
    If he removes the complete number 50,000 and then gives 70000 its  taking the value.
    I tried to use, the decimals options in alv field catalog but to no joy.
    Please can you give me an advice on this.
    Many Thanks.

    the problem is the comma in the 70,000....that's an alpha character.... Normally, we expect SAP to display numeric fields in a appropriate format, based upon their numeric type, but trying to forcibly insert '70,000' into a true numeric-type field can generate an 'unable to interpret xxx,xxxx  as number' error.
    You could experiment with changing your ALV column to a char17 (or appropriate width) and putting your numeric value into that to display, then converting back to type P, or other field type in the table, in a column that is not displayed, when the user changes the value....  essentially two columns, one not displayed with a routine to copy/convert the numeric field into the alpha field and the reverse when the field is changed.
    But, the better solution is probably for the user to understand that they're seeing a formatted numeric field, and that they need to replace the entire value with the only possible punctuation being a decimal and (if necessary) a negative sign.

  • Getting error when using the "/parameter" switch in command line run

    Has anyone experienced this problem before?
    My report queries over 100,000 records from a view. When the report is run from the command line every thing works fine.
    But when I add a condition using a "parameter", although the report still runs fine from the destop, when launched from the command line it errs.
    "Oracle Discoverer Desktop has encountered a problem and needs to close. ..."
    "The instruction at "0x0044397c" referenced memory at "0x0000004e". The memory cound not be "read"...."
    I'm guessing its a memory issue with my PC. I've tested using a parameter with other reports using fewer records and it doesn't err from the command line.
    I can work around the issue by not using a parameter but then I have 20 versions of the same report each with a different condition.
    Any suggestions would be appreciated.
    Lise McGillis

    Hi Michael,
    I'm using an DELL Intel Pentium 4 CPU 3.00 GHz with 1 GB of RAM. We use Microsoft Windows XP Prof version 2002.
    As for Discoverer we are using 10G, Desktop Client 10.1.2.48.18 - 1047500 KB available memory , 2099744 KB Free disk space.
    I'm not sure I have acess to a computer with more RAM but I'm looking into it.
    What I'm frustrated by is the fact that the parameter works fine when run directly from the desktop but when passed from the command line it bombs... but only when dealing with mega records.
    Lise.

  • Core dump when running the Proc Application

    I have client that has decided to upgrade from Oracle 10g to Oracle11g version. Presently the client code is compiled with Oracle version 11.1.0.7. We have tuxedo version as 9.0 patch02. When running the ProC application, I am getting the core dump. The stack trace for dump is as follows :-
    core 'core' of 7784: bp_Customer -C dom=KenanFX -g 5 -i 225 -u dsesun10 -U /users/denver/pc
    ffffffff6e8d9bbc kill (2, ffffffff7ffe002c, 1, ffffffff7de3b9a0, ffffffff7ffe0028, ffffffff7e10b5a0) + 8
    ffffffff7d27b1f4 skgesigCrash (ffffffff7ffe09a8, ffffffff7e10a070, 1a0c00, ffffffff7dfdbc40, d60a7c, 1) + 34
    ffffffff7d27b81c skgesig_sigactionHandler (ffffffff7d6fb9a0, ffffffff7ffe1800, ffffffff7ffe0990, ffffffff7e10b578, ffffffff7ffe0998, ffffffff7ffe09a8) + dc
    ffffffff6e8d62e0 __sighndlr (b, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff7d27b740, 0, a) + c
    ffffffff6e8c9e44 call_user_handler (ffffffff75f00200, ffffffff75f00200, ffffffff7ffe1520, 8, 0, 0) + 3e0
    ffffffff6e8ca03c sigacthandler (0, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff75f00200, 0, ffffffff6ea3c000) + 54
    --- called from signal handler with signal 0 (SIGEXIT) ---
    ffffffff7c24bb24 sqlrlc (ffffffff7e0f9fc0, 0, 60, c0, 4, 8) + 4
    ffffffff7c253594 sqlbrl (ffffffff7e0f9fc0, 1004bc630, 1004bc658, 1004bc5d0, ffffffff7ffe1b30, 2) + 114
    ffffffff7c2745ec sqlhvdsc (1004bc5c0, ffffffff7e0f9fc0, 8, ffffffff7fff27a0, 0, 1d676b0) + ac
    ffffffff7c274e68 sqlshv (c, 0, e, 0, f, 1c) + 128
    ffffffff7c25bd8c sqlsel (ffffffff7fff27a0, 1002d0850, 1002d0d80, 1, ffffffff7e0f9fc0, ffffffff7dd09d70) + 38c
    ffffffff7c24ed18 sqlcmex (1, ffffffff7ffe1e80, 0, c, 1002d0850, 0) + 278
    ffffffff7c24f724 sqlcxt (0, ffffffff74fd3800, ffffffff7fff27a0, ffffffff74e5d3e4, 16400, 0) + 44
    ffffffff74c65aec selectCMF_XIDDB (788, 16450, 2, ffffffff74fbb978, ffffffff7fff4344, ffffffff7971de60) + f14
    ffffffff79f5743c bp_AccountFind (0, 0, 1002b6118, 1002b6118, 1002b6118, 1002b6118) + 137c
    000000010001748c commonServiceWrapper (30, 0, 558, 1, 100140428, ffffffff6fa08560) + cac
    000000010001d1a4 I_AccountFind (100188220, 12336c, 2e60, 100186b80, ffffffff7fffa440, ffffffff6fa08560) + ec
    ffffffff7f25ea34 _tmsvcdsp (100186b80, 0, 1001f7b60, 800, 100186b80, 1400) + 11ac
    ffffffff7f28241c _tmrunserver (2bb4, 0, 100186b80, 10017c480, 10017d5a0, 0) + 11ac
    ffffffff7f25d47c _tmstartserver (1, 2c00, 100144c90, 800, 10017ebe0, 1001444e0) + 1ac
    0000000100014e4c main (1b, ffffffff7fffab18, ffffffff7fffabf8, ffffffff6e84b8e0, ffffffff75b05200, ffffffff75f00200) + 14
    0000000100014d9c _start (0, 0, 0, 0, 0, 0) + 17c
    Can you please help what is causing problem in the applications. Thanks in advanced.

    This forum is about C programming in general, and about using Oracle Studio C in particular.
    Your question seems to be about a database application that now crashes when run on an updated version of Oracle database.
    You mention "Proc" and ProC". If you are referring to the Pro*C compiler, that would also be a database question, since the Pro*C compiler is not related to Oracle Studio or Oracle Studio C.
    You are more likely to find a helpful answer in a database programming forum. Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • How to skip the spaces, ' etc when passing the parameter to srw.run_report?

    Hi, I have got problem with passing parameter to srw.run_report. It seems it doesn't take the special symbols such as space, ', etc.. the statement is like:
    srw.run_report('report=test1 p_name='&#0124; &#0124;:p_title);
    if :p_title is "JOE", there is no problem to pass it, but if the :p_title is "JOE LI", then the value of the parameter can be passed to p_name.
    Does any one know how to skip those special symbols in the string when passing it to srw.run_report. Thank you very much.
    Joe

    Hi,
    Try this :
    srw.run_report('report=test1 p_name='&#0124; &#0124;
    chr(34)&#0124; &#0124;:p_title&#0124; &#0124;chr(34)
    );

  • Performance troubles when fetching the descriptions

    Hello,
    I have some bad performances in a web interface. I could correct some of them help to aggregates, but I am facing a bizarre situation.
    I have one variable for 0EMPLOYEE. I fetch the characteristic values help to an exit function, and this works fast and well.
    However, I display the description of the employees and not their key codes. I am not coding anything for fetching the descriptions, I let SAP BPS standard do the job.
    When I trace the system, it appears that SAP creates a view joining the tables /BI0/QEMPLOYEE and /BI0/TEMPLOYEE, in order to get TXTMD. I do not understand why ... I already have the key codes needed to fetch the descriptions. I do not use any attributes for the descriptions.
    Here is the generated code :
    CREATE OR REPLACE VIEW "/BI0/0302679610" AS SELECT "Q"."SOURSYSTEM" ,"Q"."EMPLOYEE" ,"T"."TXTMD" FROM "/BI0/QEMPLOYEE" "Q" , "/BI0/TEMPLOYEE" "T" WHERE "Q"."SOURSYSTEM" = "T"."SOURSYSTEM"() AND "Q"."EMPLOYEE" = "T"."EMPLOYEE"() AND
    ( "Q"."CHANGED" = ' ' OR "Q"."CHANGED" = 'I' ) AND "Q"."DATETO" >= '20070101' AND "Q"."DATEFROM" <= '20070101' AND "Q"."SOURSYSTEM" = 'R1' AND ( "Q"."EMPLOYEE" = '00904096' OR "Q"."EMPLOYEE" = '00904085' OR "Q"."EMPLOYEE" = '00904077'
    OR "Q"."EMPLOYEE" = '00904065' OR
    "Q"."EMPLOYEE" = '00904056' OR
    "Q"."EMPLOYEE" = '00904053'   ...................
    I have the same problem with 0VENDOR, whose variable is not based on exit function but hierarchies. No problem to collect the list of the vendors, but the same problem when fetching their descriptions.
    Regards
    Laurent

    Laurent,
        For a similar problem which I had faced earlier with
    Material InfoObject, we had to create indexes on the
    Master Data and also we put restrictions on the level
    definitions on the Material InfoObject to look at some
    selective Materials rather than million of them.This
    approach worked and the amount of time it took to
    display reduced to one eighth of the original time.
    Hope this helps.
    Cheers
    Srini

  • Short Dump when writing the file to Unix.

    ST22 Dump Log.
    Short text Error when writing to the file "/appl/data/backlog/outbound/bop_bwfcstngall_erp
    What happened? Resource bottleneck
    The current program "ZPS_BACKLOG_NEW_READ" had to be terminated because
    a capacity limit has been reached.
    _Error analysis
    An error occurred when writing to the file
    "/appl/data/outbound/bop_bwfcstngall_erp_20110919_151220.dat".
    Error text: "A file, file system or message queue is no longer available."
    Error code: 52

    ask your basis collegues, the dump says that the file system was not available, so it is clear that your writing to Unix could not happen.
    have a look into OSS Note 1100926 - FAQ: Network performance

  • Short dump when executing the query

    Hello Friends,
                         I have a query from MM area which I have insalled from Business Content , and when I try to go to the edit mode or try to excute the query I get a short dump which says "Missing elements ..", I get the same dump when executing from query designer or RSRT . At this time I'm not able to do a "check" on the query also n query designer since it doesnot allow me to go to the edit mode also . Any inputs greatly appreciated .
    thanks ,

    Hi,
    While activating it from the Business Content, have you activated all the underlying objects also. Pls check that. It might help.

  • Short Dump when activating the Workflow

    Hi,
    I have a problem, when i try to activate the workflow I get a short dump with the error "SYSTEM_NO_ROLL". As I understand the error is because there is no enough memory to the transaction, this is not the case i have checked that, so the error must be from my workflow definition or from the SAP it self.
    Here goes the description:
    The location of the error is in the method "FIND_ELEMENTS" of class "CL_SWF_CNT_CONTAINER". By this I understand that the error was with my container elements in the workflow but I have reviewed all my elements and I cant find any fault element or error. I can check the definition but if i try to activate it i get the short dump.
    In the Calls Stack, there is +/- 69297 calls to the above method, because that method is recursive the transaction just consume all the memory and then i get short dump.
    I use many multi line elements, for parallel processing with block step mostly, maybe its my container elements but i can find no wrong bindings or faulty elements.
    Any help would be greatly appreciated.
    Regards,
    Diogo Silva.

    Hi,
    Ok didn't know, thanks for the help, i will post in the other section.
    PS: Could you tell me how to reach that component, I tried but without success.
    Regards,
    Diogo Silva.
    Edited by: DiogoSilva on Jun 15, 2011 7:01 PM

  • How to specify delimiter when parsing the parameter list in URL

    Here is a sample URL used to call the servlet:
    http://myhost.com/servlet?param1=test1&param2=test2&param3=test3In the doGet method of my servlet, I understand I can use the getParameter method to retrieve the various parameter values:
    String p_param1 = request.getParameter("param1");
    String p_param2 = request.getParameter("param2");
    String p_param3 = request.getParameter("param3");However, what if the URL was of the form:
    http://myhost.com/servlet?param1=test1+param2=test2+param3=test3where the URL parameter delimiter was a plus sign rather than an ampersand (&).
    By default, the servlet is only recognizing the ampersand (&) as a parameter delimiter.
    When I use a plus sign as the delimiter, getParameter retrieves everything after the question mark (?) as the first parameter
    i.e. param1 = test1 param2=test2 param3=test3
    param2 = null
    param3 = null
    How can I get getParameter to recognize a plus sign (+) as a valid delimiter?

    Servlets follow the HTTP specification. So, there is not much you can do on that level. What you could do (though I do not recommend it) is to set-up a filter that will automatically swap the plus with an ampersand before the actual servlet processes it. My strong advice, however, is to give up on using a nonstandard delimiter.
    [http://java.sun.com/products/servlet/Filters.html]
    - Saish

  • Visual studio - GIT - always prune when fetching the repo ?

    Hi,
    I'd like to know if there is a possiblity to prune the stale remote branches when I use fetch or pull from visual studio team explorer ?
    Thanks for any pointer

    Hi Christ,  
    Thanks for your post.
    What’s the “prune” mean? How to known which branch is stale? Please provide a detailed example to descript your scenario?
    Fetch will get other commits from your team project, please refer to the information in this document:
    https://msdn.microsoft.com/en-us/library/hh850436.aspx#fetch.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Short dump when exporting the ALV grid report in to spread sheet

    HI,
    I am facing a problem when downloading ALV grid report in to spread sheet LIST>EXPORT>LOCAL FILE -->SPREADSHEET.
    in shotdump the cursor shows : "assign cline+cbegin(clength) to <field_cont>."
    In SAP internal table LIST,in the first record the value of the filed LENG is 0. when i have changed this value ex:10 etc it is coming properly.
    Kindly help me
    Nagendra

    Is this a standard SAP report, or your own? Can you tell what your report does, if it is a custom ALV report?

  • Short dump when opening the segment builder

    After the upgrade from CRM 4.0 to 2007, we are no longer able to open the Segment Builder. We always get a short dump (Message_type_X). Anyone encountered this problem before and has a solution?
    Thanx in advance!

    Hi,
    though it is true that in CRM 2007 the GUI transactions should not be used anymore I am able to start the segment builder directly via transactioin CRMD_MKTSEG. It is working without a shortdump.
    For documentation I suppose you have to refer to SAP: Help or the documentation available under service.sap.com. The blog posted here might be an alternative as well.
    cheers Carsten

  • Short Dump when trying to open C-project due to status

    Hi,
    We have a daily batch job in CRM that reports all the project ID's and
    sends e-mails out to recipients.
    As part of this report it retrieves the statuses for the project ID's,
    however the report short dumps when retrieving the status for one of
    the projects because it is not finding an active status.
    When we try and open the project in C-projects we get the same short
    dump error: CX_DPR_FATAL_ERROR so we cannot view or update the status.
    When we investigate this issue we find that in table CRM_JCDS there are
    3 entries for this project ID. One of the statuses is inactive (I1703)
    but there is another status that is active (I1701). The two status
    entries were created at exactly the same date and time and by the same
    user.
    In table CRM_JEST there is only one entry shown which shows an inactive
    status and we believe this to be the wrong status. Please can you
    advise if this status conflict is causing the problem and also how to
    resolve this issue?

    Hi Paul,
    generally, the project and its elements must have an active status in table CRM_JEST, however, at this point it is not clear how this inconsistency arised. There is no SAP standard report or a 'generally valid' solution that could solve this issue, however, I found a customer message that you have opened in September with exactly the same problem. A colleague from the development team already provided you with a correction report, but there was no feedback from your side if it helped or not.
    It is very difficult to provide help as inconsistencies can have several different causes, so the best would be to have this checked in a customer message with an example.
    Regards,
    Silvia

  • ASSERTION_FAILED short dump when Transporting Transformation from Dev to QA

    Hi Experts,
    I' am getting a short Dump when transporting the transformations, DSO & DTPs from Dev server to QA.
    I got RC=12, Please have a look below....
    Transport log...
        BCQ        System BCQ
                   Selection for Import                     08.07.2010 15:28:59    (0) Successfully Completed
                   Import                                   08.07.2010 15:35:14    (0) Successfully Completed
                   Check Versions                           08.07.2010 15:35:14    (0) Successfully Completed
                   Method Execution                         08.07.2010 15:36:20   (12) Canceled
                   Import                                   08.07.2010 15:45:39    (0) Successfully Completed
                   Check Versions                           08.07.2010 15:45:39    (0) Successfully Completed
                   Method Execution                         08.07.2010 15:46:45   (12) Canceled
    and the Log detalis.....
    Date        Time      Message
    08.07.2010  15:35:15  Job started
    08.07.2010  15:35:15  Step 001 started (program RDDEXECL, variant , user ID DDIC)
    08.07.2010  15:35:15  All DB buffers of application server sxcat136 were synchronized
    08.07.2010  15:35:21  STDO: Log  could not be written on output device T
    08.07.2010  15:35:30  Replication completed successfully
    08.07.2010  15:35:31  Struttura di comunicazione /BIC/CS8ZFIZIASA activated
    08.07.2010  15:35:40  Regola(e) di trasm. 8ZFIZIASA_AA activated
    08.07.2010  15:35:47  ABAP/4 processor: ASSERTION_FAILED
    08.07.2010  15:35:47  Job cancelled
    Even I've checked the entries on the table RSTRANRULE for those Transpormations but there I got...all the entries with...
    RULEID = all numbers
    GROUPID = '1' or '2'
    GROUPTYPE = 'S' or 'T'
    REF_RULE ='0'
    we are in to SAP_BW Release 700, Level 0013, SP -SAPKW70013, SAP NetWeaver BI 7.0
    Pls help if any one know's the solution for this.
    Thanks in adv.
    BR,
    Ajay Kumar
    Edited by: sap.ajaykumar on Jul 9, 2010 12:48 PM

    Follow the steps mentioned in OSS note 998730.
    FYI.. Solution:
    Call transaction SE16 (Table Browser) and the 'RSTRANRULE' table with the following selection parameters:
    GROUPID = 'space'
    GROUPTYPE = 'space'
    REF_RULE 'space'
    If there are inconsistent entries in the RSTRANRULE table such as this:
    TRANID *
    OBJVERS *
    RULEID *
    SEQNR *
    GROUPID 00
    GROUPTYPE space
    RULETYPE space
    REF RULE *
    Delete these entries from the table.
    Activate the affected transformations.
    Also check the OSS note: 1006658.
    Follow the steps mentioned in OSS note 998730.
    FYI.. Solution:
    Call transaction SE16 (Table Browser) and the 'RSTRANRULE' table with the following selection parameters:
    GROUPID = 'space'
    GROUPTYPE = 'space'
    REF_RULE 'space'
    If there are inconsistent entries in the RSTRANRULE table such as this:
    TRANID *
    OBJVERS *
    RULEID *
    SEQNR *
    GROUPID 00
    GROUPTYPE space
    RULETYPE space
    REF RULE *
    Delete these entries from the table.
    Activate the affected transformations.
    Also check the OSS note: 1006658.
    Follow the steps mentioned in OSS note 998730.
    FYI.. Solution:
    Call transaction SE16 (Table Browser) and the 'RSTRANRULE' table with the following selection parameters:
    GROUPID = 'space'
    GROUPTYPE = 'space'
    REF_RULE 'space'
    If there are inconsistent entries in the RSTRANRULE table such as this:
    TRANID *
    OBJVERS *
    RULEID *
    SEQNR *
    GROUPID 00
    GROUPTYPE space
    RULETYPE space
    REF RULE *
    Delete these entries from the table.
    Activate the affected transformations.
    Also check the OSS note: 1006658.
    Also check the oSS note : Note 975675 - Transformation cannot be activated

Maybe you are looking for

  • CSS Changes not showing in Design View

    I'm just coming over from GoLive (and their layout grid) so I'm not entirely familiar with DreamWeaver CS3 and CSS. However, whenever I make changes in a CSS sheet (and save them) they are not immediately rendered in the Design View. They show up jus

  • Re: Database design software ?

    The 'original' database development program is still being developed with a pedigree of over 40years www.dbase.com Regards Cliff Cliff Rielly

  • LCM in csv File Format 11.1.2

    Is it possible to export dimension metadata into a .csv file using LCM in 11.1.2? I can only see it as .xml format and no options to change to .csv.

  • Error message making changes to BP :ATTRIBUTE INDUSTRY CODE 1 NOT VALID

    when changing a business partner in MSA I get an error message : ATTRIBUTE INDUSTRY CODE 1 NOT VALID FOR BUSINESS PARTNER Does anybody know what is causing this , the industry code has been set correctly in the customizing. We are working on CRM 5.0

  • Error -34 when attempting to download purchased video

    Has anyone else noticed this? When I use iTunes with a library stored on an afp network drive (hold down Option key while launching), I can not download "purchased" videos. I can buy them just fine, but when they start downloading they immediately st