Want to create custom BOR object
I want to create a custom BOR object ZMSN in SWO1 so what value should I put in for these filed
1: super type
2:object name
3:name
4:program
5: application
If you are creating the Custom business object ZMSN then.......put the follwoing values in parameters
1: super type :--- Leave it blank ...it is used only when we are enhancing( create a deletgate BO)
standard business object
2:object name :-- Give any relevant name like ...ZMSN
3:name :-- Give any relevant name like ...ZMSN
4:program :-- Give any relevant name like ...ZMSN
5: application :-- Select the relevant functional area for which u r creating it....like 'F' --> finance
'H'> Human resource, 'R'-> if Function area is unknown
Similar Messages
-
Activate custom BOR object.
I have created one BOR object and currently it is showing status Generated/Saved/Modeled in SWO1.
Kindly advise how to activate it.
Cheers,
AshishTransaction: SWO1
Display the ZBUS2202
Select menu Goto -> Basic Data
You see Object Type status like this.
Obj.type status generated Saved released
What is the status ?
Regards,
Masa -
Want to create custom report under report field in OEM 11G
Dear all
I would like to create custom report on OEM 11G. I have query which is executed and verified from TOAD. But after placed report element it shows an error that table/view not exits. But it doesn't ask any database user name and password.So let me like to know how to do this. I want add more and more reports after the success of this.. Ho can it be done?Please advice.
Note:-
The data is getting from OEM repository i think so.. But i need a report which is get data from various apps and system tables. So how to display result from this table and shown to EBS reports.
Regards,
Gobinath.R
Associate consultant
Petrofac Information Services Private Limited
Chennai.
Edited by: Gopinath on May 18, 2012 4:23 AMReport should be based on tables in repository database. Mostly sysman tables we will be using for reporting. If you need other database tables then you need to create dblink to those targets in sysman schemas. To my knowledge that's the only way you can refer to other db tables in reports.
Regards,
Satheesh Shanmugam -
How to create custom BOL object for dynamic query in CRM 7.0
Hi,
Could anyone please explain me with steps that how to create the custom BOL object for dynamic query in CRM 7.0, I did it in previous version but its throwing exception when i try to create the object of my dynamic query class. I just defined the entry of my in crmv_obj_btil to create the dynamic query BOL object. do i need to do any other thing also to make it work?
Regards,
Kamesh Bathla
Edited by: Kamesh Bathla on Jul 6, 2009 5:12 PMHi Justin,
First of thanks for your reply, and coming to my requirement, I need to report the list of items which are there in the dynamic select statement what am getting from the DB. The select statement number of columns may vary in my example for different countries the select item columns count is different. For US its '15', for UK it may be 10 ...like so, and some of the column value might be a combination or calculation part of other table columns (The select query contains more than one table in the from clause).
In order to execute the dynamic select statement and return the result i choose to write a function which will parse the cursor for dynamic query and then iterate the values and construct a Type Object and append it to the pipe row.
Am relatively very new for these sort of things, welcome in case of any suggestions to make it simple (Instead of the function what i thought to work with) also a sample narrating the new procedure will be appreciated.
Thanks in Advance,
mallikj2. -
HELP IN Creating customized Oracle Object from Java
How can I create a customized oracle object that has these 3 fields with data persistance:
NAME : VARCHAR2
INSER_DATE : DATE
OBJ:user-defined collection(oracle.sql.array)
using JAVA. Later, that oracle object is enqueue in Oracle avanced Queue.
I've been looking in this site for the answer but had no luck.
I am using Java 1.2 and Oracle 8.1.6.
Any help will be appreciated as I needed so badly. Thanks.
Robby
[email protected]Hi
I assume your attempting to generate a Java class with the approriate getters and setters. If so the JPulisher utility is what your after. You can access it from either JDeveloper or the command line... Its documented in the Oracle Java manuals (jdbc etc.)...
A piece of advice... especially if you using AQ and ADT's or oracle's jms implementation against AQ, make sure you use the Oracle 8.1.7 jdbc drivers, even if your accessing an 8.1.6 DBMS. The performance difference is significant
Dom -
Creating custom javacript object
Hi
I was using Extendcript tool and i tried to declare a custom object to instanciate it like:
function MyObj()
this.name = "my name";
var myVar = new MyObj();
$.write(myVar.name);
I was expecting "my name" in the javascript console, but when i run the script in Extendscript tool the debug always halts saying "MyObj does not have a constructor".
Well, i'm pretty sure it does have a constructor, because when i try do get it from MyObj.prototype.constructor or when i test this code on a browser, it works fine.
I tried to set explicitly a constructor to it, but no luck.
Do someone have an explanation on why it does not recognize the constructor when instanciating a custom object?
or
Do someone have a better way to create custom objects in a way that i can use it to check "instanceof"?
Thanks
GriebelMMmmmmm MY BAD!!!
in fact.... i was not using the word "MyObj".... i was using the word "Custom"... as "function Custom(){}"
soooo, i guess "Custom" is a reserved word for Extendscript.
Now testing my own example, it works fine! hahaha
any ideia on what "Custom" might be?
Thank you. -
Creating custom BOL object model for adding Search Parameter
Hi friends
Can any one guide me the steps through which i can add the new field in the search criteria by using the creation of custom BOL object model in Interaction Center Web Client.
That will be a grate help for me.
Regards
Pulkit
Message was edited by:
Pulkit AgrawalHi!
For maintaining CRMC_OBJECTS table you should use view CRMV_OBJECTS. (in transaction SM30).
Regards,
Alejandro. -
How to create custom attributes & object classes through ldif files in OID
Hi,
I have to create 4 attributes and one object class(custom) in OID. I want to creae these attributes and object class through LDIF file.
I tried creating an attribute through this command
ldapadd -p 389 -h localhost -D cn=orcladmin -w password -f D:/newattr.ldif
this ldif file contains inf. for creating a new attributes:
dn: cn=subschemasubentry
changetype: add
add: attributetypes
attributetypes: ( 1.2.3.4.5.6.10 NAME "xsUserType_new" DESC "User Type Definition" EQUALITY caseIgnoreMatch
SYNTAX "1.3.6.1.4.1.1466.115.121.1.15" )
I am getting error: Object class violation
Failed to find add in mandatory or optional attribute list.
Please help to find where I am going wrong...
Thanks.Hi Ajay,
Thank you for the help. Now i am able to create both attributes and object classes in OID through Ldif files.
I was getting constraint violation error because (I think) I was not giving proper naming convection for attributes and object classes. For OID, there are certain Ldap naming conventions. They are as follows:
# X below is the enterprise number assigned by IANA
1.3.6.1.4.1.X.1 - assign to SNMP objects
1.3.6.1.4.1.X.2 - assign to LDAP objects
1.3.6.1.4.1.X.2.1 - assign to LDAP syntaxes
1.3.6.1.4.1.X.2.2 - assign to LDAP matchingrules
1.3.6.1.4.1.X.2.3 - assign to LDAP attributes
1.3.6.1.4.1.X.2.4 - assign to LDAP objectclasses
1.3.6.1.4.1.X.2.5 - assign to LDAP supported features
1.3.6.1.4.1.X.2.9 - assign to LDAP protocol mechanisms
1.3.6.1.4.1.X.2.10 - assign to LDAP controls
1.3.6.1.4.1.X.2.11 - assign to LDAP extended operations
By using these conventions for attributes and object class, I did got any error and they were created in OID.
Thanks a zillion.
Kalpana. -
Want to creat customer and vendor as per Co. Branch (Profit Center) wise.
Hello friends,
I am in a critical case, my client want the customer and vendor as per company branch wise (i.e. Profit Center wise) not by account Group wise but as per my knowledge we can create the customer and the vendor as per account group..
Kindly let me know if there is any procedure or configuration/ Customization to create the Customer and Vendor as per u201CCompany branchu201D wise. Please let me know the detail steps for itu2026
Have a very Nice Dayu2026
With regards
Amresh..Dear Amresh,
Customer and vendor master are maintained in company code level.
this cannot be maintained profit center level.
What actually does your client wants.
To get report receivable and payable profit center wise you can use S_AC0_52000887 and S_AC0_52000888.
Please be more specific to solve the issue faster. -
Create custom data object in BAM for a BPM project
I'm working with 11g (11.1.1.3)
I have created (via JDEV) a simple BPM process and I have inserted 3 business measurement
I have set ( as indicated in oracle documentation and in "Getting started") in BPM project :
project preference --> data target :
- enable BAM cheked
- BAM adapter JNDI name : eis/bam/soap
- in BATCH no cheked
- data object path : /Samples/Monitor Express
I have defined new data object in BAM --> Architect
I have renamed the default data object template in BI_DEFAULT_MyProject_MyProcess (is BI_DEFAULT_businessIndicator_businessIndicator)
I have added in layout my measurement; I have inserted in the bottom METRIC_myBI1, METRIC_myBI2, METRIC_myBI3 ( are METRIC_Segnalazione METRIC_nSegnalazioni METRIC_misura) of the same type indicated in BPM process
I have create few istance of the process, but :
- in the BI_DEFAULT_MyProject_MyProcess content there isn't anything
- in the default data objects ( COUNTER, INTERVAL, COMPONENT) I find the data of my process
please help me!!
I do not know what else to do
ElenaCLIENT
GUID
PARTNER
SALES_ORG
CHANNEL
DIVISION
POSTING_DATE
QUESTION
ANSWER
ANSWER_ID
SURVEY_ID
Rating
CREATED_AT
CREATED_BY CHANGED_AT
CHANGED_BY
Complete data source name as above. -
Creating Custom Environment Objects/Libraries
The more I learn about the environment and its objects the more I've come to appreciate it. I can program in some of the more popular object oriented languages: including Objective-C. A fun project might be creating some brand new environment objects.
Do any of you know where to get started. Is there an example somewhere?
Message was edited by: Francisco BidoBee Jay is right.
However, there are many amazing free environments available for download which combine existing environment objects to create interesting results:
I've created a parameter randomizer you can download it from here:
http://tnttutorials.macprovideo.com/fileexchange/overview
There are some other good ones available above and here:
http://www.logicprohelp.com/viewforum.php?f=9&sid=05a42bd27cc1fc0191255803bf53e5 7a
btw, you need to register to download environments from both these forums.
Cheers
Rounik -
Create new event for BOR object for vendor creation
Hello,
I AM working on workflow.. Requrement is that , when a vendor is created I wanted the workflow to be triggered..
But I dont find any bussiness object for this...
Then I have created customized BOR object super type as LFA1. And created new event. Now I need to assign functionlity to this event, that is As soon as the vendor is created this event should be triggered so that I can use this as the start event for the workflow..
Plz guide me ...
Regards and Thanks,
Poornima...Hi Poornima,
Create a subtype and add the event in the BOR.
Now call the FM Userexit / BADI.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
OBJECT_TYPE = 'ZKNA1'
OBJECT_KEY = OBJECT_KEY
EVENT = 'ONSAVE'
* COMMIT_WORK = 'X'
* EVENT_LANGUAGE = SY-LANGU
* LANGUAGE = SY-LANGU
* USER = SY-UNAME
* IFS_XML_CONTAINER =
* IMPORTING
* RETURN_CODE =
* EVENT_ID =
TABLES
INPUT_CONTAINER = IT_CONTAINER
* MESSAGE_LINES =
* MESSAGE_STRUCT =
IF SY-SUBRC <> 0.
ENDIF.
&******************Reward Point if helpful*************************& -
Hi Experts,
I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
1) Is it possible to create custom object web service and used in external system ?
2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
3) Sample Scenario :
My Custom Business Object
businessobject Custom_Integration {
element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
I have created the Web Service using this custom business object.
3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
Many Thanks
MithunHello Mithun,
Does this section in the documentation help you:
SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
HTH,
Horst -
Hi Experts,
We are implementing the Leave Request WF using WS12300111. The user raises a leave request from the portal.
As per the functional point of contact, they have said that this WF can be set up in the configuration in SPRO to be triggered when a leave request is raised.
When we saw the standard SAP provided WF, the steps in it are based on ABAP class. I just want to know if the approach has to be only using ABAP classes or can BOR objects be used.
We require some customizations in the sense, we need to add some custom logic to retrieve some data from some custom tables and also display the same.
Kindly let me know if we need to use ABAP classes or we can use a BOR Object.
Cheers,
Belinda ClarkeHi Karri,
Thanks a lot for your response.
I was actually evaluating the possibilities of the same as our WF consultant is currently on leave. I was just seeing a scenario where they have used BOR Object for Travel and Expenses module. When i saw the standard WF for Leave Request WS12300111, I was seeing mainly ABAP Objects and there was no BOR objects used.
I just wanted to confirm whether we could create a BOR Object or go on with the ABAP Classes. Does the ABAP Classes involve a lot of effort? We need to actually send email notifications and add some new steps etc...so was just thinking as to which would involve more effort.
We need to actually retrieve data from table PTREQ_ATTABS and send the email notification to the concerned user whenever the leave request is approved/rejected/cancelled as shown below :
Your leave request has been approved/rejected
Name : abcde
Emp No : 123456
Type of Leave : Annual Leave
Date : 7th July to 11th July
No. of Days : 3 days
So do u imply that all of this can be done with an ABAP Class
Could you kindly guide us. -
How to attach event to custome workflow object ?
Hi Guys,
Could someone help me on how to raise event while creating custom workflow object.We can attach event to object in transaction swe2 . I would like to know how to create that event. Could some send sample custom workflow object with events.
Many thanks in advance.
Cheers,
Garrick.Here's an example using Business object BUS2080 Service notification
I delegated ZBUS2080 to BUS2080 (service notification). Added 2 Events REASSIGNED and MODIFIED.
Use transaction SWO1 for manipulating business objects.
The User performs an action on a service notification (IW52) say PUT IN SERVICE AGAIN.
When the user puts the service notification in service again the event triggered will start a (user defined) workflow which makes a call to a method in the business object ZBUS2080 which launches a batch job.
This batch job creates our user event REASSIGNED which in turn calls a new workflow to be executed.
This workflow performs the action I want -- in this case to re-assign the service notification to a new person, send an email and escalate the deadlines
Code samples are shown below.
So here's how it works.
First you need to set up some entries with table SWE2. I've assumed you've already defined the events to the Business object(s) you want to use.
In SWE2 define entries for BUS2080 (or ZBUS2080) For Events INPROCESSAGAIN and (our event) REASSIGNED.
IN SWE2 define the receiver call as a FUNCTION MODULE
For the receiver function modules for the SAP event (INPROCESSAGAIN) define the receiver module as SWW_WI_CREATE_VIA_EVENT
For the event REASSIGNED define the receiver module as SWW_WI_CREATE_VIA_EVENT_IBF.
I have no idea whatwhat the difference is between the two but the process works when it's done like this.
Ensure the linkage Activated box is clicked in both cases.
Put your workflow numbers in the RECEIVER TYPE in SWE2 table.
In the first workflow when the user puts the service notification in service ensure your workflow starts a batch job which raises another event
Note : You need to instantiate the object (I.e supply the key) to trigger the event correctly. The key is obtained from the WF and will be in the container anyway.
You can do this by adding this type of function module into the method of the business object you want to execute during the first workflow. The code here creates a batch job which submits the EVENT creating program.
function z_create_event_for_cs.
""Local interface:
*" IMPORTING
*" REFERENCE(OBJECT_KEY) LIKE SWOTOBJID-OBJKEY
*" REFERENCE(W_REASON) LIKE HRPXXXX-DUMMY
*" REFERENCE(W_ESCLEVEL) LIKE HRPXXXX-DUMMY
Create Batch job to run ZZREASSIGNCS
which creates event REASSIGNED in Customer query workflow.
data: jobnr like tbtcjob-jobcount,
jobname like tbtcjob-jobname,
pgmname like sy-repid,
w_key like viqmel-qmnum,
w_code type c,
w_num type c.
w_num = w_esclevel.
jobname = 'CREATEEVENT'.
pgmname = 'ZZREASSIGNCS'.
call function 'JOB_OPEN'
exporting
jobname = jobname
importing
jobcount = jobnr
CHANGING
RET =
exceptions
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
others = 4
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 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = object_key
importing
output = w_key.
w_code = w_reason.
if w_code = ' '.
w_code = 'Z'.
endif.
submit zzreassigncs
with p_key = w_key
with p_escl = w_code
with p_escnum = w_num
via job jobname number jobnr
and return.
call function 'JOB_CLOSE'
exporting
jobcount = jobnr
jobname = jobname
strtimmed = 'X'
exceptions
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
others = 9
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endfunction.
For the actual program which creates the event use something like this
program zzreassigncs.
This program creates an event REASSIGN
This triggers a "clone" of the initial customer query workflow
which is now marked as completed.
The deadline and escalation level from the original workflow
should be passed to the new workflow via the event container
Program is submitted from the original workflow
Ensure transaction SWE2 has the event REASSIGN for bus object BUS2080
defined or the WF won't start even if the event is raised correctly
As this program is run as a background / batch task
you need to obtain the relevant notification number and pass it
as a parameter.
When run from the WF the you can get the notification number obtained
from the workflow / task container.
include <cntn01>. "For WF macros.
parameters: p_key like swotobjid-objkey, "Service notification number
p_escl type c,
p_escnum type c.
constants: c_event like swetypecou-event value 'REASSIGNED',
c_attrib like swotra-attribute value 'USRSTATUS',
c_object like swetypecou-objtype value 'BUS2080'.
data: w_object like swotobjid,
w_stat like tj30t-txt04.
data: rc like sy-subrc.
data: begin of event_cont occurs 0.
include structure swr_cont.
data: end of event_cont.
data: begin of return.
include structure swotreturn.
data end of return.
if running from WF rather than a batch job
swc_container container.
swc_get_element container 'Znumber' p_key.
w_object-objkey = p_key.
w_object-objtype = 'BUS2080'.
call function 'SWO_PROPERTY_GET'
exporting
object = w_object
attribute = c_attrib
changing
value = return.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
w_stat = return(4).
event_cont-element = 'Status'.
event_cont-value = w_stat.
append event_cont.
event_cont-element = 'Escalated'.
event_cont-value = p_escl.
append event_cont.
event_cont-element = 'Escalation'.
event_cont-value = p_escnum.
append event_cont.
Note WAPI calls only valid from rel 6.1 using Webflow engine
(part of standard WF since rel 6.1)
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
OBJECT_TYPE = w_object-objtype
OBJECT_KEY = w_object-objkey
EVENT = 'REASSIGNED'
IMPORTING
RETURN_CODE = rc
EVENT_ID =
TABLES
INPUT_CONTAINER = event_cont.
if rc <> 0. "Houston ---We have a problem !! '
write: text-002 color col_negative.
exit.
endif.
even though no database / table is updated here by the event
we still need the commit work to initiate the event correctly
commit work.
You CAN use Objects (OO ABAP) but if you are fairly new to this sort of stuff just stick with standard BOR (Business objects) to parctice on until you've got the hang of the process.
It's actually a lot simpler than most people realize --which is why WF consultants get paid decently !!!!.
Cheers
Jimbo
Maybe you are looking for
-
Cannot run application HRSystem due to error deploying to DefaultServer.
I am new to java and jdeveloper. I am tring my hands on the tutorial on HRSystem. Below is the error message recieved while deploying the application. Dont know what to do please help. The plaform is linux. Thanks DefaultServer startup time: 12661 ms
-
How is it possible, that a pdf file turns into a psd file while sending with mail
I have send a pdf file as attachment with mail. the file shows correctly as pdf file. but when the file arrived at the addressed location it turned into a psd file. in addition it seems there is a problem sending png and ai files. once those files ha
-
Saving a tone from text message
I got a ringtone from a friend he sent to me via text and email. How do i get the ringtone from my message to under the ringtone section??!?!?!?
-
Is there anyone to help me in creating the BAPI. Please send me the step by step procedure of creating the BAPI. Thanks in Advance, MLN
-
im trying to get the list of books on one dialog box. but all it shows is the message and no book title. Im trying to get the user to choose a book from the list. by entering 1-4. but so far what i really need first is how to get the titles all in on