Problems in the EXTENSIONIN Parameter of BAPI_PO_CREATE1

Hello Experts,
I have a cfeild in the table EKKO and want to fill it.
I have try it over the EXTENSIONIN Parameter of BAPI_PO_CREATE1, but it doesn't work.
The strucurtes BAPI_TE_MEPOHEADER and BAPI_TE_MEPOHEADERX has also the required customerfields included
Some Ideas? why it doesn'works ?
Thanx in Advance
REPORT  Z_BAPI_PO_CREATE1.
DATA: LS_POHEADER   TYPE TABLE OF BAPIMEPOHEADER WITH HEADER LINE  .
DATA: LS_POHEADERX  TYPE TABLE OF BAPIMEPOHEADERX WITH HEADER LINE.
DATA: LT_RETURN     type TABLE OF BAPIRET2.
DATA: LT_POITEM     TYPE TABLE OF BAPIMEPOITEM  WITH HEADER LINE.
DATA: LT_POITEMX    type TABLE OF BAPIMEPOITEMX WITH HEADER LINE .
DATA: LT_ACCOUNT    type TABLE OF BAPIMEPOACCOUNT WITH HEADER LINE .
DATA: LT_ACCOUNTX   TYPE TABLE OF BAPIMEPOACCOUNTX WITH HEADER LINE .
DATA: LT_ADDRDELIV  type BAPIMEPOADDRDELIVERY .
*********************Setze HEADER**************************
LS_POHEADER-DOC_TYPE      = 'Z028'.
LS_POHEADER-CREAT_DATE    = '01032006'.
LS_POHEADER-ITEM_INTVL    = '00001'.
*LS_POHEADER-VENDOR       = '0021000000'.
LS_POHEADER-SUPPL_PLNT    = '4700' .
LS_POHEADER-PURCH_ORG     = '2700' .
LS_POHEADER-PUR_GROUP     = '701' .
LS_POHEADER-CURRENCY      = 'EUR' .
APPEND LS_POHEADER .
*********************Setze HEADERX**************************
LS_POHEADERX-DOC_TYPE    = 'X' .
LS_POHEADERX-CREAT_DATE  = 'X' .
LS_POHEADERX-ITEM_INTVL  = 'X' .
LS_POHEADERX-SUPPL_PLNT  = 'X' .
*LS_POHEADERX-VENDOR     = 'X' .
LS_POHEADERX-PURCH_ORG   = 'X' .
LS_POHEADERX-PUR_GROUP   = 'X' .
LS_POHEADERX-CURRENCY    = 'X' .
APPEND LS_POHEADERX .
*********************Setze ITEMS**************************
LT_POITEM-PO_ITEM                     = '00001' .
LT_POITEM-MATERIAL                    = '023JK513' .
LT_POITEM-PLANT                       = '4700' .
LT_POITEM-STGE_LOC                    = '7001' .
LT_POITEM-QUANTITY                    = '1' .
LT_POITEM-PO_UNIT                     = 'PC' .
LT_POITEM-ACCTASSCAT                  = 'K' .
LT_POITEM-PERIOD_IND_EXPIRATION_DATE  = 'D' .
APPEND LT_POITEM .
*********************Setze ITEMSX**************************
LT_POITEMX-PO_ITEM        = '00001' .
LT_POITEMX-PO_ITEMX       = 'X' .
LT_POITEMX-MATERIAL       = 'X' .
LT_POITEMX-PLANT          = 'X' .
LT_POITEMX-STGE_LOC       = 'X' .
LT_POITEMX-QUANTITY       = 'X' .
LT_POITEMX-PO_UNIT        = 'X' .
LT_POITEMX-PERIOD_IND_EXPIRATION_DATE = 'X' .
LT_POITEMX-ACCTASSCAT                  = 'X' .
APPEND LT_POITEMX .
*********************Setze ACCOUNTPARAMETER**************************
LT_ACCOUNT-COSTCENTER = '1301000001' .
LT_ACCOUNT-PO_ITEM    = '00001' .
APPEND LT_ACCOUNT .
LT_ACCOUNTX-COSTCENTER = 'X' .
LT_ACCOUNTX-PO_ITEM    = '00001' .
APPEND LT_ACCOUNTX .
DATA:       ls_bapi_te_po_header    type          BAPI_TE_MEPOHEADER,
            ls_bapi_te_po_headerx    type          BAPI_TE_MEPOHEADERX,
            ls_bapi_extension       type          BAPIPAREX,
            it_bapi_extension       type table of BAPIPAREX           WITH HEADER LINE.
