Multiple entries in hierarchy variable
hi,
The user requirement is like this.
He is executing a report which has one standard hierarchy variable & another standard node variable and he is clicking on F4 on first hierachy variable and selecting one hierarchy , let us say the hierarchy is like this:
AAAA
BBBBBB
CCCCCC
DDDDDDD
XXXXXX
YYYYYY
LLLLLLL
IIIIIIII
TTTTTTT
Let us say he selected the hierarchy AAAA and he selected DDDDDDD in node variable.But what is his question is can he select multiple nodes in the variable like can he select DDDDDDD and LLLLLLL nodes and get the results for these two nodes or not.
I don't know whether this is possible or not.
Please advise.
Thanks .
hi,
As i stated earlier , it is a sap standard variable.So it is not allowing me to change variable settings from single value to selection option or any thing.If you want to know the properties of it.I can tell you that:
1)In the Details, Variable represents Single value and variable entry is optional but optional can be changed but single value is greyed out.
I hope you understood all the details.
Any ideas???
Thanks in advance.
Similar Messages
-
Mass / Multiple entries in Web variables
Hi experts,
i am looking for a possibility to upload mass/multiple selection entries in variables (web queries). I didn't find standard functionality like in Excel to upload variable entries via .txt file or copy from clipboard.
Does anyone know how to do it or how to enhance standard functionality?
In addition to that is it possible to save selection entries as variants in web variables?
We are currently working on SAP BW 3.5 and WAS.
Thanks in advance for your help!
regards GunnarUnfortunately, there is no standard functionality in BW 3.5. Both issues are adressed with NW2004s:
From SP 9 it is possible to save variants on the variable screen.
With SP12 there should be a new function to upload text files into the selection.
Regards,
Beat -
Multiple node selection in Hierarchy Variable
Hi Experts,
I have a requirement for the capability to select the multiple node in the BPS variable of type hierarchy. This is required in the data slice where my administrator want to select the more than one node at a time for the purpose of locking the transaction records of deferent departments with slice. I see only option to select one node in variable but I would like to know if there are any ways to enhance this variable to select the multiple node...some exit or some thing.
Any valid suggestions will be fully rewarded with points.
Thanks,
Raj.Hi Jain
Thanks for your input. Following is exact requirement for me.
I have fund center hierarchy and each text node represents one department and all the fund centers under it. Plan administrator wants to lock each department when they are done with the planning. I can achieve this by preparing one data slice for each department and administrator can activate this when they want to lock department but this generates lot of data slices, which may impact the performance of the system a lot.
Other option I am thinking of is the possibility to use hierarchy variable in data slice to select the multiple departments that are required to be locked at any point in time, so that I can manage this with one variable.
Other option is selecting individual fund center values in variables but that is completely ruled out for the given volume.
If I understand your suggestion right, you are suggesting to create the custom table to store different node values from the hierarchy and use the exit variable in data slice. IF you have any document/code to achieve this, please let me know.
let me know if you have any other simple way to achieve this.
Thanks,
Raj.
Message was edited by: Raj G -
Can I combine multiple entries into a single statement?
I am relatively new to Live Cycle so forgive my lack of technical wording.
I would like to use multiple entry fields to fill in a statement.
For example:
I'd like the user to see this:
Target Dropdown Endo Dropdown Type Dropdown Version # Entry Date 1 Entry Date 2 Entry
and then have the form merge all that together into a line that looks like this:
RS_(target)_(endo)_(type)\(version)_(date)_(date)
Preferably without repeating information on the page as we'll have multiple of these entries and the page will get hectic quick.
Is this possible?
I first had each dropdown in individual table fields, but due to regulations we follow the entries need to be merged without spaces.
I always have a backup if this can't be done, but any help is appreciated.Not sure where you're sending it, but if you have a global variable named "bob".
bob.value = "RS_"+target.rawValue+"_"+endo.rawValue+"_"+type.rawValue+"\"+version.rawValue+"_"+date.r awValue+"_"+date2.rawValue;
Something like that should work. -
URGENT::Hierarchy Variable creating Problem in WAD
Hi,
I am using Profit Center as Hierarchy variable in my Queries, when i run the report in WAD portal, and select the profit center on the selection screen, after clicking the check button it appears with compounding Characteristic Controlling Area as prefix.
In the back end for the Profit Center Hierarchy data each node has Controlling Area attached with profit center(value), whereas in master data for profit center we don't have controlling area attached with profit center(value).
For eg: if the Profit center has value P0001 has the controlling area is CA01 then the master data of profit center shows the value as P0001 whereas when we look at Hierarchal nodes it displays as CA01P0001 along with its description.
So when we run the Query we dont get any data because it shows that profit center CA01P0001 node does not exist in Hierarchy.
But in Analyser Query is working fine.
Please suggest some solution.
Thanks in Advance.
Regards,
AnkurHi,
This issue is resolved with note:
1558066 WAD Metadata corrupt due to invalid entries in RSZWMDITEM
There are some incorrect entries in the table which is causing an issue.
Could you please follow the below to delete the entries manually:
1> Go to Transaction: SE16
2> Enter the table name = RSZWMDITEM and press enter
3> Enter the value for MDITEMNAME = TARTITLE and execute.
4> You will find 3 entries for the value TARTITLE. Could you please
delete all these 3 entries from this table.
After doing the above steps, please refresh the metadata by doing the
below steps:
1> Open Web Application Designer.
2> Go to Tools->Settings - > Refresh Metadata and press OK
now close and restart the web application designer. It should work fine
Regards,
Venkat -
Cannot enter value in selection screen for Hierarchy variable.
Hi All,
I have a hierarchy variable on the selection screen for Org unit.
When i execute the report via Bex or RSRT i am able to enter the value directly into the selection screen input field without going for F4 help and then selecting the value.
But when the same query is used in web template and executed the input field for the variable on the selection screen is greyed out and doesnt allow to type in the value. Only way to fill in the value is via F4 help.
Can anyone tell why is this happening and is there any way this can be changed?
Thanks in advance.
-RJHi Prakash,
I am not able to select or click on the input field of the selection screen before and after selecting the value
CTRL+K doesnt work for me.
The display field is populated only when i select a node from the F4 help screen.
When executed from RSRT the field is highlighted and i am able to enter the value unlike when executed on web browser.
The variable is Mandatory multiple single value readu for input.
I found an article saying that for hierarchy node variables the values are forced by F4 value help as the values that are entered manually might not be unique.
This is the link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/15839190-0201-0010-adb1-d2edd9857b0a
I would like to know if there is a work around or setting that can be made to make it work?
-RJ -
Hey, is there a way to make a BEx characteristic variable that has hierarchies available so that the user can select between several hierachies and not just within the one? i.e. 0costelmnt has several hierarchies available but when you set up a variable you can only use one hierarchy.
Thanks in advance,
A. BerkeyIf I understand your question correctly, at query runtime, you want to enable the user to just be able to select an entire hierarchy (w/o regard to hierarchy nodes). You need use (or create) a hierarchy variable by right-clicking "cost element" and selecting either:
A). Properties
Click the hierarchy field and select the checkbox for variable entry.
or
B). Restrict
Go to the hierarchy tab of the restrict dialog window and choose the hierarchy variable.
As a more detailed scenario, you may want a user to be able to choose which cost element hierarchy to be used within the query. Additionally, you may want the user to be able to choose a particular node(s) of the selected hierarchy.
To create this scenario (user picks hierarchy and node of selected hierarchy): Create/use a hierarchy node variable on cost element (this can be done by right-clicking "cost element",choosing "restrict", and proceeding to the hierarchy tab of the restrict dialog window). After selecting the variable, right-click, and choose "Select variable hierarchy".
At runtime, the user should now be prompted with two variable fields, one for the hierarchy, and one for the hierarchy node.
Note: Within query properties, set the order of the variables where the "hierarchy" variable precedes "hierarchy node" variable. This is useful as the values of "hierarchy node" are driven from the selected "hierarchy".
Also,
For more info on variable, please refer to http://help.sap.com.
Rod Johnson -
Dimension based on hierarchy variable not showing attributes
Hi all.
I created a BEx query with a hierarchy variable on 0MATERIAL ready for input, so that when I execute the query it prompts me to select one of the hierarchies node. I created a universe on top of this query and the prompt is also present in the universe, as it should be. When I execute the webi report selecting on of the hierarchies available there is no problem. But when I execute the webi report without selecting any hierarchies (I want the report to show without the hierarchy bahavior), the dimension L01 material shows the values, but the L01 Material details are all empty.
Anybody know a solution for this problem?
Using BO XI 3.1 SP2 latest fixpack available.
Regards,
AndréHi Ingo.
I think I may not be able to generate this log, the basis team refuses to change the registry entries on Windows server. Are there other ways you can analyse this problem?
I think this problem is related to the fact that the dimensions L00 to L06 have a select statement like .[LEVEL01].. and the details are like .[LEVEL01].[[20MATERIAL]].[Value], and when we run the webi report without choosing any value for the hierarchy, the !V000006 is not being properly substitute to "0MATERIAL". But this is a hunch. I tested creating a dimension with select statement .[LEVEL01] and substituting the details as well, then it works, but this is not a solution, because this "adaptation" leads to others problems and errors executing the report.
André -
LSMW Recording for CLW1 - Multiple entries
Hi,
I am doing a recording in LSMW for Tcode CLW1. This I thought was relatively simple but I have an issue with the second screen after the first screen is processed. The second screen has multiple entries for this Hierarchy level. I am reading an excel spreadsheet that the users created for the Hierarchy level assignments. There are multiple records for the same Hierarchy level but with different Hierarchy level assignments that need to populate the second screen. Also, I don't know how many entries this second screen will take for the HL assignments. I know one of the business users told me one Hierarchy level has 98 different HL assignments! I have searched on the internet and in the forum to try and find the resolution to this problem, with no luck yet. I am hoping someone out there has had this same issue. I know I can add a loop to the LSMW code but I'm not sure how to handle it. I am new to LSMW (Also ABAP only a year) and am learning but need a little guidance if possible or maybe some code examples.
Thanks for you time and knowledge in advance!Hi,
The same problem we have faced. As it is having multiple entries in second level. It is easy to do with BDC Program than LSMW. U can use table control logic in BDC, So that You can easily upload the data.
Rewardpoint if useful.
Regards
(YUGANDHAR.P) -
How to insert multiple entries in table control
Hi All,
I want to insert multiple entries in table control in BDC program.Can any body help in this regard.
Thanks,
Satish.Hi,
Go through the following 2 example programs:
THis is example to upload the Bank details of the Vendor which has the TC.
REPORT zprataptable2
NO STANDARD PAGE HEADING LINE-SIZE 255.
DATA : BEGIN OF itab OCCURS 0,
i1 TYPE i,
lifnr LIKE rf02k-lifnr,
bukrs LIKE rf02k-bukrs,
ekorg LIKE rf02k-ekorg,
ktokk LIKE rf02k-ktokk,
anred LIKE lfa1-anred,
name1 LIKE lfa1-name1,
sortl LIKE lfa1-sortl,
land1 LIKE lfa1-land1,
akont LIKE lfb1-akont,
fdgrv LIKE lfb1-fdgrv,
waers LIKE lfm1-waers,
END OF itab.
DATA : BEGIN OF jtab OCCURS 0,
j1 TYPE i,
banks LIKE lfbk-banks,
bankl LIKE lfbk-bankl,
bankn LIKE lfbk-bankn,
END OF jtab.
DATA : cnt(4) TYPE n.
DATA : fdt(20) TYPE c.
DATA : c TYPE i.
INCLUDE bdcrecx1.
START-OF-SELECTION.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\first1.txt'
filetype = 'DAT'
TABLES
data_tab = itab.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = 'C:\second.txt'
filetype = 'DAT'
TABLES
data_tab = jtab.
LOOP AT itab.
PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RF02K-LIFNR'
itab-lifnr.
PERFORM bdc_field USING 'RF02K-BUKRS'
itab-bukrs.
PERFORM bdc_field USING 'RF02K-EKORG'
itab-ekorg.
PERFORM bdc_field USING 'RF02K-KTOKK'
itab-ktokk.
PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-LAND1'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFA1-ANRED'
itab-anred.
PERFORM bdc_field USING 'LFA1-NAME1'
itab-name1.
PERFORM bdc_field USING 'LFA1-SORTL'
itab-sortl.
PERFORM bdc_field USING 'LFA1-LAND1'
itab-land1.
PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
cnt = 0.
LOOP AT jtab WHERE j1 = itab-i1.
cnt = cnt + 1.
CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-banks.
CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankl.
CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
PERFORM bdc_field USING fdt jtab-bankn.
IF cnt = 5.
cnt = 0.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
ENDIF.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-FDGRV'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFB1-AKONT'
itab-akont.
PERFORM bdc_field USING 'LFB1-FDGRV'
itab-fdgrv.
PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB1-ZTERM'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFB5-MAHNA'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
PERFORM bdc_field USING 'BDC_CURSOR'
'LFM1-WAERS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'LFM1-WAERS'
itab-waers.
PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RF02K-LIFNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTR'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=YES'.
PERFORM bdc_transaction USING 'XK01'.
ENDLOOP.
PERFORM close_group.
ABAP Name : ZMM_PR_UPLOAD_MAT
Description : PR Upload BDC Program(With Material)
Created by : Anji Reddy V
Created on : 04/11/2004
Description : This Program is used to Upload the Purchase
Requisition data Using the Transaction ME51N.
Modification Log:
Date Programmer Correction Description
04/11/2004 Anji Reddy Initial
REPORT zmm_pr_upload_mat
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Standard Include for Selection Screen
INCLUDE bdcrecx1.
Internal Table for Upload Data
DATA: BEGIN OF i_pr OCCURS 0,
Header Screen
sno(3), " SNo
bsart(004), " PR Type
epstp(001), " Item Category
knttp(001), " Account Assignment
eeind(010), " Delivery Date
lpein(001), " Category of Del Date
werks(004), " Plant
lgort(004), " Storage Location
ekgrp(003), " Purchasing Group
matkl(009), " Material Group
bednr(010), " Tracking No
afnam(012), " Requisitioner
Item Details
matnr(018), " Material No
menge(017), " Quantity
badat(010),
frgdt(010),
preis(014), " Valuation Price
waers(005), " Currency
peinh(005),
wepos(001),
repos(001),
sakto(010), " GL Account
kostl(010), " Cost Center
bnfpo(005),
END OF i_pr.
Internal Table for header Data
DATA: BEGIN OF it_header OCCURS 0,
sno(3), " SNo
bsart(004), " PR Type
epstp(001), " Item Category
knttp(001), " Account Assignment
eeind(010), " Delivery Date
werks(004), " Plant
lgort(004), " Storage Location
ekgrp(003), " Purchasing Group
matkl(009), " Material Group
bednr(010), " Tracking No
afnam(012), " Requisitioner
END OF it_header.
Internal Table for Item Data
DATA: BEGIN OF it_item OCCURS 0,
sno(3), " SNo
matnr(018), " Material No
menge(017), " Quantity
preis(014), " Valuation Price
sakto(010), " GL Account
kostl(010), " Cost Center
END OF it_item.
Data Variables & Constants
CONSTANTS : c_x VALUE 'X'. " Flag
DATA : v_l(2), " Counter
v_rowno(5), " Row No
v_2(2), " Counter
v_rows LIKE sy-srows, " Rows in TC
v_field(45). " String
Parameters
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start of Selection
START-OF-SELECTION.
Open the BDC Session
PERFORM open_group.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_pr
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT i_pr BY sno.
LOOP AT i_pr.
MOVE-CORRESPONDING i_pr TO it_item.
APPEND it_item.
CLEAR it_item.
AT END OF sno.
READ TABLE i_pr INDEX sy-tabix.
MOVE-CORRESPONDING i_pr TO it_header.
APPEND it_header.
CLEAR it_header.
ENDAT.
ENDLOOP.
SORT it_header BY sno.
SORT it_item BY sno.
v_rows = sy-srows - 6.
Upload the Data from Internal Table
LOOP AT it_header.
Header Data
PERFORM bdc_dynpro USING 'SAPMM06B' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBAN-BEDNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'EBAN-BSART'
it_header-bsart.
PERFORM bdc_field USING 'RM06B-EPSTP'
it_header-epstp.
PERFORM bdc_field USING 'EBAN-KNTTP'
it_header-knttp.
PERFORM bdc_field USING 'RM06B-EEIND'
it_header-eeind.
PERFORM bdc_field USING 'RM06B-LPEIN'
it_header-lpein.
PERFORM bdc_field USING 'EBAN-WERKS'
it_header-werks.
PERFORM bdc_field USING 'EBAN-LGORT'
it_header-lgort.
PERFORM bdc_field USING 'EBAN-EKGRP'
it_header-ekgrp.
PERFORM bdc_field USING 'EBAN-MATKL'
it_header-matkl.
PERFORM bdc_field USING 'EBAN-BEDNR'
it_header-bednr.
PERFORM bdc_field USING 'EBAN-AFNAM'
it_header-afnam.
Item Details
v_l = 0.
To add no. of rows
v_2 = 0 .
As the screen is showing 13 rows defaulted to 130
v_rowno = 130 .
LOOP AT it_item WHERE sno = it_header-sno.
v_l = v_l + 1.
IF v_l = 14 .
IF v_2 = 12 .
v_2 = 12 .
v_l = 2 .
From second time onwards it is displaying 12 rows only
v_rowno = v_rowno + 120 .
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'RM06B-BNFPO'
v_rowno.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
ELSE.
V_2 initialized to 12 for second screen purpose
v_2 = 12 .
v_l = 2 .
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'RM06B-BNFPO'
v_rowno .
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
ENDIF.
ENDIF.
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
CLEAR v_field.
CONCATENATE 'EBAN-MATNR(' v_l ')' INTO v_field.
PERFORM bdc_field USING v_field it_item-matnr.
CLEAR v_field.
CONCATENATE 'EBAN-MENGE(' v_l ')' INTO v_field.
PERFORM bdc_field USING v_field it_item-menge.
PERFORM bdc_dynpro USING 'SAPMM06B' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBAN-PREIS'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'EBAN-PREIS'
it_item-preis.
PERFORM bdc_dynpro USING 'SAPMM06B' '0505'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EBKN-SAKTO'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'EBKN-SAKTO'
it_item-sakto.
Cost Center
PERFORM bdc_dynpro USING 'SAPLKACB' '0002'.
PERFORM bdc_field USING 'BDC_CURSOR'
'COBL-KOSTL'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
PERFORM bdc_field USING 'COBL-KOSTL'
it_item-kostl.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ENTE'.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPMM06B' '0106'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06B-BNFPO'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
Call The Transaction
PERFORM bdc_transaction USING 'ME51'.
ENDLOOP.
Close the BDC Session
PERFORM close_group.
reward for useful answers.
Regards,
Anji -
Hierarchy variable for the char
Hi All,
Can v creat the Hierarchy variable for the char who does not hav the heir. another thing is whats the procedure to create the hierarchy variable bcoz when i select the char to create the variable its showing var of type char. how i hav to change it to hierarchy.
Thanxhie,
i think i understood what you want.
I think you can achieve this by following way.
1) create a text variable for user entry. For which user enters values 2, 3, or 4 as you said.
2) create a dummy calculated key figure and assign this text variable to its description
3) when query will execute, user inputs values 2 or 3 or 4 which will be reflected in the output in the title of the new dummy KF.
4) then write a macro to read that value and delete 1 or 2 or 3 columns from output as necessary before user can access the actual results.
Regards,
Purvang -
Transporting Hierarchy Variables
Hi,
In the Report I have a free Characteristcs Cost Center.In the selection Screen for this Cost Center we have Provided Selection from Hierachy view and range for Cost Center.We transported this hierarchy variables to target system.The transport is succefully completed .But the New variable change is not reflecting in the Target System query.Can anybody please help.Hi All,
We have one more similar issue while transporting our requests.We have added two info obiects in the free characterisitics pane.We have collected query in a transport request .and transported it from Development to Quality.The query exists in active as well as modified version in both dev and Quality.But the query elements which we have added exist only in modified version in Quality.Our changes are not getting reflected in Quality.Do we have to collect the active entry for that query element and transport it in order to make it active in Quality?Could someone pls help me out with this?
Regards,
Sreeja -
How and where will we create " hierarchy "variables?-urgent
hi,
how to create hierarchy variables?
where they will be seen while creating a query?
plz tell in detail..
Message was edited by:
neeraja deviHi,
Refer this
http://help.sap.com/saphelp_nw04/helpdata/en/5c/8db07d555411d189660000e829fbbd/frameset.htm
When you maintain a local variable for a hierarchy node, you only need to enter the replacement type. If you want, you can also enter an identifier for the variable. For variables for hierarchies, you can only maintain an identifier, since replacement is automatically mandatory.
When you maintain global hierarchy variables and choose replacement type "2" (replacement by manual entry), be sure to enter "3" (Mandatory variable which is not blank (technical)) in the field Optional entry.
Hope this helps
Regards
Karthik -
Profit Center Hierarchy Variable-Prompt
Hello,
I'm using a heirarchy variable in BEx 7.0 query designer that is based on a profit center hierarchy object. When I execute the query, and I get prompted to choose nodes of the hierarchy, I'm only able to "include" nodes but I'm not able to "exlcude" nodes. Any ideas?
Thanks!
MichelleRemove the varaible for the hierarchy and try executing it.
If you remove the Hierarchy variable from the query and execute the query ,user should only get the nodes to which he is restticted it could be 1 node or multiple.
Hope you had kept Type of Authorization = " 1" Subtree below nodes in RSECADMIN of the auth object for profit center for the particular node
Hope it Helps
Chetan
@CP.. -
BPS - Hierarchy variable: limitations in planning folders...
Hi,
We are using a variable of type hierachy for the selection of the cost centers within the planning folders across our cost center planning application.
We are using a hierarchy with roundabout 5000 cost centers. The variable forces the user to expand the hierarchy to the desired level in order to select the cost center. There is no way to enter the cost
center manually when using the hierarchy variable, and no search function is available to find a cost center in the hierarchy.
Those are cumbersome limitations especially when users are used to the R/3 or BW hierarchy search.
Is there any way BPS can allow for direct input (in addition to selection via the hierarchy) when using hierarchy variables, or a least a search function?
Thanks!!
OlivierI don't know if this will help in your situation but I have a similar variable based on Profit Centre. Within the hierarchy the users are responsible for a small number of Profit Centre Groups (defined as hierarchy nodes in the tree). I have set the variable as user specific and each user has the Profit Centre Groups assigned that they are responsible for.
This variable is then linked to a variable selector, as a dropdown, within my web app and only allows the user to select Profit Centre Groups they are responsible for. When an entry is chosen the Profit Centres below that part of the hierarchy are displayed in the layout.
Regards,
Mat
Maybe you are looking for
-
How do I set up an InDesign document in another language?
I have laid out an InDesign document in English. It will be very easy for me to copy/paste my translated text for Spanish since my fonts include the accents, etc. for Spanish. But, how do I do it for a language that uses cyrillic (or other) character
-
InDesign (CS3, 5.5 and 6) chrashes while opening a P65
Hi there, grey hairs aproaching here: I have a near to ancient P65 file. InDesign won't open it, it crashes during the loading process (table attributes?). That happens even after opening it in PageMaker and saving a new copy. Since it's a quite comp
-
The green gear icon is not showing up while in contributor mode when an item is in a work flow. What are the configurations that we should check to ensure this icon is enabled? It is my understanding that a contributor can click on this icon and acce
-
NoClassDefFoundError (embarrassed)
I'm embarrassed to post this. I've written a couple of Java classes. They compile. They run. One class I can't test "standalone", so I've written another real small class to test it. This class, MyTestA, compiles just fine but when I go to run it I g
-
Centralized exception handling
http://www.artima.com/intv/handcuffs2.html The above is a text concerning the C# language. It contains some viewpoints concerning exceptions, and I want to lift one concept out of the text: Centralized exception handling I want to implement some kind