How to get the variants for LAV LIST or GRID?
Hi,
How to get the variants which are stored in table like JVSO1, using function module REUSE_ALV_VARIANT_F4 ?
Thanks.
Hi,
Delcare
DATA : st_variant TYPE disvariant, "Work area for variant
st_variant1 TYPE disvariant. "Work area for variant
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-041.
PARAMETERS : p_varnt TYPE disvariant-variant MODIF ID md8. "Variant
SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_varnt.
*--Local Variables
DATA: l_exit(1) TYPE c. "ALV exit
*--Call the function module to display the list of Variants
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = st_variant
i_save = c_save
IMPORTING
e_exit = l_exit
es_variant = st_variant1
EXCEPTIONS
not_found = 1
program_error = 2.
*--Check Subrc
IF sy-subrc <> 2 AND l_exit IS INITIAL.
p_varnt = st_variant1-variant.
ENDIF.
start-of-selection.
IF NOT p_varnt IS INITIAL.
CLEAR st_variant1.
MOVE st_variant TO st_variant1.
MOVE p_varnt TO st_variant1-variant.
*--Call the function module to check the variant exist
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = c_save
CHANGING
cs_variant = st_variant1.
st_variant = st_variant1.
ENDIF.
DATA : lv_repid TYPE sy-repid.
*--Pass the Report name
lv_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = lv_repid
it_fieldcat = it_fcat
is_variant = st_variant
it_events = it_events
i_save = 'A'
i_callback_user_command = 'USER_COMMAND'
TABLES
t_outtab = it_zsd_ra
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e368(00) WITH 'Alv Display failed'(044) .
ENDIF.
regards,
Prashant
Similar Messages
-
How to get the date for the first monday of each month
Dear Members,
How to get the date for the first monday of each month.
I have written the following code
SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
But it look bith complex.
Abhishek
Edited by: 9999999 on Mar 8, 2013 4:30 AMUse IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
select sysdate current_date,
trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
from dual
CURRENT_D FIRST_MON
08-MAR-13 04-MAR-13
SQL> Below is list of first monday of the month for this year:
with t as(
select add_months(date '2013-1-1',level-1) dt
from dual
connect by level <= 12
select dt first_of_the_month,
trunc(dt + 6,'iw') first_monday_the_month
from t
FIRST_OF_ FIRST_MON
01-JAN-13 07-JAN-13
01-FEB-13 04-FEB-13
01-MAR-13 04-MAR-13
01-APR-13 01-APR-13
01-MAY-13 06-MAY-13
01-JUN-13 03-JUN-13
01-JUL-13 01-JUL-13
01-AUG-13 05-AUG-13
01-SEP-13 02-SEP-13
01-OCT-13 07-OCT-13
01-NOV-13 04-NOV-13
FIRST_OF_ FIRST_MON
01-DEC-13 02-DEC-13
12 rows selected.
SQL> SY. -
How to get the VARIANT name in the program
Hi Guys,
Can somebody tell me how to get the VARIANT name in a program.
I have to perform some code with specific variant only. So I want to check in program which variant has been used to call the program.
Thanks,Hi,
Variants are stored in table VARI and VARID.
You can use RS_ALL_VARIANTS_4_1_REPORT to get all the variants for a report program.
please check out the link below it will be helpful to you
Re: Programs for a transaction variant
Hope this helps.
ashish -
A^b = n ,How to get the value for a ?
a^b = n ===> n = Math.pow(a,b)
How to get the value for a ?
dose Java have API to get the value for a ?
Thanks for help~~~a^b = n
=>
a = n^(1/b)
So,
a = Math.pow(n,1.0/b) -
How to get the ItemKey for a Workflow triggered by an event in Oracle Apps
Hello,
I have added a custom sub process to the seeded "OM Order Header" workflow. The process sends a notification. There are a few attributes in the body of the message tied to this notification, to which I am trying to assign values to using the syntax:
SetItemAttrText (itemtype, itemkey, attrname, attrvalue).
I have the internal names for the item type and attribute name, but don't know how to get the value for the item key. I understand the item key is supposed to be unique for each item type and is automatically generated by the workflow engine when the work flow fires. Is there a built-in function or some means to get this value?
Regards,
SmitaHave you tried to query WF_ITEMS? -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ITEMS&c_owner=APPLSYS&c_type=TABLE
bde_wf_item.sql - Runtime Data of a Single Workflow Item [ID 187071.1]
Thanks,
Hussein -
How to get the Ap credit memo list?
Dear Experts,
Could you tell me how to get the AP credit memo list?
Is it standard report ?
Thanks!
XinlingHi,
Go to transaction code FB03 and do following steps :
1. Click on
2. Click on
3. Next Screen
Double Click on Transaction Code if it is not Green
4. Next Screen
Enter the transaction code through which you are generating Credit Memo or click on Multiple Selections in case you are using more than one.
5. Execute
Regards,
Tejas -
How to get the order for these decoration​s?
hello,
I want to programatically resize all the controls, indicators and decorations on the front panel.
I am getting the references of all the controls and indicators and able to resize them, as each n every control and indicator has a tabbing order set to it.
I am also getting the references of all the decoration used on the front panel but not able to get the order.
how to get the order for these decorations?The order of the decorations is the same as the back to front order. So you
can change it by bringing decorations to front, or sending them to the back.
It has been suggested many times that decorations should have labels as well
as controls, but at the moment there is no way to tell which reference
belongs to which decoration (besides position and order).
Regards,
Wiebe. -
Urgent:How to get the Sqltext for Oracle Sumbitted Jobs in 10g
Dear All,
Could you help me out in sorting the below problem.
I use to get the current running sql's with following below query in 9i.
SELECT A.SID,B.HASH_VALUE, OSUSER, USERNAME, SQL_TEXT
FROM V$SESSION A, V$SQLTEXT B
WHERE B.HASH_VALUE = A.SQL_HASH_VALUE
AND USERNAME LIKE upper('%SCHEMA%')
ORDER BY B.HASH_VALUE, B.PIECE;
This is will work in 10g also for user-triggered sqls,stored procedures etc.
But when oracle submits job i'm not able find which qurery is running.
Seems For oracle jobs in 10g for V$session contain column SQL_HASH_VALUE as Zero and hence i'm not able find the any sql's running.
Could you please any of you help me out how to get the Sqltext for Orcle submited Jobs in 10g.
Please revert asap as this is very urgent for me.
Thanks in Advance
Anil.Have you tried to query WF_ITEMS? -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ITEMS&c_owner=APPLSYS&c_type=TABLE
bde_wf_item.sql - Runtime Data of a Single Workflow Item [ID 187071.1]
Thanks,
Hussein -
How to get the "Key" for Dimension in SSAS.
Hi
How to get the "Key" for Dimension in SSAS.
(Below value is the PPSParameters table XML column value in PPSDatabase in SharePoint.
Below three key values are belongs to "Dimension". I have tried to find the key but I could net get it.)
<NewDataSet>
<UserValues><Key>16A201A9E75128559F947D58E6D187A9</Key></UserValues>
<UserValues><Key>7FBEA449A6ED5606973306445839619E</Key></UserValues>
<UserValues><Key>A8F75F9720817BCD2E1DFC1C1CF1E678</Key></UserValues>
</NewDataSet>
Thanks & Regards
Poomani SankaranTo Be Honest there is not one straight Cmdlet that atleast I have come across
The best way would if you have Lync monitoring server
Using the Lync Server 2013 Monitoring Server
If you have the Monitoring Server role configured in your environment, and for Lync Server 2013 everyone should!, you can use information contained in the LcsCDR database to pull back the last time a user signed in. You can run the following query* to
pull back the user's SIP URI and their last login time:
USE LcsCDR
SELECT dbo.Users.UserUri, dbo.UserStatistics.LastLogInTime
FROM dbo.UserStatistics
JOIN dbo.Users ON dbo.Users.UserId = dbo.UserStatistics.UserId
ORDER BY UserUri
Which produces the following output:
The advantage to using the Monitoring Server to obtain this data is that unlike the information contained in the rtcdyn database, the information from the LcsCDR data will persist even when the user isn't signed into Lync.
To get approx count of users enable for Lync Server in your organisation
Get-CsUser -Filter {Enabled -eq $true} | MeasurE
Please not the above command let will give you an approx number not exact
From the Monitoring report yet the SIP account that signed in and then from count find out how many user havent signed in this is manual task
Hope this is helpful
Please remember, if you see a post that helped you please click ;Vote As Helpful" and if it answered your question please click "Mark As Answer" Regards Edwin Anthony Joseph -
Anyone know how to get the templates for illustrator?
Anyone know how to get the templates for illustrator?
Apologies for the incomplete details. I am using Illustrator 2014. I saw the Adobe online training which have predefined templates which is missing when I installed the program. Thank you Larry for the answer.
-
HT4623 i have iOS 4.2.1 in 3G old one. how to get the applications for this iOS
i have iOS 4.2.1 in 3G old one. how to get the applications for this iOS
look at this thread
https://discussions.apple.com/message/22837309#22837309 -
How to get the drivers for Dell PowerEdge M620 in INF format?
How to get the drivers for Dell PowerEdge M620.
We tried downloading
http://www.dell.com/support/home/us/en/19/product-support/product/poweredge-m620/drivers but they are in exe?
How to get inf files for those?As Jason pointed out, they can be extracted, I believe this can be done with 7zip also... Or you can just install one M620 from scratch, install the Dell drivers and then use this tool:
http://gallery.technet.microsoft.com/ConfigMgr-Driver-Injector-aae7d17d to grab the drivers in .inf format. -
How to get variants for ALV List or Grid?
Hi,
I have one standard program RGJVSO10, for 4.6c, to diplay variants they r using fm GJ_LIST_VARIANT_VALUE_HELP, where they r passing table name and get the variants.
But in ECC6.0 for the same program they r using FM REUSE_ALV_VARIANT_F4, but the variants are not displaying, form the table what they r passing in 4.6c,
Is ther any option to get those variants using this function module?Hi,
I have check u r db table but not finding variant . i will check with prg and inform u .mean while u check with these variants.
whether it suits u.
REUSE_ALV_VARIANT_ALL_MAINTAIN
REUSE_ALV_VARIANT_SELECT.
REUSE_ALV_VARIANT__MAINTAIN
REUSE_ALV_VARIANT_DEFAULT_GET
Reward if its usefull.
Regards
Durgaprasad -
It is possible that the callstack at the time the exception was thrown is different from the callstack getting by running the ~*e !clrstack/~*k, so how to get the exactly exception
callstack ?
If it it x86 unmanned code, I can use the tips "s -d esp L1000 1003f" mentioned in the following article, but my case is
x64 manned code, I even can't find the ntdll!KiUserExceptionDispatcher in any of the callstack, any idea or reference is very appreciate.
http://blogs.msdn.com/b/jmstall/archive/2005/01/18/355697.aspx
Please click the Mark as Answer button if a post solves your problem!I agree with James if you're looking for the most recent exception or want to print a specific exception. You can also use DumpHeap to filter out all exception objects currently in memory and DumpStackObjects to list any exception objcets present
in the stack on the current thread if you're probing for exceptions. The /d option, which provides DML output, works with many SOS commands as well and makes browsing through objects quicker.
WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/ -
How to get the values for the Authorization Object Fields....
Hi Everyone,
I'm pretty new to the SAP Security and have been working on the Basis sides...I created a new role in PFCG and added a few transactions (ME13) and clicked on the Authorizations tab. In there, the authorization tree is in yellow and red. After providing the Org Values, only the yellow lights remain (apart from the green one ofcourse). Now how do we get the values for the different auth obj fields that are in yellow... say for example
Conditions COND
Maintain Condition: Auth. for Use/Appl./Cond.Type/Table V_KOND_VEA
Activity 03 ACTVT
Application KAPPL
Condition table KOTABNR
Condition Type KSCHL
Usage of the condition table KVEWE
Here the values for V_KOND_VEA fields e.g. KAPPL, KOTABNR etc are missing.
My question is how do we get these values in regard to the requirement provided by the client...is it the functional guys who provide these values or else how is a security person supposed to know it...
All the help in this regard is sincerely appreciated along with the awarding of points...Hey thanks Alex and Catastrophe for the quick response...
I'll be sitting with the functional team and reviewing the roles created.
Thanks for all the help once more
Regards,
Akash.
Maybe you are looking for
-
Iphone and windows 8 compatibility?
When is apple going to fix the iphone and windows 8 compatibility? All I get is the "waiting for changes to be applied" message. I can't sync my phone.
-
Laptop with two ipods. 20GB ipod recognised by win/itunes, Nano doesn't!
Ok this problem is driving me insane. I have an Acer laptop. My partner has a 20GB ipod and I have a 4GB 2nd Gen Nano. I created a separate windows user account so I didn't mess up the 20GB itunes list. My partners 20GB ipod works fine, it gets recog
-
How to create a "sunbeam" effect in Illustrator CS3?
A very popular background created in Illustrator seems to be what is sometimes referred to as the sunbeam graphic. A bunch of lines bursting out of the middle, and getting thicker as they move away from the center, to which a gradient is often added.
-
Time machine loads original Mac address...
I had to reload a TM backup onto a different MBP. Problem is that even the Mac address of the original machine gets loaded. How do I tell my new MacBook Pro to revert to its own Mac address instead of impersonating the original one? Note: I think thi
-
Can we configure sp 2013 serach to crawl 2007 site avaialble in different farm
how to attach sp2007 content DB to sharepoint 2013 search.so that i can able to serach my 2007 content using SP2013. Thanks & Regards, Krishna