How to export user defined properties in seperate file
Hello,
i want to export user definied properties in a seperate file using OMB+ commands. The documentation of this topic doesn't work.
The OMB Code I use is the following:
OMBEXPORT TO MDL_FILE '${Pfad}/006_${Project}.mdl' \
FROM PROJECT '${Project}' \
ALL_CLASS_DEFINITONS \
CONTROL_FILE '$SANDBOX_HOME/Project.ctl' \
INCLUDE_USER_DEFINITIONS \
OUTPUT LOG TO '${Pfad}/006_${Project}_exp.log'
The control file defines the path and filename for the the definitons in this way:
DEFINITIONFILE=C:\Arbeitsverzeichnis\udp.mdd
But the file will not be created and i get no error message.
When using this command the udp' definitons will be exported, but in the general project export file. Which is the correct way to export the definition in a seperate file?
- Create a user-defined OTD with one String field.
- Create an XSD-based OTD with repeating name and value fields of type String
- Create a "New Web Service" Java Collaboration whose input will be the first OTD, whose output will be the second OTD and whose operation will be named getProeprties, or some such
- Implement, in Java, the code necessary to read your properties, given the properties file name or path (given in the input OTD) and populate the name/valur pairs on the output OTD
- drag the operation of the collaboration onto the Business Process Editor canvas as an Activity
- Configure a Busienss Rule to set the input of the getProperties activity to the name/path of the properties file
- Configure a Business Rule(s) to use the name/value pairs returned from the ivocation of teh getProperties service
If you wish to take this one step further you could consider writing the java collaboration
a) generically so it can be reused from different business processes
b) to cache the properties on first read so each invocation after the first one simply returns the in-memory values instead of re-reading the proerties from disk
c) generically so it can read, cache and return different property sets depending on the properties file/path provided as input.
Bear in mind that IO from a java collaboration by means other than an eWay violates the EJB spec.. It works all the same.
Message was edited by:
mczapski
Similar Messages
-
How toAccess User Defined Properties in NWDS
Hi to Experts,
i hope some one might faced this same problem, i want access user defined properties from KM to NWDS. For that Iu2019m using
EP 7.0 and NWDS Version: 7.0.11.
i have one Req.. to send value as a text or String to Km Property for store or display Km Folder. Like as we have name, date, created by, Description, Extra..... at the same place i want create my own Properties(using with Property metadata @ Global Service) and what ever Properties i created those ones i want use and store or send date to that particular property to display to end-user.
For above process am using WDJ
hope i can get this And thanQ in Advance.
vita- Create a user-defined OTD with one String field.
- Create an XSD-based OTD with repeating name and value fields of type String
- Create a "New Web Service" Java Collaboration whose input will be the first OTD, whose output will be the second OTD and whose operation will be named getProeprties, or some such
- Implement, in Java, the code necessary to read your properties, given the properties file name or path (given in the input OTD) and populate the name/valur pairs on the output OTD
- drag the operation of the collaboration onto the Business Process Editor canvas as an Activity
- Configure a Busienss Rule to set the input of the getProperties activity to the name/path of the properties file
- Configure a Business Rule(s) to use the name/value pairs returned from the ivocation of teh getProperties service
If you wish to take this one step further you could consider writing the java collaboration
a) generically so it can be reused from different business processes
b) to cache the properties on first read so each invocation after the first one simply returns the in-memory values instead of re-reading the proerties from disk
c) generically so it can read, cache and return different property sets depending on the properties file/path provided as input.
Bear in mind that IO from a java collaboration by means other than an eWay violates the EJB spec.. It works all the same.
Message was edited by:
mczapski -
How to create user defined button in alv report
how to create user defined button in alv report
thnks in advance.Hi,
U can define it the the PF-STATUS ( Menu for ALV ).
For that u have to define it in the EVENTCAT.
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
And in the DISPLAY
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
endform. " Z_EVENTCAT
Now double click on ALV MENU nad u can create a button in the application bar.
Regards,
Pritha. -
User defined properties not showing up in design center
Hello,
I did a search on User Defined Properties in this forum but couldn't find my answer.
We are using OWB 10gR2.
I already added a user defined property called UD_ALTERNATE_SCHEMA to the TABLE class definition.
I signed on as repository owner, I switched to single user mode, used OMBREDEFINE on class definition "TABLE", I commited my changes switched back to multi-user mode and signed off.
Here's the proof (it's in bold):
OMB+> OMBDESCRIBE CLASS_DEFINITION 'TABLE' GET PROPERTY_DEFINITIONS
BUFFER_POOL BUSINESS_NAME CACHE_MODE CONSTRAINTS DATA_SEGMENT_COMPRESSION DEPLOYABLE DESCRIPTION FREELISTGROUPS FREELISTS GENERATION_COMMENTS INDEXES INITIAL INITRANS LOGGING_MODE MAXEXTENTS MAXTRANS MINEXTENTS MONITORING_MODE NEXT OVERFLOW PARALLEL_ACCESS_MODE PARALLEL_DEGREE PARTITIONS PARTITION_TABLESPACE_LIST PCTFREE PCTINCREASE PCTUSED ROWDEPENDENCIES_MODE ROW_MOVEMENT SHADOW_TABLESPACE SHADOW_TABLE_NAME TABLESPACE UD_ALTERNATE_SCHEMA UOID
OMB+>
Here is how I defined this new property for the TABLE class.
OMB+> OMBDESCRIBE CLASS_DEFINITION 'TABLE' PROPERTY_DEFINITION 'UD_ALTERNATE_SCHEMA' GET PROPERTIES (TYPE,DEFAULT_VALUE)
STRING NO
My question is this.
Shouldn't this new property be available for edit when I right-click on a table object in the GUI interface and then choose "Properties" and then choose "User Defined" tab? Unfortunately it is not showing up on any of my tables in any of my projects.
Did I miss a step here? Or did I completely misundestand the concept of "User Defined Properties"?
ThanksAs so often happens, I found the answer almost immediately after posting this message.
In the user defined tab, I hadn't clicked/selected a table. Once I clicked on a table object, my brand new user defined property appeared.
Sorry to have waisted your time. I was really tired yesterday afternoon when trying all this.
Thanks -
How to Developed user defined functions to call function modules in SAP R/3
how to Develope user defined functions to call function modules in SAP R/3 system
Hello Raja,
Go through this V.imp Link...
http://download.oracle.com/docs/cd/B10464_05/integrate.904/b10408/rfc.htm
Steps to crate FM..
Follow these steps..
Go to the T: code SE37
First You Create Function Group
On That u specify
Function Group Name..............
Short Text..............................
save...
Go to SE 37
Specify the Function Module Name: Eg: Z_Bapi_Materialmaster
Short Text.......
Save...
Next Go to Attributes..
Select Radio button : Remote enabled model
Go to Parameters..
Click Import...
Give Parameter Type Associate type S.t
next Click Export...
Give Parameter Type Associate type S.t
Next Click Tables Button..
Specify tables..
Next click source code button..
Write Source code here..
Eg : Select statements Etc..
Finally we should be select the Radio button Enable remorely
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=39728
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/bapi%2bstep%2bby%2bstep
Re: User Defined Functions Tutorials
Hope this information is useful to you..
Thanks ,
Satya Kumar.. -
How to use user-defined packages in JAX-RPC web service
I am trying to use Object of my class located in my package in jax-rpc webservice,the code is
package supercomputer;
import Hello.*;
public class SuperImpl implements SuperIF
public String sendParam(String data)
Temp ob=new Temp();
int i=ob.get1(10000);
return data+"returned by supercomputer";
Temp is located in Hello package,I have jar the Hello package as Hello.jar and has set its classpath in targets.xml of Ant tool.
The code compiles well and service is deployed successfully,but when i try to call the service from the client its gives me following error.
[echo] Running the supercomputer.SuperClient program....
[java] java.rmi.ServerException: Missing port information
[java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:357)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
[java] at supercomputer.SuperIF_Stub.sendParam(SuperIF_Stub.java:60)
[java] at supercomputer.SuperClient.main(Unknown Source)
I dont know if it deploys why it gives error on client side.
Please tell how to use user-defined packages and class in jax-rpc service code ,i am not talking about passing user-defined parameters i am just talking about making objects of user defined classes in jax-rpc service.I think there is some problem in classpath.
Please guide me in doing that.
Thanks,
FarrukhFarrukh,
I don't know if your error is about a missing class from your custom package, ... what track did you followed to say that?
To use your package in the implementation of you web service, you should only follow the rules of making a web application: put your package jar in your \lib directory inside WEB-INF/ or your package classes unjared in classes (also in WEB-INF/).
As I already said, I have doubts that your error should be originated from a missing class from your package, but:
-try to see the logs (errors?) when you deploy your web service that could give a hint about the problem.
-try to see if you can access your endpoint through your browser to see if there is a online status
-display your config/WSDL file, and the steps you did to build your web service.
regards,
Pedro Salazar. -
How to import user defined class in UIX page?
Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
Thks & Rgds,
Bennywhat you are referring to is not javascript.
it is JSP scriptlets. These are very different.
In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
However, you can run java code from within a UIX event handler; see:
http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
event handler code is run before the page is rendered. -
How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
any idea?Hi,
From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
Here is sample code for getting user profile properties:
http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
Here is a blog below about accessing data from the provider-host apps:
http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to map user-defined fields in XML communication on SRM site
Hi All!
We use the External sourcing scenario and we transfer requirements from ERP in SRM through XI (PurchaseRequestERPSourcingRequest_In)
We should transfer the user-defined fields, but we can not map it in SRM site.
We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
I see the XML message with ours z-fields in tr. SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
Someone can tell how to map user-defined field for SC?
Thanks in advance
Evgeny IlchenkoHello, Julia
We have found solution our problem
We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
But In our new interfaces were different XML namespaces
When we have correct an error we could use the next BADI
on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
on SRM site: /SAPSRM/BD_SOA_MAPPING
BR,
Evgeny -
How to create User Defined Variables in Procurement Contract 12.1.3
Hi,
We are using Procurement Contract 12.1.3. As per our business requirement while creating contract template we need to use many variables which are not available in 'System Defined' variable list. Please guide us with some samples (step by step) how to create the 'User defined' variables.
Regards,
PrabhuHi Prabhu,
Did you get the setps how to create user defined variables in Procurement contracts? if so please share me the setp by step flow.
Prakash -
How to alter user defined objects in oracle
Hi all,
Can any one tell me how to alter user defined objects in oracle .
Thanks,
P Prakashprakash wrote:
Hi all,
Can any one tell me how to alter user defined objects in oracle .
DROP
then
CREATE
Handle: prakash
Email: [email protected]
Status Level: Newbie (80)
Registered: Feb 3, 2011
Total Posts: 185
Total Questions: 67 (65 unresolved)
so many questions & so few answers.
How SAD!
Edited by: sb92075 on Sep 22, 2011 9:22 AM -
How to remove User Defined field in programitically
Hi,
How to remove user defined field in programitically. send the code
Thanks,
P.Suresh KumarHi,
Please take a look at this thread:
Re: Can't remove a user defined field with DI API.
Kind Regards,
Owen -
How to create user defined transactioncode in bw
hi,
How to create user defined transactioncode in bw.My user want this
regards,
Abhishekhi
by using the t code SE93 u can create.
after that it will ask u for what ur going create
1.Program and screen
2.Program and selection screen
3.method of class
4.transaction with variant
5.transaction with parameter
here u have to select appropriate option based on ur requirement
and enter the options as per ur needs save and activate -
How to add user defined tab in the Header level of T-Code O4NM?
How to add user defined tab in the Header level of T-Code O4NM?
I tried with BADI but I cant able to find any BADI for it and also searched for screen exit too..Can you check the user exits,
OIJNOM_N and OIJTKT_N
Cheers,
Balaji -
How to create user defined functions in xi.
how to create user defined functions in xi.
can anyone give info with screen shots.Hi,
Please follow the steps mentioned in below link
http://help.sap.com/saphelp_nw04/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/frameset.htm
also refer below links to know more about UDF
udf
Thanks
Swarup
Edited by: Swarup Sawant on Mar 3, 2008 3:59 PM
Maybe you are looking for
-
Some problem with Music and Picture application
Guys please let me know if u had the same problem and how to fix it: after installing the IOS 4.1 everything actually works fine until serveral months i notice something was missing and i notice that in the past when we listen to music try to rotate
-
Having looked at the forums and found Adobe support less than helpful I am hopping that the comunite will be able to help me out on these frustrating issues. We are having a number of issues while trying to print from InDesign CS6 to our OKI C830 pri
-
Struts - Data pass from Action class to JSP
hello , I am new to struts and have a strange question in my mind . How do we pass business logic data from action class to JSP.Do we use session object or any other best way to be used to pass data. Example scenario: Once the user logins into applic
-
Iweb 09 and posting to your own domain name -- how does it work?
Dear Apple geniuses, What I always hated about iWeb was the long web address -- I am thinking about buying 09 and a domain name so I can have a simple address. (I am on iLife 07 now) But I am not exactly sure how it works can you help me! Question 1.
-
Exporting drop menu dreamweaver
Hi I have forgot how I exported a previous drop down menu created in fireworks and used in dreamweaver. I have created some buttons, added the slices but when exported into my site in dreamweaver I place button in div tag but drop down does not work.