How to get the mode (change/display/create/edit) of a CRM WEBUI
Hi,
I have a table(custom) in my CRM WBUI ServiceContratc Page. Now I want to hide this table in create mode.
Could you please let me know, how can I know in which mode I am on WEB UI(Like Create/Change/Display)
Thanks,
Aparna
Hello,
use below method to check whether view is editable/display mode ...
me-->view_group_context->is_view_in_display_mode( me ). here "me" refers to the implementation class of view.
Regards,
Sandeep Kumar B
Similar Messages
-
How to get the "last changed by" for a set of function modules?
How to get the "last changed by" for a set of function modules?
is there any table to get it??See [this|Re: Date of creation of function module] I posted earlier.
>TFDIR will give you the name of the function group program and the include number.
>E.g. SAPLZFUNCGROUP Include 01.
>From this you can construct the include name: LZFUNCGROUPU01.
>You can look this up in TRDIR to find the creation date (CDAT) of the function module.
In your case, you need unam and udat.
matt -
How to get the version changes programatically in ItemCheckedin event
Hi,
I am creating a custom version history page.
I have a requirement were I have to capture the changes after file check-in and display it in the custom page.
Is there anyway to get the version changes programatically after the file has been checked-in?
Is is possible to get the current version and previous version in ItemCheckedin event
and get the version changes?
Thanks in advance,
dhijitHi,
As Dimitri said, we can use ItemCheckingIn event to achieve it.
The following code snippet for your reference:
public override void ItemCheckingIn(SPItemEventProperties properties)
base.ItemCheckingIn(properties);
int beforeLevel = (int)properties.BeforeProperties["vti_level"];
int afterLevel= (int)properties.AfterProperties ["vti_level"];
if((beforeLevel==255) && (afterLevel==1))
// This is a major version that is being checked in . . .
int majorVer= properties.ListItem.File.MajorVersion+1;
Best Regards
Dennis Guo
TechNet Community Support -
How to get the material list displayed in CU50 transaction into ABAP report
How to get the 'KMAT" type material list displayed in CU50 transaction into ABAP report?
I am getting the entire BOM when i am using the FM CS_BOM_EXPL_MAT_V2 in to the table in the report.
But I want only the material list displayed in CU50.Hi,
Could you please tell us how you found a solution to your problem?
Thanks & regards
Hassan -
DbGetQuery = How to get the results to display?
I am using the following
sqldata <- dbGetQuery(con," select sysdate from dual")
How do I get the result to display?
summary(sqldata) displays the values
if I do dbSendQuery then fetch show the results
help(dbSendQuery) and help(dbGetQuery) go to the same page! dbSendQuery
The documentation says dbGetQuery will connect, get the records and clear; maybe the clear happens before the display?!Hello Amin,
Here is the way to display the result from the query you provided:
Assign the result of the query to object 'sqldata':
R> sqldata <- dbGetQuery(con," select sysdate from dual")
Type the object name at the R prompt:
R> sqldata
SYSDATE
1 2014-04-28 14:45:14
Sherry -
How to get the download for Adobe Digital Editions to work on PC?
How to I get the download for Adobe Digital Editions to work on my PC?
3-4 tries today on Adobe website and no results.If you are on Vista, see the announcement at the top of the forum,
which points to http://helpx.adobe.com/digital-editions/kb/installing-digital-editions -20-windows.html
Try an older version (1.7.2) of ADE, especially if you are on XP.
Version 1.7.2, it is a little difficult to find, available on Adobe site for Windows and for Mac.
http://helpx.adobe.com/digital-editions/kb/cant-install-digital-editio ns.html
also for PC at http://www.tucows.com/preview/853736/Adobe-Digital-Edition-For-EBooks -
Product - How to get the list of products created.
We have a Job running which actually creates products in CRM.
Is it possible to get those list of freshly created / updated products created in CRM so that the user who is supposed to further update those products can find them easily.
Note: This job is a job which resides in the non-SAP system and using XI interface is that we create the products.Hey thanks all for the quick replies. Appreciate that.
The problem which I need to address is that, I know there are certain set of products being uploaded in my CRM. Is there any facility in CRM like a Job which can monitor on the delta changes made to the products and when I run a report those delta changes are visible.
The current work-around which I have at present is from the non-SAP system we know the list of products that get uploaded. We can pass that as a text file to the user so that he can get the list of products uploaded in CRM. But we dont want to adopt this approach.
We want some kind of an interface within CRM which should enable us to do this.
Any thoughts ?
Best Regards -
We want to remote other applications when create a new SC(neither ordered nor saved).
We must transport the screen data which entired by users.
Do you have a methord to get the screen value of SC in the FPM component FPM_OIF_COMPONENT?
Thank you very much!
I am looking forward to your reply!Solved,use the BADI BBP_DOC_CHANGE_BADI
-
How to get the latest Change date and time of a M.O. from View VIAUFKST
Hi All,
I want to get the latest date and time of a M.O. from view
VIAUFKST. I have written the query like this...
SELECT AUFNR
AEDAT " Changed Date
AEZEIT " Changed Time
FROM VIAUFKST
INTO TABLE I_VIAUFKST
WHERE AEDAT >= W_LASTRUN_DATE
ORDER BY AEDAT DESCENDING.
but its not giving me right results... Pls help me out on this or suggest me the right approach to achieve the same...As this is very critical issue...
Advance Thanks and Points Gauranteed...
Suresh> SELECT AUFNR
> AEDAT
> AEZEIT
> FROM VIAUFKST
> INTO TABLE I_VIAUFKST
> WHERE AEDAT >= W_LASTRUN_DATE.
>
> IF NOT I_VIAUFKST[] IS INITIAL.
> SORT I_VIAUFKST BY AEDAT AEZEIT DESCENDING.
> READ TABLE I_VIAUFKST INDEX 1.
> ENDIF.
>
> The above statement is giving me different results...
> such as...
>
> 1. 30/11/2005 19:20:11
> 2. 29/11/2005 22:10:09
> 3. 30/11/2005 20:56:09
> 4. 28/11/2005 23:10:09
>
> by using the above SORT statement i am getting the
> fourth record as the latest, where as it should give
> me the third record....
>
> Please advise,
> Suresh.
Hi Suresh,
The reason why you are getting this result is because the system is interpreting the DESCENDING only for AEZEIT not for both. Change it to
SORT I_VIAUFKST BY AEDAT DESCENDING AEZEIT DESCENDING -
How to get the pid for a created process
hi all,
i want to get the pid for a newly created process using java. but somebody told to check it in jni. but i didnt get exact solution till now. is anyone there known about this means pls send the code.
advance thanks
hidash.....
i have a personnel mail id u can send ur code to this id
mailto:[email protected]
Edited by: Hidash_Kumar on Jan 4, 2008 12:51 AMPlease run the Process flow and in Execution double click on Job id
You will see all parameters values in job -
Pbm in updating the fields with the MODE change (display/change) in VL02N
HI all,
I want to change the delivery quantity and picked quantity in VL02N transaction. But those fields are in editable mode for some delivery document numbers and those are in DISABLE mode for some delivey document mode in VL02N transactions. So i could not ablt to edit the quantity if it is in disable mode...
can anyone tell me why the fields are in disable mode in vl02n transaction?
regards,
Shanthiin DISABLE mode for some delivey document mode in VL02N
How the "Post Goods Issue" tab ?? Is it in editable mode or it is also in grey mode ?? If it is in grey mode, then goods issue have been posted and you cannot change.
thanks
G. Lakshmipathi -
How to get the running time on the page
Hello ,
I want to display the running clock and the user who loggin in .
Pls let me know how to get the running clock display and the username who log in.
thakns
kumarHi,
You can use javascript clock and substitution string APP_USER
Place this to HTML region source
<input type="text" id="clock" /><span>&APP_USER.</span>
<script language="JavaScript">
function runClock(){
theTime = window.setTimeout("runClock()", 1000);
var RightNow = new Date();
var hrNow = RightNow.getHours();
var mnNow = RightNow.getMinutes();
var scNow = RightNow.getSeconds();
var miNow = RightNow.getTime();
var mon = RightNow.getMonth() + 1;
var date = RightNow.getDate();
var year = RightNow.getFullYear();
var day = RightNow.getDay();
if(hrNow == 0) {hour = 12;var ap = " AM";}
else if(hrNow <= 11) {ap = " AM";hour = hrNow;}
else if(hrNow == 12) {ap = " PM";hour = 12;}
else if (hrNow >= 13) {hour = (hrNow - 12);ap = " PM";}
if(hrNow >= 13) {hour = hrNow - 12;}
if(mnNow <= 9) {min = "0" + mnNow;}
else{min = mnNow}
if (scNow <= 9) {secs = "0" + scNow;}
else {secs = scNow;}
var zday=new Array(7)
if (day==0) {zday="Sunday"};
if (day==1) {zday="Monday"};
if (day==2) {zday="Tuesday"};
if (day==3) {zday="Wednesday"};
if (day==4) {zday="Thursday"};
if (day==5) {zday="Friday"};
if (day==6) {zday="Saturday"};
var zmon = new Array(12)
if (mon==1) {zmon="January"};
if (mon==2) {zmon="February"};
if (mon==3) {zmon="March"};
if (mon==4) {zmon="April"};
if (mon==5) {zmon="May"};
if (mon==6) {zmon="June"};
if (mon==7) {zmon="July"};
if (mon==8) {zmon="August"};
if (mon==9) {zmon="September"};
if (mon==10) {zmon="October"};
if (mon==11) {zmon="November"};
if (mon==12) {zmon="December"};
$x('clock').value=""+zday+", "+zmon+" "+date+", "+year+" "+hour+":"+min+":"+secs+ap+"";
runClock();
</script>Use styles to get look you like to input and span tag
Br,Jari -
How to get the Oracle license#
Hello,
Is it possible to get the Oracle(10g) license# from the already installed DB.
We are using Oracle 10g licensed version.
pls, let me know How to get the license# information?
thanks
Edited by: Zerandib on Dec 10, 2008 9:16 AMZerandib,
Please check this link
Oracle License verstion; PIN number
and oracle install doesn't require any license# or part# or code# to unlock. What you have is licensing agreement with Oracle on some terms (best known to your licensing/purcharing/IT dept) how your company will be using Oracle? But if your intent is to learn and educate yourself, you can download and install oracle for free. Once again Oracle software doesn't require any license or code# to install but an agreement for its Usage.
Regards -
How to get Portal Login User and Its Related BP in CRM?
Hi,
An ABAP Webdynpro program is called in CRM from Portal user by a portal link. How to get the user ID and its related BP in CRM? Thanks!
The portal is integrated with ECC, and all users and BPs are maintained in ECC then replicated to CRM.
Best regards,
HaoHi,
Try the below code
IUserFactory userfact=UMFactory.getUserFactory();
IUser user=userfact.getUserByUniqueName(request.getUser().getUserId());
String usrid=user.getUniqueName();
And also you can get the groups assigned to user by using the below code
Iterator groups = user.getParentGroups(true);
while (groups.hasNext()) {
String groupstr = (String) groups.next();
IGroup g = UMFactory.getGroupFactory().getGroup(groupstr);
response.write("Group name "g.getUniqueName()"<br>");
Regards
Suresh -
How to get the screen number in the change/display FI Document screen?
Hi guys,
I was just wondering if there is a way, in the abap dictionary or otherwise, for me to detect the assigned screen number in the FI Change/Display Document screen (FB02/FB03)?
I ask this because the screen number changes depending on the line item's posting key and G/L Account from my observation.
Hope to hear from all of you soon.
Thank you all and good day.Yes you can get by the SHDB transaction
GO to SHDB. click on the new recording... give the name of the recording as ZFB02.. enter the tcode FI02 and press start recording..
Put the Document and open all required screens.. you need to put the values in the required fields to be caputred in the recording.
Come back and save.
Now, if you are planning to make a BDC to change the FI document than you can use the BAPI BAPI_ACC_DOCUMENT_CHANGE.
Regards,
Naimesh Patel
Maybe you are looking for
-
Remove the time stamp in a PDF document
So.... I'm hoping that there's a way to remove the time stamp from a PDF document I'm working on. I can't find it in preferences and a search has been less than fruitful. Any ideas?? Thanks!
-
When I plug my ipod touch into my PC, it is not recognized in file explorer
When I plug my ipod touch into my pc, it is not recognized in file explorer
-
IBook is not starting up - "still waiting for root device"
The 600 MHz / 640 MB / 20 GB iBook did not want to wake up and after forced shutdown would not start up. grey screen. With MacOS X CD - "prohibition sign", MacOs 9 - no start at all I had 2 partitions on the HD one with Tiger and other with 9.2.2 - n
-
Using itunes from external harddrive with orig playlist.
Hi all i am new so dont kill me i want to take my music off my macbook pro and access it from my external hard drive. is there a way that i can transfer the the files with playlist and re open itunes using my external drive and have all the playlist
-
Procedure must have an explicit interface specified
hello all, i'm facing a problem i don't understand. Here is a piece of code that compiles well with gfortran, but not on sun studio: program test_fortran implicit none interface subroutine f1(t) double precision, intent(in), dimension