To Supress variable screen in WAD - variable used in customer exit
Hi All,
We have a requirement to supress variable screen with WAD 7.0, but the report on which we have built the WAD contains a variable which is used to calculate quaterly utilization in customer exit and ready for input.
So as there is a variable in CMOD and used in report level, eventhough we supress variable screen in WAD, not getting supressed.
Can you provide some pointers.
Thanks,
Sri Arun Prian
Hi Arun.
Can you please tell me, is the variable entry mandatory? If yes please make the variable entry is optional.
Regards,
Lokanatha.
Similar Messages
-
WAD Variable screen not displaying when using a customer exit variable
Hello,
I have a query which has 3 variables, one of which is of type customer exit and gets populated with a default value.
When I run this query on the web from within BEX it works fine, however when I run it within any BI7 web template the variable screen does not pop up. Of course if I remove or change the offending customer exit variable the variable screen pops up.
I have switched the display variable check-box to on, and it still doesn't work.
Is this a 'feature' of BI7?
Many thanks
SarahFixed it myself by tweaking the URL....
Added &VARIABLE_SCREEN=X to the end of the url and the variable screen now pops up. Its not an ideal solution but it works.
Anyone have any better ideas? -
i have couple of questions on variable screen while working with Web Application Designer
1) i am using variables with multiple single entries in my query and when the variable screen in WAD is displayed i have something called insert row icon for each of the variable i used. i do not want to display this icon. is it possible. when i have a single mandatory variable i don't see this icon
2) when i select a value for one of my variable, say for plant. then i only want the key to be displayed. whereas when i choose a particular plant i can see the key in the variable box and the text which describes the plant adjacent to the variable box. is it possible to display only key.
3) i have something like this
Plant Description
NJ New Jersey (description is seen adjacent to the key in the variable box)
now when i want to empty the screen and run the query for all plants i can delete the key but my description is still seen.
any idea
thanksthanks for your responses. i have another problem which is similar to the above ones
i have variables with multiple single values as optional. now in the variable screen if i choose to enter more than one value, lets say 2 values for the plant then i have two values and its text adjacent to the selection box.
since i am using optional variable and if the user wants to run the report for all the plants then he comes back to the variable screen and has to empty the selection box. the problem is we can empty the selection box but we are not able to remove the text description adjacent to the selection box which the user says its confusing.
is there any way we can get rid of it. may be when we refresh the variable screen can we write a code which simply displays the empty variable screen.
any ideas gurus
thanks -
Problem with Variable screen in WAD
Hi ,
I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
Thanks,
AbrahamHi Abraham,
thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
- search for the infocube
- doubleclick on the infocube
- choose an specific infoobjekt
- right mousebutton and click "specific dataprovider settings"
- check if the right entries are set
Hope this will help.
André -
Use of Customer Exit - IP Wad Input ready Query
Hi All,
Can anyone confirm if we can use a customer exit variable(populates a SEQ number) be used in a input layout on IP>>WAD application.
In my case it displays the seq number in the header area,but displays the "No rows or cols displayed because the axis not input readyu".
We applied the note SAP Note 1337901 - Query not ready for input if there is an empty results set;
But had little luck;
When I remove the exit variable it works fine as long it is drill-down in the rows;
Any help would be apreciated.
Thanks
RaoMy Exit variable works fine,and generates the sequence in WAD/BEX..
The problem I have is when I include teh exit var on the query/filter of the agg lvl;
The Wad screen displays the generated seq number in the header area, but turns the input grid OFF.
Thanks
Rao -
WAD / Insert Variable Screen into WAD
Hi All,
How can i insert the variable screen into my WAD?
For example:
First, when i executed the WAD i need to show (all together in the same page) the variable screen and below the table.
RegardsHi Nicola
I dont know of a way to display the variable screen in the wad however, an alternative is to use the Information Field web item and tick the variable visible check box in the web item parameters, untick the other 4 items if you only want the variables to display, this will display the current variable selections for the query, you can then have a link item or button that calls the OPEN_VARIABLE_DIALOG command, this will link back to the variable screen but also maintatin the current filters and layout of the query.
Hope this helps
Josh -
How can i Refresh my Variable Screen In WAD templet?
Hi Experts,
When i execute a WEB Templet giving Variable Selection Inputs , the Variable input values gets stored in the Variable Tab and will not change untill i Change it.
Example
Variable input 0PLANT 5030(this 5030 is the input where i give in the variable selection screen)
when i click back on the intrenet Explorer , this 5030 will be there stored in the 0PLANT tab.
can any one give me solution how can i refresh the variable screen in the WAD
Santosh NagarajTis might be a browser feature - the variable values tend to get stored - you could look at implementing DSM ( through portal ) or try making your template stateless and see if the value changes...
-
Edit HTML of initial Variable Screen in WAD
Hai
WAD
Is it possible to edit initial variable screen which I get after publishing it in the browser. Can I change the settings like color,font add logo in the top of the varibale screen?
Thx in Advance
RajeshHi Rajesh,
I think it's possible by editing the style sheets(CSS) in the MIME repository.
SAP Business Information Warehouse -> Business Explorer -> Mime Repository
Export the style sheet you want to edit and after making the necessary modifications you can upload it under another file name by choosing the option Import MIME objects(By Rt clicking the Stylesheets folder).
Hope this helps.
Regards
Hari -
How to order the variable screen if some variables are in differnet Queries
Hi,
i have a workbook in Bex Analyzer (BI 7.0) which contains 4 Queries (A,B,C,D). In the variable selection screen are 15 variables. One variable is used only in one Query (C). 6 variables are used in 2 Queries(1xA,B; 2xB,C; 3xA,D) and 8 variables are used in 3 Queries(A,B,C).
If I open the variable screen in the workbook the 15 variables are in a confusing order.
How can I change the order of these variables?
I tried to order the variables in the Query Designer (Variable Sequence) for every Query but it didn't work.
Best Regards.Hi Jordan,
There is a best practice when using the variables in a the queries...Make the most used ones in"Personalise variables" option available in the pop up screen for the variable selection....
Also,in order to have a correct sequence of variables ,,just arrange them in order u want using "query properties"....
Hope this helps you..and assign the points if ts needful
Regards,
Venkat. -
Fill BEx Variable with more than one value via Custom Exit
Dear SDN comunity,
I want to fill a BEx Variable via a custom exit. My problem is, I don't know how to fill this variable with more than one value.
I try to give you some background info based on an exaple:
<u><b>Variable-Details</b></u>
<b>Type of Variable:</b> Characteristic Value
<b>Variable Name:</b> ZCCD
<b>Description:</b> Company Code Selection
<b>Processing by:</b> Custom Exit
<b>Characteristic:</b> Company Code
<b>Variable Represents:</b> Multiple Single Values
<u><b>This is the used ABAP code:</b></u>
WHEN 'ZCCD'.
CLEAR l_s_range.
l_s_range-low = '2002;2004'.
l_s_range-sign = 'I'.
l_s_range-sign = 'EQ'.
APPEND l_s_range TO e_t_range.
<u><b>The system returns this message:</b></u>
Value "2002;2004" is too long for variable ZCCD
appreciate your help!
//michaelEugene, Marcus
it works now, thx a lot!
Please find attached the final code:
CLEAR l_s_range.
l_s_range-low = '2002'.
l_s_range-sign = 'I'.
l_s_range-<b>opt</b> = 'EQ'.
APPEND l_s_range TO e_t_range.
CLEAR l_s_range.
l_s_range-low = '2004'.
l_s_range-sign = 'I'.
l_s_range-<b>opt</b> = 'EQ'.
APPEND l_s_range TO e_t_range.
(Delta to Marcus's code is bold) -
Hello all,
I have checked multiple scenarios and they do not work:
Current situation/setup:
1. <b>Creation of several variables and adding each of them to different queries</b> :
Variable Type Processing Infoobject Selection ready for input
COB 1 6 ZCCOSTCTR__ZCCOB S
CB2 1 6 ZCCOB S
CBV 1 3 ZCCOB S
2. <b>Adding values in a role</b> (currently 3.0 is used and we want to check the exit and if it works before upgrading to 7.0) and assign it to the user:
Old active Object:ZCKS_COB:
1KYFNM *
9ZCCOB $C-B2, $C-OB , $C-BV
added new object without 1KYFNM:
ZCCOB $C-B2, $C-OB, , $C-BV
3. <b>Marked the used object auth. relevant</b> for the cube of the query
4. Enhanced ZXRSRU01 via CMOD with coding and activated also the project:
WHEN 'COB' or 'RESPNO'.
IF I_STEP = 0.
IF I_STEP = 1.
IF I_STEP = 3.
CALL FUNCTION 'Z_VARIABLE_BY_AUTH'
EXPORTING
I_VNAM = I_VNAM
TABLES
E_T_RANGE = E_T_RANGE
EXCEPTIONS
NO_AUTH = 1
NOT_VALID = 2
MISSING_OPERATOR = 3
OTHERS = 4.
IF SY-SUBRC = 1.
MESSAGE W007(EYE).
ENDIF.
IF SY-SUBRC = 2.
MESSAGE W707(BRAIN).
ENDIF.
IF SY-SUBRC = 3.
MESSAGE W999(BRAIN).
ENDIF.
IF SY-SUBRC = 4.
MESSAGE W649(BRAIN) with I_VNAM ''.
ENDIF.
endif.
The function 'Z_VARIABLE_BY_AUTH' was tested separately and fills in E_T_RANGE as expected.
I also changed the variable names each time to all the other existing variables while debugging.
If I use a variable of <b>type customer-exit</b> and process it with <b>i_step =1</b> the value selection and query result is OK.
But this <b>scenario works without roles</b> and authorization values triggered by a variable $<VARIABLE> and is not the intended and documented way proposed by SAP. The documentation says to create a variable of type authorizations and to process it in I_Step = 3. But in this step I_VNAM is empty and so there is no processing ot the function module.
Has anyone a solution? I could not find the issue during several debugging sessions. One strange thing is the protocol of rssm: the authorization buffer is not reflecting the enhanced role but only the value $C-B2 for object ZCKS_COB.
Thanks in advance to have a look on this tricky issue.
Bye,
PetraTry this:
IF i_s_rkb1d-compid = 'Query Name'
Validation of data for the value entered in your Variable
READ TABLE i_t_var_range INTO yourworkarea
WITH KEY vnam = yourvariable
IF sy-subrc = 0.
IF w_s_var_range-low(4) <> w_s_var_range-high(4). " Your condition or Logic
l_msgv1 = c_qtr_com1. " Your message
i_handle = 9998.
CALL FUNCTION 'RRMS_HANDLE_MESSAGE_INIT'
EXPORTING
i_handle = i_handle
i_msg_handler_id = sy-uzeit.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
i_class = 'RSBBS'
i_type = 'I'
i_number = '000'
i_msgv1 = l_msgv1
RAISE again.
ENDIF.
ENDIF.
ENDIF. -
How to use a customer exit in WebI
Hi expert,
I read from official SAP document that customer exit variable are supported within WebI query.
I created an universe based on a query bex. In this query I use a variable exit for 0calmonth2.
Within the WebI universe I don't see any variable.
How can I use/build a customer exit variable in my WebI query?
System feature: BO 3.1
Many Thanks.
ClaudiaHi,
I havethe same issue, even though I place the user exit variable in Filter section, its not working as expected in WEBI/crystal.
the variable that i have created will assign default value as sysdate.its working fine BW.
Are there any extra settings at BEX/BW level which have to be set before using user/sap exit variables in webi/crystal?
How should the user/customer exit variables be defined in order to get them carried properly to webi or crystal, I mean what should be the properties set for these variables? -
Bapi enhancement using user/customer exits
It is necessary to have access to all calls and purchase orders to be able to maintain the control of the ERS procedure centrally in the TBB system for the functionality u201CBestellselektionu201D [purchase order selection],. Without delay, all necessary purchase order and call data is provided for the table 'ERS' u201Crealtimeu201D via the interface from SRM. It must be ensured that this table is always filled for SRM scopes synchronous with the SAP standard tables (EKKO, purchase order header data, EKPO purchase order item data, EKAN vendor address, EKPA partner roles etc.). For this purpose, efforts are made to load this table during each creation or change of a purchase order. On the ERP side, the u201EBAPI_PO_CREATE1u201C, which is called by SRM via RFC in the ERP, serves the purpose of creating purchase orders. The BAPI_PO_CHANGE is used for changes in the purchase orders. These BAPIs can be enhanced by the Customer exits EXIT_SAPL2012_003 respective EXIT_SAPL2012_004. With the help of the exits, a function module is called, which then provides the customer-specific fields of the table 'ERS'
i want to enhance bapi using customer /user exit
so how shall i proceed with this requirement ??
how sahll i code the include for this req???
i m using the functions ::
1] EXIT_SAPL2012_003
2] EXIT_SAPL2012_004
so how can i enhance the bapi using user exits..
I want to transfer the data from SRM system to TBB system with the customizzed table filled with this data at ERP ie TBB side .. so plz reply how shall i proceed ???Thanks Naresh, it helped...
Can you please help on the below:
1. For outbound Sales order IDoc- CRMXIF_ORDER_SAVE_M01,need BADIs for modification of the IDoc before it gets generated.
2. Need program to generate output as outbound IDoc- CRMXIF_ORDER_SAVE_M01 for sales order conformation/acknowledgement.
3. Need a BADI after the EDI Sales order is saved.
Thanks in advance
Vijay -
0PROG_POS_TEXT uses ATTR customer exit!
This is a strange one!
I created an enhancement for 0PROG_POS_TEXT in CMOD, customer exit EXIT_SAPLRSAP_003 (which is the customer exit for texts?), but when I debug 0PROG_POS_TEXT in RSA3 it calls up EXIT_SAPLRSAP_002 (which is for attributes)!
An idea why and how to fix it?hi Rudolph,
as of bw 2.0b, attributes and texts use exit_saplrsap_002
hope this helps.
Note 413539 - TextDataSource enhancement with exit_saprsap_002 as of BW20B
Solution
You can use the SAP enhancement RSAP0001 to enhance the DataSources of the SAP Business Information Warehouse. This enhancement includes the following components for transferring data into a BW with a release level as of 2.0B:
Transaction data: exit_saplrsap_001
Attributes, texts: exit_saplrsap_002
Hierarchies: exit_saplrsap_004.
For transferring data into a BW 1.2B, you still use the following enhancement components for InfoSources:
Transaction data: exit_saplrsap_001
Attributes: exit_saplrsap_002
Texts: exit_saplrsap_003
Hierarchies: exit_saplrsap_004. -
Variables used as Customer Exits
Hello Gurus,
Calender date in selection screen is defauled to
Current date. but If a user enters calender date, this calender date is not passed during the query execution.
Reason: The BADI used is as follows:
method ZIF_EX_BXB_VARIABLES_BADI~MODIFY_VARIABLE.
DATA: l_s_range TYPE rrrangesid.
IF imp_step = 1 or imp_step = 2. " Process after input of all variables
CLEAR l_s_range.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = sy-datum.
if imp_step = 2.
concatenate l_s_range-low4(2) '/' l_s_range-low6(2) '/'
l_s_range-low+0(4) into l_s_range-low.
endif.
APPEND l_s_range TO e_t_range.
ENDIF.
endmethod.
For Eg: Calender Date: 06/20/2008 (date1)
But user enters: 07/17/2007 (date2)
The date2 should go to step 2 using the imp_step = 2 statement.
How do I make sure this is happening?
I tried to debug using RSRT, but couldl not figure out.
Thanks,
KituMake the following change in your code
method ZIF_EX_BXB_VARIABLES_BADI~MODIFY_VARIABLE.
DATA: l_s_range TYPE rrrangesid.
IF imp_step = 1 or imp_step = 2. " Process after input of all variables
CLEAR l_s_range.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = <Name of Input Variable for Date>.
if imp_step = 2.
concatenate l_s_range-low4(2) '/' l_s_range-low6(2) '/'
l_s_range-low+0(4) into l_s_range-low.
endif.
APPEND l_s_range TO e_t_range.
ENDIF.
endmethod.
Regards,
Swati
Maybe you are looking for
-
Source System Creation issue in BI
Hi Everyone, I have already created RFC Connection in BW and EC(BackGround Users are ALEREMOTE and BWREMOTE). I am able to login using Remote Login from SM59 from BW to ECC and Vice versa. After this , When I try to create a Source
-
Weblogic Pool Driver doesn't support XA driver
I am trying to set up a JDBC Strore for a JMS Server. The JDBC Store uses the Oracle XA driver (oracle.jdbc.xa.client.OracleXADataSource). However whaen the JMS server starts it gives me the following exception: Weblogic
-
how we can treat full file (Full payload ) as in single field. While file picking from sender end and keep the full content as a payload in single field at source side?
-
Unable to open Sharepoint site with Designer "Folder name is not valid"
Hi all, I'm using SharePoint 2013 with SharePoint Designer 2013, but currently I'm facing a weird behaviour. I can open my preproduction SharePoint portal with SharePoint Designer 2013, but when I'm trying to open my production environment, I'm recei
-
How to access a xml file stored in a jar file
Hi all, We have a java web start app that uses the jasper reports libraries to produce pdf reports. When running and testing from the ide the prog works ok. However when we place the jar on the web server and run the web start app the prog complains