********************Setze EXTENSIONIN**************************
ls_bapi_extension-structure     = 'BAPI_TE_MEPOHEADER' .
*ls_bapi_te_po_header-po_number  = '' .
ls_bapi_te_po_header-cfield    = '8204' .
ls_bapi_extension-valuepart1    = ls_bapi_te_po_header .
append ls_bapi_extension to it_bapi_extension .
clear ls_bapi_extension .
ls_bapi_extension-structure     = 'BAPI_TE_MEPOHEADERX' .
*ls_bapi_te_po_header-po_number  =  '' .
ls_bapi_te_po_headerx-cfield    = 'X' .
ls_bapi_extension-valuepart1     = ls_bapi_te_po_headerx .
append ls_bapi_extension to it_bapi_extension .
CALL FUNCTION 'BAPI_PO_CREATE1'
  EXPORTING
    POHEADER    = LS_POHEADER
    POHEADERX   = LS_POHEADERX
  TABLES
    RETURN      = LT_RETURN
    POITEM      = LT_POITEM
    POITEMX     = LT_POITEMX
    POACCOUNT   = LT_ACCOUNT
    POACCOUNTX  = LT_ACCOUNTX
    EXTENSIONIN = it_bapi_extension
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

Hello,
thank you for your response
The Problem was on the BADI below:
it wasn't implemented.
BAPI_PO_CREATE1->PERFORM move_data_in ->PERFORM move_extensionin->PERFORM move_container_in->CALL BADI lr_badi->map2i_extensionin
CALL BADI lr_badi->map2i_extensionin
        EXPORTING
          im_container = im_container
          im_name      = im_name
          im_error     = lf_exit
        CHANGING
          ch_struc     = ch_struc.
Best Regards

