NWDS - Importing standard SAp packages
Hi,
I am new to NWDS java developmennt.
I have succesfully developed, deployed a demo EJB to J2EE and also able to execute it from my SAP portal server.
I am trying to use the user management API ot Portal (like package com.sap.security.api), however when I write the following statement, it gives an error on my local NWDS build.
import com.sap.security.api;
Question is how do I refer to this remote package (or any other SAP package) which is lying on J2EE on my local NWDS software build.
Thanks,
Amit Jain
This is answered. The standard SAP packages are available on local machine.
Right click on project->properties
Selectr Java Build path-> Libraries->Add Variable->Select ECLIPSE_HOME
Hit Extend
Select Plugins
Select com.sap.security_2.0.0
Now the import com.sap.security.api.* statement will not give any syntax errors.
Closing the thread.
Similar Messages
-
Is there any standard sap package which contains examples of web dynpro
Hi experts, Is there any standard sap package which contains examples of web dynpro.
Hi Jrockman,
SWDP_DEMO_TUTORIALS package also contains some demo web dynpro components. There are many standard wd component which you can refer, all of them start with the name WDR, so you can also serach for components starting with name WDR_*.
I hope it helps.
Regards
Arjun -
Error in Importing standard SAP DCs to Production system
Hi All
I am trying to do a transport from QA to Production system. 3 of the standard components
sap.com_GP-CORE
sap.com_CAF-MF
sap.com_CAF
are not getting imported to Prod. It gives an error
caused by Exception:com.sap.cms.tcs.beans.exception.TCSDeployException_Communication: The user 'cedeploy' could not be connected to the specified host 'bhbc1ce01.ent.bhicorp.com'and port '50004'.:The user 'cedeploy' could not be connected to the specified host 'bhbc1ce01.ent.bhicorp.com'and port '50004'.
com.sap.cms.tcs.beans.exception.TCSDeployException_Communication: The user 'cedeploy' could not be connected to the specified host 'bhbc1ce01.ent.bhicorp.com'and port '50004'.
The user is not locked. I managed to import the rest of the components to Prod with the same user ID.
Only thing i am able to notice is that, the Owner for these 3 components are "jointadm" and the rest of the other components had owner as "Make".
Please give me your suggestion.
regards
DeepuHI,
Under the runtime systems tab in CMS lanscape configurator,
check the username and password details given for thr production runtime system .
also once save the configuration.
Regards,
Satya. -
Hi
I have an WD4A app and I would like to import sap's standard icons such as s_b_okay.gif to be displayed in my app
based on some condition. My question is how do I call these icons and attach them to image UI elements I have
created?
Thanks for yr help
Yuval PeeryHI Perry ,
You can bind the image sourse property of your UI with the attribute type string and programatically you can change the value for the image source based on your condition
Sample code :
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->Element_context.
DATA lv_image TYPE wd_this->Element_context-image.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
if condition = 1. " here you can change icon based on your condition
lv_image = '~Icon/Add'. " or you can get the value from table - ICON & copy the text , Eg : @00@ lv_image = ' @00@'.
else.
lv_image = '~Icon/AddRow'.
endif.
* set single attribute
lo_el_context->set_attribute(
name = `IMAGE`
value = lv_image ).
Regards
Chinnaiya P
Edited by: chinnaiya pandiyan on Jul 6, 2010 4:14 PM -
ESR - How do you import standard SAP Models
Hi,
We've recently upgraded to PI 7.1 and I'm looking to model some integration scenarios.
I have been reading the following help
http://help.sap.com/saphelp_nwpi71/helpdata/en/73/70bfcc163b48b0bb5edb6cdd860766/frameset.htm
Under the section - Modeling Guide for model types in the ES Repository - there is the following note
Finally, the different models are a good way of documenting the whole process of an application and make it easier to enhance software later.
Note
SAP already works internally with the modeling environment, including a unification and standardization process (Governance Process), to increase the level of reusability. SAP delivers the models that were produced by this process as ESR content to aid the understanding of the SAP application.
End of the note.
I'm wondering if there is a way to import these models so I can view them.
Regards,
JohnHi John,
After the upgrade, if you drill down the SAP Standard Software Component Versions in the ESR you'll notice some of the models that SAP shipped with the upgrade. You can start looking at those to get a good idea of how SAP has used them.
The other alternative is that if you import XI Content from Service Marketplace that you migh require for building Enterprise Services for a specific scenario you may have, SAP Models used to produce that Enterprise Service/s are shipped with the XI content. You can browse through those as well.
Regards, Trevor -
Hi all,
I am working on B2B webshop product catalog pricing and I have to make some changes in Java classes which are supposed to be in com\sap\isa\backend\crm\webcatalog\pricing..........But i am trying to import them in NWDI perspective and I dont find this
com.sap.isa.backend.crm.webcatalog.pricing track at all...
Does any one know how can I import this track and where it is.... all associated Java Classes in this track to my NWDS?
Regards,
SamHi Shantoo,
Thanks for helping me with this. So you mean to say, I have to import crmhomeshrextsap.com ??
If that is the case, I already imported but i am unable to find this track com.sap.isa.backend.crm.webcatalog.pricing .
If you could access this track could you please let me know the name of one Java Class atleast that is present in this track?
Also I can only find the custom Z classes that I have written in crmhomeshrextsap.com , but some how not the standard SAP classes.
If i say ctrlshiftT, i can search for standard classes and open them, but if i click in "Link with Editor", I cant find the source of the class....but "Link with Editor" still works for my custom classes.
Any help with this will be higly appreciated. Will be waiting for your response. Thanks.
Jessica. -
Style sheet of the SAP standard ESS package.
Hi,
Our client installed the standard ESS package and after adding a theme to portal the dropdowns , calendar widgets doesn't take the style sheet correctly and therefore the dropdowns , calendar widgets and other display attributes doesn't appear properly.
It would be great if any one provide the solution why this is occuring.
Thanks
Ritushree SahaHi Ritushree,
we experienced the same thing a couple of month ago. Some of the ESS/MSS GUI elements were not properly rendered after we applied a new SP (SAP NW 7.0 SPS 9 or SPS 11). As far as I remember SAP promised to fix the probleme in the next SPs.
As a workaround we configured the affected ESS/MSS iViews in a way that they did not use the Portal Theme. As a result the iViews had a slightly different design but the GUI elements were working again.
Best regards,
Martin -
Available Services in Standard Business Package
Hi All,
What are all the services(applications) provided by MDM standard Business Package? Are there any links which clearly states the list of services supported.
Thanks in Advance!!
Regards,
Revathi Raju.
Edited by: Revathi Raju on Mar 11, 2009 8:45 AMHi Revathi,
Are you asking about the Standard Business content provided by SAP or the Standard Business package?
Standard Business Content:
SAP has provided Std Business content with the MDM 5.5 and 7.1 MDM server.These are nothing by predelivered SAP repoitories archives for different masters like Customer,Material,Vendor,Article,Product,Employee etc.All you have to do is unarchive these rep contents on to your MDM server and then you can work with them .
The Services that they provide are:
- You will get teh entire MDM rep ready to use
- With this comes the XML Schema,Import and Syndication Maps
- Remote systems and ports
- And all such configurations predefined
- So your data modelling work is almost done and you can work with your master data directly on the repositories.
To know more on the Business Content please refer the below link;
https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1035773 - Business partner
https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1252846 - Products
https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1252884 - Customer
https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1255401 - Material
https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1252883 - Vendor
https://websmp202.sap-ag.de/~sapidb/011000358700001119642007E - Article
https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1268212 - Employee
The other thing is the standard Busines Package:
These are the SAP predelivered Content to be used with MDM and other Netweaver components.
- Like for example you have some predelivered sca files and Business contents to work with portal and MDM
- SRM -MDM Buisness content to work with MDM and SRM catalog
- MDM with GDS
etc
The features provided by these business packages is taht it enables easy to connect and use efficient integration between MDM and the other components.
You can refer the scenario guide to know more on this:
https://websmp209.sap-ag.de/~sapidb/011000358700001119482007E
Hope It Helped
Thanks & Regards
Simona Pinto -
Customization of Standard SAP Report.
Hi Experts,
I want to know the procedure of adding one more Tab in a standard SAP screen.Can I do that.If I can then please guide me and tell me stepwise.
Thanks in Advance.
Moderator message: please search for information and try yourself before asking.
locked by: Thomas Zloch on Sep 16, 2010 9:19 AMHi,
try with:
EXIT_SAPLV50G_001
EXIT_SAPLV50G_002
check as well package VEI where you can find the following function groups:
X50G User exit for selecting decl. to auth.
XAKK Documentary payments: User enhancements
XMF1User exits - Preference determination
XV50 User exit default Foreign Trade data
XV52 User exit legal control
XV55 User exits for printing FT documents
XVIMP User exit: Default data import simul.
and finally badi BADI_LC_UPDATE
Best regards.
Edited by: Pablo Casamayor on May 11, 2010 11:21 AM -
How to find CUSTOMER EXIT for a Standard SAP program
How to find CUSTOMER EXIT for a Standard SAP program
Hi
To introduce the techniques of enhancement in standard SAP system. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.
They do not affect standard SAP source code.
When you add new functionality to your SAP System using SAPs exits, you do not alter the source code of standard SAP programs in any way. The code and screens you create are encapsulated as separate objects. These customer objects are linked to standard applications, but exist separately from SAPs standard software package.
They do not affect software updates.
When you add new functionality to your SAP System using SAPs exits, your objects (called customer objects) must adhere to strict naming conventions. When it comes time to upgrade a to a new software release, customer objects names ensure that they will not be affected by any changes or new additions to the standard software package.
Customer exits are not available for all programs and screens found in the SAP System.
Any change made to an SAP object in a customer system is called a modification. Customers usually modify their systems for one of two reasons. Either they make changes to the SAP standard in order to adjust the R/3 System to their specific business needs (actual modifications), or they alter individual SAP objects in order to correct an error (as recommended in an SAP error note).
You should only modify the SAP standard if the modifications you want to make are absolutely necessary for optimizing work flow in your company. Be aware that good background knowledge of application structure and flow are important prerequisites for deciding what kind of modifications to make and how these modifications should be designed.
SAP application programmers create SAP enhancements in transaction SMOD using function module exits, menu exits, and screen exits.
Customers are given a catalog containing an overview of existing SAP enhancements. They can then combine the SAP enhancements they want into an enhancement project using transaction CMOD.
SAP enhancements are made up of component parts. These components include function module exits, menu exits, and screen exits. A specific component may be used only once in a single SAP enhancement (this guarantees the uniqueness of SAP enhancements).
Customer enhancement projects consist of SAP enhancements. Each individual SAP enhancement may be used only once in a single customer enhancement program (this guarantees the uniqueness of a customer project).
SAP application programmers preplan function module exits, menu exits, and screen exits for their applications and combine them to create useful enhancements for the R/3 System.
Customers create their own enhancement projects for their systems using SAP enhancements. You can customize the individual components of an enhancement project by creating your own include programs (for function module exits), texts (for menu exits), and subscreens (for screen exits). -
Import com.sap.isa.backend.r3 cannot be resolved
Hi,
I am working on E-Commerce package 5.0 B2B application.
I have created a 'customized' OrderStatusR3.java file in SHREXT component. It is almost the replica of the standard OrderStatusR3.java and has the imports of com.sap.isa.backend.r3 package. The problem is, I am getting compilation error with the message as 'import com.sap.isa.backend.r3 cannot be resolved'.
Please help me in identifying the 'Required DC' or the jar file that contains this package. I have checked the 'SAP-SHRJAV-> crm/isa/isacore' component, it does not contain the com.sap.isa.backend.r3 package.
Thanks!
YuvarajHi
You need to go to:
SHRWEB
> crm/home/shr/ext
> DC Metadata
> DC Definition
> Used DC
press right mouse click on Used DC and press "Add Used DC".
Go to SHRJAV tree and crm/isa/isacorer3, open tree to Definition DC and after Public Part.
Press to "default" package and click "Finish".
Rebuild Project and now you can use there classes.
Nicola -
Re: Error in submitting Import Standard Purchase orders from Pl/Sql
Hi All,
Iam using the following code to submit a concurret program
"Import Standard Purchase orders" from pl/sql
Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
My instance R12
My Code
======
DECLARE
v_request_id VARCHAR2 (100);
BEGIN
mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
mo_global.init ('PO'); -- sets the application
FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
v_request_id :=
fnd_request.submit_request (application => 'PO',
program => 'POXPOPDOI',
description => NULL,
start_time => NULL, -- To start immediately
sub_request => FALSE,
argument1 => '31348', -- Buyer_ID
argument2 => 'STANDARD', -- Doc Type
argument3 => '', -- doc subtype
argument4 => 'N', -- update items
argument5 => '', -- create sourcing rules not used
argument6 => 'INCOMPLETE', -- Approval status
argument7 => '', -- release generation method
argument8 => '1021387', -- batch_id
argument9 => '', -- operating unit null
argument10 => '', -- global agreement null
argument11 => '', -- enable sourcing null
argument12 => '', -- sourcing level null
argument13 => '', -- inv org enabled null
argument14 => '' -- inv org null
DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line (
'Request set submission failed - unknown error: ' || SQLERRM
END;
output
=====
when i check output i am getting the follwing error
DECLARE
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at line 133
Log message
==========
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
31348
STANDARD
N
INCOMPLETE
1021387
Start of log messages from FND_FILE
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 945297
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
End of log messages from FND_FILE
Thanks
Manoj kumarPass NULL instead of ''
Check the flag
SELECT multi_org_category
FROM fnd_concurrent_programs
WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
Otherwise,
Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
HTH
Cheers,
ND
Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered. -
Error While submitting Import Standard Purchase Order Concurrent Program
Hello All,
When I am trying to submit Import Standard Purchase Order Concurrent Program from front end, it gets submitted properly.
and from backend,I am getting Following error.
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 27810853
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
When I looked in Parameters in both program(manually submitted and called from backend) I found a difference.
difference is Parameter Operating Unit. It not get submitted while program calling from backend.
Please anybody tell me solution for this. for setting this parameter.
(Also I have applied for patch 13001705 as per Metalink suggested).
Thanks in advance.
Regards
Ravi Raj.
Edited by: Ravi Raj on Jan 23, 2013 10:50 PMPlease paste the code here.. there may be some parameter issue while submission.
-
Transporting table entries present in standard SAP R/3 table u201CTMCEXCFZu201D.
Hi All,
We have a requirement where in we need to capture a table entry in transport request in R/3.
The table "TMCEXCFZ" is a standard SAP R/3 table.
The" transport entries" option under the "table entry" in menu bar is disabled in our case.
Is there an alternative way to capture the table entries in the transport request?
Thanks for your help in advance.
Thanks and Regards
Arun AilHi Arun
Try to go to object changeability in the table....assign the table in a package.....then try to save this...it should ask for a transport...
Hope this helps
Cheers
Chanda -
Hi
Experts,
i have an adapter module for 7.0 and i am trying to replicate the same for PI 7.1 in 7.1 NWDS.
i have made the required changes as mentioned in stefan's blog :/people/stefan.grube/blog/2008/12/11/adjust-your-pi-70-adapter-modules-for-pi-71-in-15-minutes
but import com.sap.aii.mappingtool.tf7.rt.Container; shows error , do we need to inlcude any jar file for this :
i am using this module to rename file name (in case of pick and place scenario forwithot IR configuration)
getMessageProperty and setmessageProperty is getting deprecated.(striked off)
strFileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File","FileName");
Regards,
Srinivas> strFileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File","FileName");
in PI 7.1 you can use:
strFileName = msg.getMessageProperty(new MessagePropertyKey("FileName","http://sap.com/xi/XI/System/File"));
Note that property name and namspace come in different order. I almost got mad until I noticed
http://help.sap.com/javadocs/pi/SP3/xpi/index.html
Maybe you are looking for
-
No "Shared" Folder in iPhone 4 ; iPod. OS 4.3
No "Shared" Folder in iPhone 4 ; iPod. OS 4.3 Hi, For some reason I can't seem to get the "Shared" folder under "More" on the iPod app via iPhone 4. I'm trying to take advantage of the ability to use my iTunes library on my PC on my iPhone. I had fol
-
I have just recently restored my iMac and am having the same issue with sleeping as I did last christmas when I got it; It wont stay asleep! I called AppleCare last year and they had me delete some com.autowake. something something in the system fold
-
Creating interface objects in the IR
I want to create a scenario in which I send a file from a Legacy system to the XI, process the message using the BPM and send it to SAP R/3. In the integration repository I have 3 software components (one for each system: legacy, SAP APPL, SAP BASIS)
-
Little things that can make DIAdem more and more user friendly
Hello, Here are the product suggestions I have for DIAdem, after going through the pain of creating a single report page: 1. Option to set the background color of a header in a table (not the entire table) 2. Option to prevent the column lines fro
-
Flash 11 installed but not detected by IE
I'm not a Windows user, but trying to help my elderly parents figure out why they are no longer able to watch videos on their laptop. They have a Dell Studio XPS 1645 machine, Intel Core CPU Q720 @ 1.60 Ghz Installed memory 4GB, 64-bit OS Running Win