Query on UNAME default in Infotypes
All,
We have a requirement where the uname in the infotype record should always have "WF-BATCH" but not the logged in userid.
We tried passing the value i.e. P0014-UNAME = 'WF-BATCH' before passing this to HR_INFOTYPE_OPERATION FM. But still the record has the sy-uname but not WF-BATCH.
Let me know if there is anyway we can default this?
Regards
RK
Hi,
Running this program in background could also solve your issue of course..
If it has to run in foreground mode then volker got a point with
update the infotype record directly in PAxxxx table. here you can set UNAME and AEDTM as you like.
Simply code an update statement after the FM has committed the changes to the Paxxxx table...
not really a nice option, but a working one
Kr,
Manu.
Similar Messages
-
Change layout of Adhoc query output list for Custom infotype
Hi All,
The fields in the Infoset query output on a custom infotype are aligned with the fields u2018payment typeu2019 and u2018amountu2019 appearing repeatedly(in columns) as declared in the Infotype and the output will be a long horizontal list.
Instead, the requirement is that the output list should show vertically so that If I choose u2018Payment Typeu2019 and u2018Amountu2019 as output fields, it will show a long vertical list as in the case of a standard infotype (IT0008).
Also, this way enables user to use Payment Type as a selection criteria so as to just pulling the needed payment type. When we use IT0008 in the infoset it works fine but in custom IT it does not work.
Any pointers/suggestions on how we can achieve this would be helpful.Hi yu liang,
You can find vendor list having Vendor No. & without showing total liability for every vendor.
after executing the report,
1.You need to select "change layout (ctrl+F8)",
a small window comes, it has two part -> column content & hidden fields.
then u select "Vendor" from hidden field & move it to column content.
2. at column content there is a column named "Total". u need to remove check for your column name "amount".
now select "copy" button or enter. u will find the req. report.
u can save it also by ur name.
hope its helpful to u.......
plz, reward points as a way of thanks if helpful... -
Adhoc query for Off cycle Payments(infotype 0267)
Dear All,
I have a rquirement to create a query for off cycle payments infotype(0267).
It should show the payment done for each wage type.
Can we pick the data from PC_payresult from table RT - Results Table.
If yes, please let me know the process and if not, is there any other way to get the splits of offcycle payment.
Regards,
Prasad.Hi All,
Do any one know how to create this query?
Do we have any standard reports regarding the splits of offcycle payment infotype(0267)..
Regards,
Prasad. -
Hi
Can you guys pls help.
How can i get the follwing fields: company code, Business area, cost center to default in Infotype 0017?
Thank you in advance.Hi
Write a dynamic action on IT0001, so that it can have the values from Org Assignment IT and can default in IT0017.
If you have any further queries do let me know
Hope this will be of help
Regards,
Guds -
BI 7.0 Order of Query front end default value fields
Hello,
I have a ordered the default values in query designer, but when I display the query in bex web analyzer, the order of the dimension variables is not in the same order as I specified in query designer. It does not appear to be alphanumeric or even based ont the technical name. How can I control the order of the default values?
Thanks for any information
Lee LewisSimply go to the query properties and here you can re-order the charachteristics
-
Infoset-query-selection-screen-default-values
Hi All,
I am having the requirement as I need to put default values in the selecion-screen of the report by using Infoset query. Let me know the settings required for this.
I am using SQ01, SQ02, SQ03 T.Codes.
And I need display one record only if any field contains mulitple records, for example in the HR-ABAP, field p0105-usrid contains multiple values depending on the subtype.So, I need to display USRID when URSTY = '900'. All these should display by Infoset query only.
Pls help me in this scenario , its an urgent requirement.I am very much thankful for you for reading my proble, if you will provide some sort of solution, I feel very happy.
Advance thanks for this .
Regards,
Prakash.Prakash,
To default the values on your selection screen, you will need to do some ABAP I guess. (if you do not want to use variant). Open up the infioset in SQ02 and then goto code option for the PNP**** field and then you can code to initialize the selection screen variables. Test with an ABAPer.
To display multiple records as multiple columns, you will have to create custom fields in infoset, and then go from there. Again see ABAPer. -
Query HR: error execution with infotype custom
Hello!
Can you help me?
In upgrade to ECC 6.0, when I create a query with an Infotype custom, I see this error: "Error when generating the report" (long text is about "AQ_AD_HOC221").
Thanks,
ManuHi Manu,
I executed the above mentioned program RPUMS40CCI by putting flag on above mentioned fields but I am still getting the error *Error when generating the report ( see long text ) *
My custom infotype has currency field. Due to think its something related with currency field.
Please let me know if u have any clue.
Palak -
SQL query returns varchar - default value type!!!
On a field in my portal form there is a default value type of 'SQL query returns varchar', where can I put this sql to get a default value from a table?
Hi again
I have this code in 'additional pl/sql code' - '...before displaying the page'. But it comes up with an error when I run the form.
declare
prop_v varchar2(20);
group_v varchar2(3);
el1_v varchar2(3);
blk varchar2(10) := 'DEFAULT';
begin
prop_v := p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'l_property_p');
group_v := p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'l_group_p');
select element_code
into el1_v
from eh_risk_element_detail
where property_ref = prop_v
and group_code = group_v
and line_no = 1;
p_session.set_value(p_block_name => blk, p_attribute_name => 'L_ELEMENT1_P', p_value => el1_v);
end;
Rich -
Adf query panel by default in a table , query should be exceuted
Hello all,
I am using adf 11g. I have taken adf query panel and i have taken seperate another table.My Requirement is first time in a table ,By default query should be executed after that click the search button then according to query should be executed in a table.
Thanks in advance.
Anupif you want it as a select use
SELECT t.schoolcode,u.val
FROM table t
INNER JOIN (
SELECT ROW_NUMBER() OVER (ORDER BY NEWID()) AS Seq,val
FROM (
VALUES('s'),('m'),('x')
)t1(val)
)u
ON Seq=1
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to get Default Activity(Infotype 0315) using BAPI
Hi Everyone,
I have a task to get Default Activity by Personal number for my third party application. Unfortunately function HR_READ_INFOTYPE is not allowed for Remote Call.
Is there any simple way how to get this value from system using BAPI? E.e. using RFC_READ_TABLE function(but i don't know table name ).
Thanks,
Roman.Table -> PA0315 Field ->LSTAR (Activity Type)
Class :CL_HRPT_INFOTYPE_0315
You can also use FM "CATS_GET_INFOTYPE_0315" RFC Enable
Good luck !
~Saquib -
A query regarding setting default parameters like locl in a smartform.
Hello Everybody,
My query is when I execute a program having a smartform , I need to type locl and then the print preview , now my requirement is when ever i execute a program that has a smartform , program should automatically take the printer as 'locl' and should go to print preview without me having to select the print button. How is that possible .
Thanks
KhaleelHello Mr Grover,
I tried doing as said in that thread but I could not get it right .Could any one tell me where am i going wrong .
g_Control_parameters-NO_DIALOG = 'X'.
g_Control_parameters-PREVIEW = 'X'.
g_OUTPUT_OPTIONS-TDDEST = 'locl'.
*-- to suppress the print preview option .
CALL FUNCTION 'SSF_OPEN'
EXPORTING
OUTPUT_OPTIONS = G_output_options
CONTROL_PARAMETERS = g_control_parameters
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZHR_SCR_L03'
IMPORTING
FM_NAME = WF_FNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
" MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION WF_FNAME
TABLES
INT_SALARY = INT_SALARY
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
" here the sy-subrc is coming as 2 WHY?
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-"MSGV4.
ENDIF.
CALL FUNCTION 'SSF_CLOSE'
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
"* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
MESSAGE S082(Z1)."'No salary has been Changed during the selected period' TYPE 'S'.
ENDIF.
Thanks
Message was edited by:
Khaleel S.Mohammed -
Query on uploading data into infotype
Hi,
I am in search of a method to upload data into infotypes IT0001,HRP1001.
I have serached and found we can do it using BDC,LSMW and through Hr_INOFYTPE_OPERATION--fm.
But in my flat file am having pernr ,begda,endda and supervisor..
Some of my searches said if i had a pernr in flat file its impossible to do with HR_INFOTYPE_OPERATION.
CAN ANYONE PLS SUGGEST ME THE BEST WAY TO DO?
ThanksHi Salini
Using BDC or LSMW might lead to some inconsistencies.
Uploading of various infotype data depends upon its volume.
There is a FM: HR_MAINTAIN_MASTERDATA through which you can upload the data. But this does for one record at a time. So the performance gets affected at times. Before calling this FM each time, clear the buffer using the FM: 'HR_PSBUFFER_INITIALIZE'. This will be of great help.
Incase you want to upload all your data at once, you can use BAPI_HRMASTER_SAVE_REPL_MULT.
Let me know incase you need any help in any of these.
Regards
Harsh -
BW Query variable default value put in Crystal report variable question
Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable value.
pho:
[http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
[http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
Edited by: flying on Oct 29, 2009 8:20 AMI Know what to do .
but Crystal report date variable value are Garbage characters "###".
PHO:
[http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif] -
Ssrs parameter default value not showing ,when available values is binded to query dataset
I have developed a report using sql server data tools for vsiual studio2012 ,i have defined few parameters ,on one of the parameter when available values is binded to a dataset query, the report default value is not showing in report preview .
Many Thanks
ChandraHi Chandra,
According to your description, you have set the default value for a parameter, but it's not displayed when initially running the report. Right?
In this scenario, since you have set the available values bind to query, so your default values should be within these available values. If these default values are not within the available values, the default values will be not displayed. So please check
the default values.
Reference:
Add, Change, or Delete Default Values for a Report Parameter (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Fix table header line of Query in default web template WAD 7.0
Dear all,
I would appreciate if somebody could help me to set parameters to fix the header line of a Web-Item DataProvider (Query) in the default web template 0ANALYSIS_PATTERN for the BEx Web Analyser. I mean I want to see the header line with the characteristics and key figures description even if I scroll down in the query.
My idea was to create a second frame in the template and to fill it with the same DataProvider just with the header of the Query. The problem is that the performance of the query would be badder if we load two Dataprovider/Query instead of one.
Many thanks in advance for your answer and help!!!
Best regards
AbdelHi Dion,
Thank you very much for your answer! I have tried to find a paramter in the web application designer to do that, but without success. Now I have included a new container with the same Analysis Web Item, but it does not function! May you have a better idea??
Thank you very much in advance for your help. I'll also post my question in a BI-Forum as you suggested.
Best Regards
Abdel
Maybe you are looking for
-
Problems in creating new portlets with WLCS3.1
Hello, I've the following problem with Weblogic Commerce Server 3.1: I have added a new portal and it worked great. I put severals predefined portlets and it worked too. But when I tried to add a new portlet (the simple welcome.html doc sample), I ju
-
What's the Difference in Conversions done with ACR vs. DNG Converter?
As an experiment, on my PC workstation I just converted a set of 40 Canon CR2 files with both the free DNG Converter 6.5 and Camera Raw 6.5 (both 32 bit and 64 bit). With Camera Raw, I dragged the files to Photoshop, then used the [Save Files] butto
-
HT1338 track pad not working after upgrade to mountain lion
I have just finished installing Mountain Lion and it apears to be ok but I have two imediate problems. Firstly the track pad gestures are not working, I can only select anything with the click switch, single selection by finger is not working. Seco
-
when I power on it shows go itune logo starts. Then I tried to download restore and update it shows Tunes has detected an iphone in recovery mode. You must restore this iPhone before it can be used with iTunes. iphone could not be restored. Then an u
-
11.4.0.18 update - No iTunes Match
I just updated my iTunes for Windows to 11.4.0.18, and afterwards the "Match" button disappeared. I subscribe to iTunes match, but now don't know how to control it since the button has disappeared. I received an error message asking me to sign out