How to call Country specific applications based on personal area ?
Hi all,
Though in R/3 for all employees country grouping maintained for all employees is 40 (India), As per project requirement we need to pull country specific screens for employee in portal. Screens vary mainly for personal data, address, bank details, family members data as per country .
We need to pull the respective countries page based on the personal area of employee.
Reagrds
Rajendra
Hi,
Please go through the blog below:
/people/amir.madani/blog/2007/01/05/create-dynamic-xss-homepages-with-static-services-using-a-simple-proxy-class
Hope this helps.
Cheers-
Pramod
Similar Messages
-
How to call the country specific application depending upon Pers area
We are using ess / mss on EP 7 and back end is ECC 6.0 .
Our requirement is
Though in R/3 for all employees country grouping maintained for all employees is 40 (India), As per project requirement we need to pull country specific screens for employee in portal depending upon the personnel area of logged in employee..
We need to pull the respective countries page based on the personal area of employee.
for e.g
If employee belong to per area A then he should get the US specific Adddress application
If employee belong to per area B then he should get the India specific Adddress application
If employee belong to per area C then he should get the IGermany specific Adddress application etc
Is there any configuration / way to achieve this functionality on portal
Reagrds
RajendraHi Rajendra,
There is something called Internationalization of WebDynpro Iview. Refer this concept. When you will implement and import those packages in program at that time either languages will change automatically location based or u can put if() condition to make the things workable. But more important things will start supporting your IViews.
Best Regards,
Roshan -
Call Country Specific Screen in ESS
Hi experts,
I am customizing the ESS Address,want to call country specific screens.How can I call country specific address screen for different countries?
How SAP call the country specific screen based on contry?
Thanks&Regards,
vino
Edited by: vino on Dec 3, 2008 11:57 PMHi,
What is this molga ?
Can anyone explain in detail how to acheive country specific scenarios ( like if i want some UI elements to be visible for one country but not for other )?
Can this be achieved from the backend settings (spr) in homepage framework or we need to do changes by going into the UI ?
If changes are to be done by going into UI then do we need to create seperate iviews for each country ?
Regards,
Indu -
Resusing Country Specific Application - GT
Hello,
We need to setup Guatemala for all the Personal Information iViews, and we would like to reuse Mexico for this. The steps I followed were:
1) Assign Screen Structure to Infotype Version
2) Define Active Subtypes and Use Case
3) Country Specific Applications
After this, when I changes my ID to GT PERNR and logged back in to Mexico, the Adddress & Personal Data works fine but not Family Members/Dependants. This iView does not recognize the already exisiting record son the GT emloyee's IT21 and when I click on create new record, it throws a Java Null Pointer Exception.
Any ideas on this?
Thanks,
NakulDeepak,
Thanks You!! Solved issue!
Another question I have while on this topic... The closest we could get to Guatemala (GT) was Mexico (MX). And if you think about it, MX is the only country in LAN for which SAP has provided iViews. Although MX works fine for GT for IT2 and IT6, we cant get it to work for IT21, because the screens of MX and GT are very different in IT21. Any ideas on how we can resolve this issue?
Another thing to consider is, we do not use IT21 for GT, but we would haet for the GT employees to go in there and see an ugly error message.
Any thoughts?
Thanks,
nakul -
How to call a WD4A Application of another system
Hi,
I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
<html>
<head>
<title>IFrames - Webdynpro Test</title>
</head>
<body>
<iframe src=<%= lv_url_route %>"
width="100%" height="500" scrolling="auto" frameborder="1" transparency>
</iframe>
</body>
<html>
Can anybody help?!?!
Thanx & best regards,
Oliver
Edited by: Oliver Pregler on Jul 28, 2008 3:26 PMHi Oliver,
unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
data: lr_empty_parent type ref to cl_gui_container,
lr_viewer type ref to cl_gui_html_viewer.
data: lv_url(200) type c.
lv_url = 'http://www.xyz.com'.
create object lr_viewer
exporting
parent = lr_empty_parent
exceptions
cntl_error = 1
cntl_install_error = 2
dp_install_error = 3
dp_error = 4
others = 5.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
lr_viewer->detach_url_in_browser(
exporting
url = lv_url
exceptions
cntl_error = 1
dp_error_general = 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.
cl_gui_cfw=>flush( ).
If it helps you - fine. If not - forget it
Best regards
Jörg Racz -
How to call a VB application from Java
Hi,
does anybody know how to call a VB application from java.
Would appreciate if you can provide me with an example.
thankstry exec()ing the cad program with the name of the file as a command line parameter...
Runtime.getRuntime().exec("CADProg.exe Test.prt");
i have no clue if this will work but it seems like it's worth a try. -
Does anyone know how to lock a specific application, such as e-mail in Ipad?
I have my company email in my Ipad and I want to lock it in order to prevent whoever uses my Ipad to login to my email. Does anyone know how to lock a specific application or it cannot be locked?
There is a somewhat clunky way to do it. First, go into your mail (Settings - Mail/Contacts/Calendars) and turn off (dont' disable) any accounts you don't want to be seen. Then go into Restrictions - Accounts and select "Don't Allow Changes." This will prevent anyone from turning the mail back on. When you're ready to turn it back on, go into Restrictions and either Disable Restrictions or go into Accounts and select Allow Changes.
-
How to call custom BSP application (copied from standard)
Hi,
I came across 1 interesting link in SDN.
[Enhancement procedure of BSP application HRRCF_RECRUITER in eRecruitment]
My requirement is also similar.
I need to copy the HRRCF_TRM_SRCH application.
I know how to make the changes for the logic (like copying the standard controller & iterator class etc.)
But I donu2019t know how to call the custom BSP application.
One requirement is, I need to call a BSP application, in which there are only UI(user interface/screen) changes .
That is, if there are only changes made to hitlist_cand.bsp page . And no changes made to hitlist_cand.do page.
Eg: Removing one button from screen.
Second requirement is, I need to call a BSP application in which there are logic changes also.
(I know how to change the standard controller class to custom class)
Eg: Changing logic of button.
We tried renaming the application name from standard to custom one (with Namespace=SAP itself, though it gave a warning) in the table T77RCF_LOG_APPL .
Then we used this name to configure the start page link. But still the execution control is going to standard page & not to custom BSP application.
How will I know which BSP application(Appl A), is calling the BSP application (Appl B) in which I want to make changes ?
The starting application is HRRCF_START_INT.
Would really appreciate solutions posted.
Thanks,
Nisha Vengal.Hi Nisha,
I think you have an issue to call custom BSP.
- Ignore the warning message (in the table T77RCF_LOG_APPL) as it is just a warning message. I did not touch start page link at all.
- Additionally you need to make (I had to made) an entry in table u2018V77RCF_SMG_NAVIu2019.
Let me know, if you need anything else.
...Naddy -
How to call a struts application in a portlet
How to call a struts application in a portlet. I have two different ear's. In one ear I have my struts application and in one war i have a struts portlet. In the struts portlet provider.xml defaultAction tag can i call the action class .do which in other ear (ie my struts application ear).Can anyone suggest me whether this is the right way or else can u suggest me with some other thing.
Waiting for ur responses.
Thanks and Regards,
Dhanu.Hi Dhanu,
Your Struts Portlet will not be avialble via a URL as it is completely dependent on Oracle Portal Environment. The Provider for the Portlet is alone available via a URL - you would have registered your Portlet using the URL of the Provider.
Your Struts application, which does not rely on the Oracle Portal Environment, is defeitely accessible from a URL. It's just another web application that uses the popular Struts Framework.
Hence, you can use the URL ( the starting point - a JSP, Servlet, etc. ) of your Struts Application to "call" the application in your Struts Portlet. I don't think you need to fiddle with the parameters in Provider.xml.
Moreover, <defaultAction> in Provider.xml should have the URL of a Struts Action Class - the mapping in the
struts-config.xml should map the .do action to the right JSP file.
You can have a look at Metalink Note : 331069.1 for a good insight into the <defaultAction> Tag.
Regards,
Sandeep -
Causual Leave - Base Entitlement - Based on personal Area
The client has requirement like Base Entitlement is based on personal area......
Example:
Casual Leave :
Personal Area (1001) has Base Entitlement : 20 days
Personal Area (1002) has Base Entitlement : 25 days
Personal Area (1003) has Base Entitlement : 30 days
In the Base Entitlement screen i can give the Entitlement based on seniority or age. how can i give different entitlements for different personal areas for the same quota type? can we input through a PCR? please help....Hi Raju,
The requirement is quite generic and doesnt require any PCR .We can control it with normal Config.In SPRO> Time Management> Time data Recording and Administration--> Setting Groupings for Time Quota types -->Group Personnel SubArea for time Quota type (V_503_E)
Please set a different grouping for ur Personnel Subareas and do the config.Your issue will be resolved.
Let us know if u need any clarification.
Thanks
Swati -
How to call an applescript application from Office 2011 Excel VBA
All:
I have been pounding my head how to implement a working VBA application into the Mac environment. I have tried a number of approaches calling applescript from VBA. I would like to call my applescript application and pass one argument. My applescript application is as follows:
<code>
on run argv
set theURL to (item 1 of argv)
set p_path to do shell script "echo ~"
set m_path to POSIX file p_path
set theName to text -((offset of "/" in (reverse of characters of theURL) as text) - 1) thru -1 of theURL
set theFile to (p_path & "/Downloads/" & theName)
set macPath to (POSIX file theFile)
do shell script "/usr/bin/curl " & theURL & " -o " & quoted form of POSIX path of macPath
end run
</code>
My last attempt within VBA is:
<code>
Sub SaveMetaDataFile(URL As String, shortFileName As String)
Dim scriptToRun As String
Dim posixcmd As String
posixcmd = ThisWorkbook.Path
scriptToRun = "tell application " & posixcmd & ":MetaDataFileDownloadScript.app " & URL
MsgBox "[" & scriptToRun & "]"
MacScript (scriptToRun)
</code>
I first tried to call the script directly without the "tell application" and I still obtain an error. I also tried the following in VBA and I get the same error with the last lane of code:
<code>
scriptToRun = "set theURL to " & """" & URL & """" & Chr(13)
scriptToRun = scriptToRun & "set p_path to do shell script " & """" & "/bin/echo ~ " & """" & Chr(13)
scriptToRun = scriptToRun & "set m_path to " & """" & posixcmd & """" & Chr(13)
scriptToRun = scriptToRun & "set theName to " & """" & shortFileName & """" & Chr(13)
scriptToRun = scriptToRun & "set theFile to (p_path & " & """/Downloads/""" & " & theName)" & Chr(13)
scriptToRun = scriptToRun & "set macPath to (POSIX file theFile)" & Chr(13)
scriptToRun = scriptToRun & "do shell script " & """" & "/usr/bin/curl " & """" & " & " & " theURL " & " & " & """" & " -o " & """" & " & " & " quoted form of POSIX path of macPath"
MsgBox scriptToRun
'scriptToRun = scriptToRun & "do shell script " & """/usr/bin/curl """ & " & " & " theURL " & """ -o """ & " & " & " quoted form of POSIX path of macPath"
MacScript (scriptToRun)
</code>
The above code is from the applescript application. The applescript application works well using the terminal via osascript. For example:
xenas-imac:Census Work Xena$ osascript MetaDataFileDownloadScript.app http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls
xenas-imac:Census Work Xena$
The whole goal is to download a file into the Download directory from Excel to allow the next step to import the file into Excel for the user. Any help here would be great!
Thank you;
LoriUpdate:
Ok have the module almost working and matches the syntax within the test applescript I had created, but the VBA code via the MacScript() call is generating an invalid procedure or argument call. The following is the test applescript to compare the created string to be passed to VBA MacScript() function:
<code>
set appPath to quoted form of POSIX path of "Macintosh HD:Users:Xena:Desktop:Census Work:"
do shell script "/usr/bin/osascript " & appPath & "MetaDataFileDownloadScript.app " & "http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls"
</code>
The following is the VBA module that generates the above word for word as far as I can tell:
<code>
Sub SaveMetaDataFile(URL As String, shortFileName As String)
Dim scriptToRun As String
Dim posixcmd As String
posixcmd = ThisWorkbook.Path
posixcmd = posixcmd & ":"
scriptToRun = "set appPath to quoted form of POSIX path of " & Chr(34) & posixcmd & Chr(34) & Chr(13)
scriptToRun = scriptToRun & "do shell script " & Chr(34) & "/usr/bin/osascript " & Chr(34) & " & appPath & " & Chr(34) & "MetaDataFileDownloadScript.app " & Chr(34) & " & " & Chr(34) & URL & Chr(34)
MsgBox "[" & scriptToRun & "]"
MacScript (scriptToRun)
End Sub
</code>
The message box in the above VBA code matches my test applescript file and I have taken the output of the MsgBox and used it in a test applescript and it works great, but VBA is throwing "Run-time error '5': Invalid procedure call or argument".
Looking at Microsoft's definition it takes a string argument and I have made sure that scriptToRun is a string type, so at this point I suspect there is something wrong with the MacScript() funciton, or I am missing something above. Is there another way to call an applescript application from VBA outside the MacScript() function? Or is there something I am missing? Any help or suggestions is needed.
Thank you;
Lori (CodeXena) -
Hi How to generate vendor specific application file I am using Weblogic9.0
Hi
I have a scenario like XI->J2EE application. For my J2EE application am using Weblogic9.0 can anyone tell me how to generate weblogic specific XML, which i will use to deploy on application server. I am n newbie to Weblogic server9.0
ThanksHi
please have a look at ths link
http://edocs.bea.com/wls/docs90/ejb/index.html
http://edocs.bea.com/wls/docs90/ejb/implementing.html#1195909
http://edocs.bea.com/wls/docs90/ejb/DDreference-ejb-jar.html#1107234
Hope this helps, <i>please mark points for helpful answers</i>
regards
rajesh kr -
How to call webservice server application in jsp
Hi Friends
I followed this link http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html and run the server and client web service application successfully. How to call the Webservice server application in JSP instead of using client (java main method) java appliaction. Is there any tutorial or code for accessing the webservice server application in jsp.
Thanks and Regards
Sherin Pooja797526 wrote:
Hi
I feel that JSP is just a view page.Not a feeling, it actually is :)
So it is not good practise to write the scriplet code in JSP page. Absolutely right.
Is there any other way to call the webservice server application in my client(JSP) page?
What is it that you want to do? If despite all you have said, you still wish to call the webservice from a jsp, read my response above.
You would do well to rephrase your question if there's something else that you are asking.
ram.
Edited by: ramp on Dec 27, 2010 12:35 PM -
How to call the attachment(application attachment) in RTF
Hi Friends,
can any one help me, how to call the attached document in XMl Publisher(RTF).
The attachement is done in application for "order Management". We have design the xml file from "oracle reports"(RDF) and designing the layout in XML Publisher(RTF).
Please help me how can i handle this in RTF.
Thanks in advance.Hi,
If you mean where are attachments stored so you can get the contents, see my blog post here:
http://garethroberts.blogspot.com/2007/08/document-attachments-private-stuff.html
With regards to getting them into RTF layout, it may depend on what type of attachment they are - short/long text/URLs will be fine, file attachments (LOBs) may depend on the contents - certain types of images will be fine, other file type attachments (like PDF, DOC, etc) I'm not sure - on my list of things to look at.
Regards,
Gareth -
How to call a pcui application
Hi,
i try to call a pcui application from another web application.
i tried to call the product app for displaying a specific product like this:
http://server:8080/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=CRMM_PRD_SALES&blview=ZPROD_MAN&sap-syscmd=nocookie&CRM_OBJECT_TYPE=PRODUCT&CRM_METHOD=DEFAULT&CRM_OBJECT_ID=0000000000000000000000000000000010770029
but it just shows the empty product application. there's no product selected.
Any ideas?
regards,
JensHi Jens,
You need to try to pass the following in the URL
BORTYPE=PRODUCT
BORKEY=0000000000000000000000000000000010770029
I'm not sure if we need this..
CRM_OBJECT_ID=0000000000000000000000000000000010770029
Please have a look at CL_CRM_BSP_FRAME_MAIN
DO_INIT method this will be reading all the query fields passed in the URL.
DO_REQUEST search for convert_from_bor ( line 199 roughly)
have a break point in do_init as well as do_request , you will be able the see whats happening.
regards,
Vijaya Kumar M.
Message was edited by: Vijaya Kumar
Message was edited by: Vijaya Kumar
Maybe you are looking for
-
I have a first gen 20" G5 iMac, but it needs a power supply. Can I use a power supply from a first gen 17" model. I actually have one of those available. Thanks.
-
Dears , Please i need quick reply in this : i 've created new function using pe04 === p9999 1- first i want to ask is it true to call it P9003 or it supposed to be %9999 ?? 2- this function is country specific and when i add it to the schema , and af
-
Damage Macbook pro by turning it off?
Hi I just recently went over to mac, and i am pretty exited about it, beats the **** our of the crap i used before.. i got a question though, people seem to be all hypen about the sleep function on the mac, i am personally used to always turning it o
-
ITunes and Internet not working on iMac G5
My iMac G5 didn't show the hard drive when it booted up so I took it to the genious bar and they did the Apple Alt R Command to restore settings. Now iTunes and the Internet wont work. When I try to open iTunes it tells me that I can't use iTunes w
-
I've just replaced my stolen windows with a Mac Book Pro. I already had a i tunes account with my old laptop, I can log in to my account no problem using i tunes that came with the Mac, but i cant see any of my purchases, is there any way I can re do