Similar Messages

  • Problem with the input parameter in BIP

    Hello Frenz,
    I'm giving a date parameter as input.for ex date_from
    I'm defining another parameter day
    and in the lov of day I give
    select distinct day from table where trunc(tran_Date)=:date_from
    It's generating error saying date parameter cant be null
    how to tackle this..
    Thanks in advance

    hi
    can u mail me the screen shots.
    Regards,
    Vinoth.

  • Re: Date related problem in the report parameter

    Hi Friends,
    I am done a report and i registered the the report in the and for this report i had given two parameters 'Date_from' and 'Date_to' for this two dates i had taken value set as 'Date' which is None type value set and contians 9 Characters.
    My probelm if i give values for this parameters
    Date_from value is 21-JAN-08
    Date_to value is 11-Mar-08
    it is showing the error like this
    'please choose a low value that is lower than the high value'
    it is considering the 21 and 11 numbers first it is not considering the
    months.
    please reply any one to this asap.
    Thanks In Advance!!
    Thanks
    Anushka Valluru

    Hi Chiru,
    Thanks for your reply and i also tried with this but
    i am getting error becuase in my query in the where
    clause i used like below
    WHERE (TO_DATE (ldate, 'DD-MON-YY') BETWEEN
    NVL (TO_DATE (:p_date_begin,'DD-MON-YY'), TO_DATE
    (ldate, 'DD-MON-YY') )
    AND
    NVL (TO_DATE (:p_date_end,'DD-MON-YY' ),TO_DATE
    (ldate, 'DD-MON-YY')) )
    so it is not taking the dates, in standard date, it
    is taking total time also and the date format is also
    different.so what i have to do?
    please reply for this asap
    Thanks
    AnushkaAnu,
    Can you post your entire query? How did you define your exectuable?
    The standard date has the date and the timestamp. You need to substr and get the date part.
    Example:
    1) use the FND_STANDARD_DATE value set.
    2) use the following select statement in the default value of your date parm
    select to_char(trunc(sysdate),'DD-MON-RRRR')from dual
    3) Where ever you are capturing each of the dates in your query (like your begin/end dates), use the following:
    to_date(substr(I_date,1,10),'RRRR-MM-DD') --replace "I_date" with your date
    --replace date mask with your date mask
    Hope this helps...
    Thanks,
    Chiru

  • Extensionin parameter in the Production Order Confirmation BAPI

    Hi All,
    I am looking for a Production Order Confirmation BAPI which has the Extensionin parameter to append values for custom fields in table AFRU.
    But i could not find one with the Extensionin parameter.
    Please let me know if there is any option or any other Production Order Confirmation BAPI which can meet this requirement.
    Thanks in Advance.
    Jaffer Ali.S

    First off, thanks for these posts.  Worked for me, too.
    Let me just add a little more clarification:
    1) First you call BAPI_PRODORDCONF_GET_HDR_PROP
    2) Then you must update the field ENTRY_QNT from the internal table you pass in to "goodsmovements" because function BAPI_PRODORDCONF_GET_HDR_PROP wipes that field out and you will miss the posting without this filled
    3) Then you call BAPI_PRODORDCONF_CREATE_HDR with the same internal table you got back from the first function inclusive of you putting back ENTRY_QNT.
    4) Commit work and wait.
    So, in summary, the first fm is needed and the first fm changes some fields in the "goodsmovements" internal table that you really need to get the posting to work in the second fm.
    And one more thing, the exact function that an earlier posted referenced to find out that both of the functions in this note were called together is:  PP_CATT_CONFBAPI_HDR.
    Message was edited by:
            Kenneth Goldstein

  • Problem get the parameter ID using debug mode

    Hi Expert,
    I got problem for tracking the problem which is using GET PARAMETER ID under debug mode. the scenario is like that, I go and run the BDC transaction and want to use GET PARAMETER ID 'KUN' to populate data customer code to some variable. but when I using the debug mode sometimes my variable is came from GET PARAMETER ID was missing. but if running not using the debug mode all is populated perfectly. is there any SAP notes or code I can use to continue my debuging instead using GET PARAMETER ID ? Thank you
    Regards,
    Koho koho

    Hi BreakPoint,
    Thanks for the replay, I really don't know and how to configure again. this morning I am running upload program using the BDC using the get paramater ID from posting FB03. I loading 10 documents upload. and 2 is failed to take the "get parameter id 'BLN' field var1" and var1 is blank, the other 8 document posted I can get the paramter id as well. any solution for this case. Thanks
    Regards,
    Koho koho

  • Problem with retrieving a value from the import parameter of a method

    Hi Friends,
    I have a problem accessing the field.
    I have a import paramter in the method of my Z class. The import paramter is of type ANY.
    In my method I get the value of this import paramter as
    . In this I have a field Catalog Id which is a z field.
    How should I retrieve the value of this catalog Id from this importing parameter?
    Regards,
    Raju

    Hi Friends
    Can anyone tell me whether this is a structure or a Class refernce, so that I can access the field in that.
    Regards,
    Raju

  • Problem in reading the form parameter.

    Hi All,
    I have made a HTML with Following Tag
    <form name="uploadForm" action="upload.jsp" enctype="multipart/form-data" method="post">
    as i made the enctype="multipart/form-data" i am not able to read the Form parameter that i got in the File tag of the HTML page.
    Task is to :
    Upload 4 images from the HTML page and the uploading Code is present in the JSP that has to read the File name and Upload the Images.
    While making request.getParameter("File1");
    Dosen't work here.
    can Any one provide the Solution for that.
    regards

    Hello Ankur,
    If you make a 'where used list' on this function, you will see that this parameter is never used in the standard. You will always see something like :
    CALL FUNCTION 'CRM_SCHEDLIN_CONVERT_TZTF_IO'                  
    EXPORTING
    IV_FROM_TIME     = LS_SCHEDLIN_WRK-FROM_TIME        
    IV_FROM_TIMEZONE = LS_SCHEDLIN_WRK-FROM_TIMEZONE    
    IV_TO_TIME       = LS_SCHEDLIN_WRK-TO_TIME          
    IV_TO_TIMEZONE   = LS_SCHEDLIN_WRK-TO_TIMEZONE      
    IMPORTING
    EV_FROM_IO       = LS_SCHEDLIN_WRK-FROM_TIME_IO     
    EV_TO_IO         = LS_SCHEDLIN_WRK-TO_TIME_IO.  
    So I think you can do the same.
    Regards,
    Frédéric

  • Two commands in the report using the same parameter - fail under Java

    I have a report that contains 2 SQL commands.
    Both of these commands use one parameter X of type Number in their 'WHERE' clause.
    When i'm viewing the report in CR 2008, i'm asked for a value of this parameter and all data is filled in the report - OK
    The problem occurs when the same report is printed through Crystal Java Runtime:
    Report is printed without data! - it's empty.
    What we noticed in the debug information thrown by the Crystal libraries is that parameter value is set only in one of these commands:
    Original statement 1:
    select a.something
    from ANM_T a
    where a.anmid = {?PARAMETER01Id}
    Original statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid={?PARAMETER01Id}
    OUTCOME of Statement 1:
    select a.something
    from ANM_T a
    where a.anmid = 0
    OUTCOME of Statement 2:
    SELECT * from ANM_T a
    WHERE  a.anmid=9825
    In above example we may see that crystal set the value only in the second statement - first one got 0 - i suspect its some default value.
    Parameter in the Java code is set in the right way. In case of using only one statement it works. If we use two separate parameters (whose values are equal ) it also works.
    // we have also the loop over the parameters
    ParameterFieldController paramFieldController =
                    report.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue( "", paramName, paramValue );
    What is strange for me is that Crystal Reports enables to use the same parameter in two commands but if you edit one of them you may change the type of this parameter for a command ( for example from Number to String) but the parameter type in the second command remains unchanged ( it's strange because in my opinion it is the same parameter). In the Field Explorer under the Parameter Fields i still see one parameter of type used in the second command.

    Hello all,
    We have prepared some sample code to illustrate the issue.
    We have modified the sample application (Link: [http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/c07fec3e-3e11-2c10-1991-8c0fb0b82b75]) to that it also changes the parameter value. Parameter is used in two commands saved in report.
    The code changing the parameters value looks like this:
    private static void changeParameters(ReportClientDocument reportClientDoc) throws ReportSDKException {
              DataDefController dataDefController = reportClientDoc.getDataDefController();
            Fields fields = dataDefController.getDataDefinition().getParameterFields();
            for( int i = 0; i < fields.size(); i++ ){
                Field field = (Field)fields.getField( i );
                if( field.getKind() == FieldKind.parameterField ){
                            setParameter( ((ParameterField)field).getName(), "9825" , reportClientDoc);          
    private static void setParameter( String paramName, String paramValue, ReportClientDocument document ) throws ReportSDKException {
         ParameterFieldController paramFieldController =
                    document.getDataDefController().getParameterFieldController();
         paramFieldController.setCurrentValue( "", paramName, paramValue );
    We have tried the following codes to change the connection info used in commands:
    Attempt 1
              Tables tables = databaseController.getDatabase().getTables();
              //Set the datasource for all main report tables.
              for (int i = 0; i < tables.size(); i++) {
                   ITable table = tables.getTable(i);
                   //Keep existing name and alias.
                   table.setName(table.getName());
                   table.setAlias(table.getAlias());
                   //Change connection information properties.
                   IConnectionInfo connectionInfo = table.getConnectionInfo();
                   //Set new table connection property attributes.
                   connectionInfo.setAttributes(propertyBag);
                   //Set database username and password.
                   //NOTE: Even if these the username and password properties don't change when switching databases, the
                   //database password is *not* saved in the report and must be set at runtime if the database is secured. 
                   connectionInfo.setUserName(DBUSERNAME);
                   connectionInfo.setPassword(DBPASSWORD);
                   connectionInfo.setKind(ConnectionInfoKind.SQL);
                   table.setConnectionInfo(connectionInfo);
                   //Update old table in the report with the new table.
                   databaseController.setTableLocation(table, tables.getTable(i));
                   //databaseController.setTableLocation(tables.getTable(i), table);
    Attempt 2
             newConnectionInfo.setAttributes(propertyBag);
             connectionInfo.setUserName(DBUSERNAME);
             connectionInfo.setPassword(DBPASSWORD);
             //preserve subreport links
             SubreportController src = doc.getSubreportController();
             Map<String, SubreportLinks> linkMapper = new HashMap<String,SubreportLinks>();
             for(String subreportName : src.getSubreportNames()){
                 linkMapper.put(subreportName,
                     (SubreportLinks) src.getSubreportLinks(subreportName).clone(true));
             //If this connection needed parameters, we would use this field. 
             Fields<IParameterField> pFields = doc.getDataDefController().getDataDefinition().getParameterFields();
             replaceConnectionInfos(doc.getDatabaseController(), newConnectionInfo, pFields);
             IStrings strs = src.getSubreportNames();
             Iterator<String> it = strs.iterator();
             while (it.hasNext()) {
               String name = it.next();
               ISubreportClientDocument subreport = src.getSubreport(name);
               pFields = subreport.getDataDefController().getDataDefinition().getParameterFields();
               replaceConnectionInfos(subreport.getDatabaseController(), newConnectionInfo, pFields);
             //reconnect subreport links since when using replaceConnection links are erased
             for(String subreportName : src.getSubreportNames())
               src.setSubreportLinks(subreportName, linkMapper.get(subreportName));
    private static void replaceConnectionInfos(DatabaseController aDc, IConnectionInfo aNewConnInfo, Fields<IParameterField> aParameterField) throws ReportSDKException {
             ConnectionInfos cis = aDc.getConnectionInfos(null);
             for (IConnectionInfo oldConnInfo : cis)
               aDc.replaceConnection(oldConnInfo, aNewConnInfo, aParameterField, DBOptions._useDefault
                   + DBOptions._doNotVerifyDB);
    In both cases, the observed problem occurred. In one query the parameter was set properly, while on the other it was set to 0 (or empty string in case of string parameters). What is more, no data appeared on the print.
    Do you happen to know the reason of this issue?How can we fix the problem?
    Best regards
    Mateusz Błaż

  • Subroutine-the actual parameter is incompatible with the formal parameter

    Hi,
    I have the following code that is outputting an error message during activation:
    DATA: I_RESBB TYPE TABLE OF RESBB,
          WA_RESBB TYPE RESBB.
    PERFORM OBTAIN_RESBB_DATA
    USING I_RESBB.
    *&      Form  OBTAIN_RESBB_DATA
    *       text
    *      -->P_I_RESBB  text
    FORM OBTAIN_RESBB_DATA  USING    VALUE(P_I_RESBB) TYPE RESBB.
    ENDFORM.                    " OBTAIN_RESBB_DATA
    However, I am getting the following messages during activation:
    In PERFORM or CALL FUNCTION "OBTAIN_RESBB_DATA", the actual parameter
    "I_RESBB" is incompatible with the formal parameter "P_I_RESBB".
    What am I doing wrong? I have checked through many different threads & sites but can't find a solution.
    Thanks,
    John

    John, since you seem quite familiar with the ABAP help and obsolete statements I'm now surprised what you were initially asking for.. .
    Anyhow, below a sample coding with the table being passed as a USING parameter. Avoid using VALUE on the parameter (i.e. pass by value) unless you need a copy of the parameter. Otherwise this leads to a performance overhead (requirement to copy the parameter), especially for large internal tables.
    TYPES T_RESBB_TAB TYPE STANDARD TABLE OF RESBB WITH NON-UNIQUE DEFAULT KEY.
    DATA I_RESBB TYPE T_RESBB_TAB.
    PERFORM OBTAIN_RESBB_DATA USING I_RESBB.
    FORM OBTAIN_RESBB_DATA  USING I_RESBB TYPE T_RESBB_TAB.
      FIELD-SYMBOLS: <RESBB> TYPE LINE OF T_RESBB_TAB.
      LOOP AT I_RESBB ASSIGNING <RESBB>.
        " Additional coding for evaluating/updating the table
      ENDLOOP.
    ENDFORM.
    Cheers, harald
    P.S.: Update of my posting: Just read your one comment. Looks like your only problem was attempting to define the table type in the parameters section of the form routine. This doesn't work. If you don't have a type you could use a generic type (i.e. simply just say <i>using i_resbb type table</i>), but in general I would stick to strong typing unless you have a generic routine that must handle different table types. So simply refer to a table type from dictionary or that you defined in your program.

  • How to disabled the input parameter dialog box in crystal reports 9

    Post Author: Murtaza
    CA Forum: General
    Hi friends,I have got stuck with a weird problem.  In my
    crystal report, I have set up some input parameters.  I am setting
    values for these parameters somewhere inside code.  But I don't
    want to show the default input parameter dialog box. Under any case,
    user should not see the ugly parameter dialog box that crystal
    presents.   Please suggest me how I can achieve
    this.  I cannot do this through code, because our environment does
    not allow that.  I have to do this in crystal reports viewer and
    by setting some property of the crystal report object. But everything
    must be done on UI, not through code. So, the solution should not be the following. 
    // step before step 1
    // **** the line needs to refer to the report and be set before setting
    ReportSource in the viewer to myReport
    myReport.EnableParameterPrompting = False
    Any help would be greatly appreciated.  Murtaza

    Post Author: sleahcim
    CA Forum: General
    Hi Murtaza,
    Unfortunately, I am not aware of any method to suppress the prompt for the input parameters, but still use them.  It is truly a design-related issue for the report.  The reason that the prompt appears is because the parameter it is prompting for is used in the report; in particular either the Group or Record Selection, or referenced in another formula.
    The only way I can think of to not show the prompt, is to not use the parameter in the report.  You did mention that you are setting the value of the parameter inside of the report -- are you doing this through using a formula?  Perhaps you can just remove the parameter and only use the formula that you are setting the default values with.
    -Michael

  • How to understand the strange parameter values shown by 'pstack core'

    I encounterred a problem that led to a core dump. I use 'pstack core' to shown the calling stack.
    However I could hardly understand some of the parameter values below:
    core 'core.150108' of 5016:     cmcfun
    ff1e1370 __1cLComEndPointFsendv6MpnFiovec_i_i_ (c, ffbfedf8, 2, 2, c, 0) + 4
    Why did the 'this' pointer of the instance of class ComEndPoint become 0xc? I don't think it is a valid value of pointer. Does anybody have any idea about this problem?
    ff1e5b00 __1cYComTransaction_Icallback6FpnPpdo_transaction_pcii_v_ (6ab90, 0, 0, 0, ffbff1b8, 0) + dc
    According to the source code, the 3rd parameter in the function below, which value is 0x66, was not changed in the scope of the function. However it became 0x0 when it was used as the 4th parameter to call the function above. What't the matter?
    ff1528e8 pdo_dispatch (6ab90, ad, 66, 0, 0, 0) + dc
    I heard that Sun C++ uses 'register windows' to pass the parameters, i0~i5 are used for the first 6 ones. Somebody told me that what I saw in the pstack might not be creditable because the registers might be changed within the function. Is that so? Would anybody plz tell me more details?
    Thanks in advance.
    Edited by: DirtyBear on Feb 15, 2008 1:17 AM

    Register windows are a property of the SPARC computer architecture, not a property of a compiler. SPARC has multiple sets of registers. The function call instruction advances the "register window" to reveal the next set of registers, if there is one. If not, the registers are spilled to the stack to free up a window. The function return instruction moves the window back. (It's a purely hardware feature.) Eight of the registers in adjacent windows overlap, the origin of the "window" term. Registers %o0 thorugh %o7 in the caller become registers %i0 through %i7 in the called function.
    On SPARC and x64, some function arguments are passed in registers, depending on how many arguments there are and their types. (The x86 architecture has no registers available for passing arguments.) On entry to a function, the parameters passed in registers might be saved on the stack, but do not necessarily need to be saved on SPARC. The Solaris ABI requires that space for the registers be allocated, but the space is not necessarily used.
    In a core dump, the actual registers, particularly for functions other than the current one, are not available. The pstack operation doesn't know how many parameters a function has or what type they are. It shows the contents of the first 6 words on the stack that would hold arguments, if there were arguments, and if they were actually saved on the stack.
    In optimized code on any platform, the stack area for a variable or argument is not kept up to date. Computations are kept in registers to the extent possible, and saved in memory only when necessary.
    On SPARC in particular, the argument values shown in a stack trace need not be accurate.

  • How can I use the same parameter to use elsewhere by Manage Variables ?

    Hello,
    I have a little problem that I need to know. I want to use the same parameter to use elsewhere.
    Example,
    I have a parameter on page 1 and I wish to use this parameter in the other page by Manage Variables.
    How can I do this ?
    Thank you.

    ..just open ManageVariables (right click on the a page and select Manage Variables)...
    then you select the parameter on the page where you want to insert your previous value (your variable)...use the dropdown list to select the variable that contains your value...and it should work
    /m

  • How to use the same column value in the casecadeing parameter in ssrs report?

    Hi frnz,
    I have a table site contains one filed SiteCode
    Now i have fields like below using the below quries 
    SThe above are the two results sets coming from the single table ,now i will use these two results /Query in my ssrs Casecade report
    1.First result set/Query will use for the first dataset and use these values in the paramet1 selection as PrimaryCodes
    2.Second result set/Query will use for the second Dataset and use these values in the parameter2 as SecondayCodes
    3.Using these two datsets and create a Casecadeing paramet in ssrs report.
    4.so using this information how can i create the Casecade report ,I have tried different ways but i didnt get the soluction
    I have done the follw but ididnt get the o/p.
    I have created two parameter and mapped to the results but while paramter selection i will able to see only the first paramet(PrimaryCodes) ,and i will not see the second paramter(SecondaryCodes) it could not show me the second paramter values in the drop
    down list.
    Note:Here i will use the Single Table to get the all the sitecodes 
    Can some one please help me out for this report.
    Thanks.

    Hi,
    Try below links for your reference:
    http://blogs.msdn.com/b/sqlforum/archive/2011/05/26/ssrs-cascading-parameter-with-optional-select-all-in-sql-reporting-services-report.aspx
    http://msdn.microsoft.com/en-us/library/dd255197.aspx
    http://blogs.msdn.com/b/psssql/archive/2010/01/29/how-to-have-a-select-all-multi-value-cascading-parameter.aspx
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • URGENT: passing more than one value at the same parameter

    Hello friends at www.oracle.com,
    if I have a Forms program that sends some parameters to a Report, how can I send more than one value at the same parameter that is being sent?
    For example: the Reports parameter P_CODE should receive (from Forms) and print the values 1, 2, 3 and 4, each one in a different page. But, only 4 is being printed, and these values aren't saved at a database, so I have to pass the other three values too. How can I solve this problem?
    This is quite urgent and I need help on this.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]

    Thanks to Oracle Reports Team for answering! I'm sure this will work.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]
    hello,
    on the forms side, you will have to build the list for this parameter by e.g. string concat.
    on the reports side you will have to "decode" this parameter according to how you built it in forms.
    e.g. if you pass the list like this "10~20~30" you might use a where-clause in the query
    ... where instr(myCol, :myParam) >0
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

  • Several clients in CRM PCUI.  Problems reusing the same iView for ValueHelp

    Hi, all:
      We are implementing a new scenario with PCUI (based on Case Management) and using the client number 400.
      The problem is that this is the second scenario because there is an already customized scenario using client 200 of the CRM server and the same EP.
      These are the symptoms:
    a) Launching the application from the SAP_GUI (like a CRM BSP Application) the main screen and the value helps (pop-up windows) are working correctly.
    b) Launching the application from a newly create BSP iView, the main screen appears correctly; but the pop-up windows are not working.  These are the issues i have seen:
    1.- The system object with the system alias SAP_CRM points to client 200.
    2.- The iView that is called when the value help is clicked has the value SAP_CRM as the system alias.  And it is accessing client 200 even thought the URL parameter sap-client=400 is passed to it.
    I tried a workaround copying standard iView located in:
    pcd:portal_content/com.sap.pct/specialist/com.sap.pct.crm/com.sap.pct.crm.roles/com.sap.pct.crm.core.defaultservices/com.sap.pct.crm.core.valuehelp
    to another location in Portal Content and changing the parameter system alias to SAP_CRM_400 (which is a correct system object pointing to client 400).  But i don't know how to configure the search to use this iview instead of the standard one.
      Can anyone help me with this workaround or with other solution to this problem?
    Thank you,
    Fran
    Edited by: Francisco Javier Rodríguez Nieto on Apr 15, 2009 9:13 AM

    Saurabh,
    If you have added your field through the EEW you can follow my weblog to add them to the PC-UI application: https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/2040. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] If you are missing something and/or something is unclear let me know and I will update this BLOG and help you solve your issue. Tiest.

Maybe you are looking for

  • Adding Ripped CDs via iTunes 10.5 on iPhone 4 iOS5 not working

    Why can I no longer add my music from my ripped CD's to my iPhone's iPod player since upgrading to iTunes 10.5 and iOS5??  Is this a bug or is Apple now not going to allow people to add ripped music from CDs or downloads from the internet outside of

  • BW Reporting help

    hello guys nothing technical but i have been asked to do a presentation on BI reporting to audience. I am planning to talk about Free Characteristics, Drill down, Drill through etc. Is there a place where I can go to get all the features offered by S

  • How to compile using J2ME Wireless Toolkit?

    Hello! i'm doing a bluetooth application and i just want to ask how to compile using J2ME Wireless Toolkit? Is it the "Build" button? thanks!

  • Trackpad not working correctly on windows xp sp2 with bootcamp2.1

    i have installed windows xp sp2 on my macbook and have installed bootcamp 2.1 from the dvd that came along. now, in the boot camp control panel, secondary clicked is already enabled. however, i am not able to right click either using two fingers or u

  • UserInfo Object - adding a UserInfoMap record for PEI

    I am creating a onAfterLogin PEI, which uses "LookupUserInfoSettings("DefaultCommunity") to force a redirect to a User's default community. That default community will be populated into the PTPropertyData table via a PWS (which has not yet been writt