Data modeler - howto assign process/function to data model
Hello all
Problem path:
sd11 (data modeler)
i.e model: UNIMODELL (this is the model used as training in help.sap.com)
There is [functions/processes] button (F8)
When using UNIMODELL there is a process assigned to model and I can choose it (goes to Display Module: A.... screen)
But:
when I create my own data model -> when clicking [functions/processes] i get:
"No functions assigned" infrmation
Where can I add fun/proc to my data model?
Thx4anyHelp
Mateusz
What method did you use?
If FK is created and not removed then no scope clause is added - no need for that.
It works for me:
CREATE TABLE TABLE_2
Column_2 REF StructuredType_1 ,
Column_3 REF StructuredType_1
ALTER TABLE TABLE_2
ADD ( SCOPE FOR ( Column_2 ) IS TABLE_1 )
ALTER TABLE TABLE_2
ADD ( SCOPE FOR ( Column_3 ) IS TABLE_3 )
table_1 and table_3 are of StructuredType_1
Philip
Similar Messages
-
Hi
I'm seeing this critical error on my primary.
SMS_DISCOVERY_DATA_MANAGER Message ID 2636 and 620.
Discovery data manager failed to process the discovery data record (DDR)"D:\Prog.....\inboxes\auth\ddm.box\userddrsonly\adu650dh.DDR", because it cannot update the data source.
Where these ddr's are actually under ddm.box\userddrsonly\BAD_DDRS folder
I see a ton of DDR files in that folder. Not sure if I can delete them, so I moved them to a temp folder. AD User discovery keeps generating them.
Any help ?
Thanks
UK
Check the ddm.log file for more information.
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Rule Modeler - Automatic assignment Partner Function based on PC of IBASE
Hi Experts,
I have the following requirement. The IC Agent when receiving a call has to create a Service Ticket (Service Order). By creating the Service Ticket the responsible Service Partner has to be assigned to solve the service incident based on the Postal code of the IBase (Installed Base).
The following steps I have done:
1. I have created the Service-ID Z_RE_RULE_EXEC (Rule Invocation) with the following properties:
CONTEXT Context
DEF_ROUTING Default Routing
LOG_LEVEL Logging Level
POLICY Root Policy
2. Under Repository I have defined a new context: Z_TICKET_ASSIGMT with the following properties:
Context Properties: No Customizing
Authorization Groups: No Customizing
Attributes:
Name: ZPOST_CODE1_IB
Show Attribute: Flag marked
X Path Expression: /parts/currentIbase/ComponentAddress/POST_CODE1/text()
Fact Gathering Service: FG_IC_REF_OBJ
Attrib. Ext. Class: CL_CRM_ERMS_ATXT_TEXT_NCAT
Actions:
Action-ID: Z_PARTNER_ID
Show Action: Flag marked
Action Service ID: DD_AH_PARTNER_ID
Action Parameters:
Parameter-ID: PARTNER_ID
Display Mode: O
Inp Spt Class: CL_CRM_DD_F4_BP
Afterwards I created the Rule Policy: Z_PRUEBA2 with the condition that if the Postal Code of the IBase is 08030 or 08035
the Partner Function ID 56 has to be assigned to the Service Ticket. I have released the Rule Policy afterwards.
Into the standard Service Manager Profile SAP_ORDERROUTING I have added the created
Service-ID Z_RE_RULE_EXEC with the following properties:
CONTEXT: Z_TICKET_ASSIGMT
LOG_LEVEL: 0
POLICY: Z_PRUEBAS2
Now I want to test the rule policy by entering with the ROle SAP_CRM_UIU_IC_MANAGER (IC Manager) but I can not see any possibility to do that. So my questions is how I can test the rule policy Z_PRUEBAS2? Do I have to assign the Service Manager Profile to the IC Center Agent Role?
Best Regards
OliverSolution: Problem solved. Error was the name of the attribute. It has to be POST_CODE1_IB
and not ZPOST_CODE1_IB. -
Data packet not yet processing in ODS load??
Hi all,
I got an error when I loaded data from IS to the ODS. Can someone let me know why and how to resolve it. Thank you in advance.
Here is the error message in the monitor:
<b>Warning: data packet 1 & 2 arrived BW; processing: data packet not yet processing.
(No data packet numbers could be determined for request REQU_77H7ERP54VXW5PZZP5J6DYKP7)</b>
<b>Processing end:
transfer rules (0 record): missing message
Update PSA (0 record): messing messages
Update rules (0 record): messging messages</b>John,
I dont think its space problem.In st22 go with detail note.
What happend, how to correct it.Will help you to solve the problem.
Check this note <b>613440</b> also.
<b>Note : 647125</b>
Symptom
A DYNPRO_FIELD_CONVERSION dump occurs on screen 450 of the RSM1 function group (saplrsm1).
Other terms
DYNPRO_FIELD_CONVERSION, 450, SAPLRSM1
Reason and Prerequisites
This is caused by a program error.
The screen contains unused, hidden fields/screen elements that are too small for the screen check that was intensified with the current Basis patch (kernel patch 880). These fields originate in the 4.0B period of BW 1.0 and are never used.
Solution
Depending on your BW system release, you must solve the problem as follows:
BW 3.0B
ImportSupport Package 14 for 3.0B (BW 3.0B Patch 14 or SAPKW30B14) into your BW system. This Support Package will be available when note 571695 with the short text,"SAPBWNews BW 3.0B Support Package 14", which describes this Support Package in more detail, is released for customers.
BW 3.1 Content
ImportSupport Package 8 for 3.1 Content (BW 3.10 Patch 08 or SAPKW31008) into your BW system.This Support Package will be availablewhen note 571743 with the short text, "SAPBWNews BW 3.1 Content Support Package 08", is released for customers.
The dump occurs with the invisible G_NEW_DATUM date field on the bottom right of the screen, which is only 1 byte long and can be deleted.
You can delete the following unused fields/screen elements:
%A_G_NEW_NOW Selectionfield group
G_NEW_ZEIT Input/output field
G_NEW_UNAME Input/output field
G_NEW_DATUM Input/output field
%#AUTOTEXT021 Text field
G_NEW_NOW Selection button
G_NEW_BATCH Selection button
You can delete these fields/screen elements because they are not used anywhere.
This deletion does not cause any problems.
After you delete the fields/screen elements, you must also delete the following rows in the flow logic in screen 450:
FIELD G_NEW_DATUM MODULE DOKU_NEW_DATUM.
FIELD G_NEW_ZEIT MODULE DOKU_NEW_ZEIT.
The function group is then syntactically correct.
Unfortunately, we cannot provide an advance correction.
The aforementioned notes may already be available to provide information in advance of the Support Package release.However, the short text will still contains the words "preliminary version" in this case.
For more information on BW Support Packages, see note 110934.
Thanks
Ram -
No messages by perfoming a Function After Data Change - Web Interface Build
Hey Xperts,
I have a problem to see messages, when I perform a Function via WEB - Function After Data Change.
You can select by costomizing a Subcomponent "Layout" that a Function can be performent by the feature "Function After Data Change".
But when I run the function there is no message in the message tray.
When I run the function via Button, there will come up a messages.
Is this a buk or a feature.
How can I see message by performing a Function After Data Change ?
Thanks for help.
ThomasHi Thomas,
the system works as designed. It would be a bit anoying if the success messages are always displayed. Therefore only errors are shown.
If you really need it, here's the modification:
Include LUPWB_COMPONENTD18
* PROCESS FUNCTION (after data set)
if m_state-request-function = cb_true.
l_function ?= if_upwb_c_layout2~get_function( ).
if l_function is not initial.
l_function->_execute(
* i_show_success_msg = cb_false ). "<<<DELETE
i_show_success_msg = cb_true ). "<<<INSERT
endif.
m_state-request-function = cb_false.
endif.
Regards
Marc
SAP NetWeaver RIG -
Best practice - creating functions in data model vs. rtf template
Just a general question. Is there a best practice of creating functions in the data model vs. creating the functions in the data template?
For example, is it more efficient to sum two fields in my SQL query or to create a function in the template that sums the two fields? Just curious if there is any performance benefit of one over the other.
Thanks!anything you push it to DB(SQL), will be the faster than processing outside.
-
Support of PL/SQL Functions in Data Modeler
Hello,
Sorry if this question has already been answered, I searched the forum but got 215 hits on data modeler + pl/sql functions.
So my question is:
Stored Procedures are already supported by the physical model (11g) of data modeler, but I could not find any method
to create pl/sql functions via data modeler - neither in the documentation nor on the user interface. Is this
currently not supported?Is this currently not supported?There will be support for functions and packages in next release.
Philip -
How to create Decision Node in Data Flow diagram under Process Model
Hi,
I am starting a new project and would like to use Oracle Data Modeler for my data flow diagrams and logical/relational diagrams. Could you please guide me how can I ask Decision question in data flow diagram. Ideallly i would like to create a Decision Node (diamond) in Data Flow diagram under Process Model with yes or no option.
Thanks in advance
JMHi JM,
may be you are looking for other notation. There is no dedicated decision node in data flow diagramming.
Philip -
URGENT : Error: Please create data processing function module
Hi
I am getting the folloiwng error
"Please create data processing function module" in table maintainence.
It is working fine in dev environment but not in QA and production.
Pleae help.
Regards
KalpeshHi Kalpesh,
I see it is something to do with the naming convention used in the quality and production system. These must have been setup differently compared to ur development system. So check with different naming conventions.
Reward points if helpful.
Cheers
Shafiq -
Process chains for loading data to target is not functioning
Hi SAPians,
Recently, we have upgraded the firmware on IBM P590 with the help of IBM on Saturday i.e. 06/12/2008 (The firmware of P5-590 was SF235_209. It was upgraded to SF240_XXX) and since then the process chains for loading data to targets are not functioning properly. We have stopped all the SAP services, database services & OS services from our end and services have been rebooted after firmware upgrade.
However, the problem with the process chains that load transaction data and hierarchies is solved but the chains that load master data are still not working as scheduled.
We tried to load the master data manually, by running DTP to load data to an object analysis code (attributes) the request remained YELLOW. After refreshing it several times, the request turned into RED. The error message was - PROCESSING TERMINATED (screenshot 1 attached).
To mitigate this we tried deleting the bad request and it prompted with the below message:
"Cannot lock request DTPR_4C37TCZGDUDX1PXL38LVD9CLJ of table ZANLYSIS for deletion (Message no. RSMPC178)" (screenshot 2 attached)
Please advise us how the bad request should be deleted?
Regards,
SoujanyaHi Sowjanya,
Follow the below procedure to make yellow request to RED:
Use SE37, to execute the function module RSBM_GUI_CHANGE_USTATE
From the next screen, for I_REQUID enter that request ID and execute.
From the next screen, select 'Status Erroneous' radiobutton and continue.
This Function Module, change the status of request from Green / Yellow to RED.
Once it is RED, you can manually delete that request...
Releasing LocK
Gott Transaction Code SM12 and release the lock.
Hope It helps you.
Regardss,
Nagaraju.V -
Error : J_2IRG1BAL, Create data processing Function module
Sap Experts,
when i go to se11 in which have given table name: J_2IRG1BAL, than i gone menu bar click on utilities select the table contents
click on create entries button.
1) Error Message : Create data processing function module
2) This table Relevant to RG1 Updation
3) Due to this error I am not able to upload the opening stock of finished material manuaaly
4) What are the actions need to be done to rectify the above error.
Regards,
PrabhakarHi
Ask your ABAPER to create the maintainence view of the table
regards
Sanil Bhandari -
Modify the Due Date in a GP Process
Hello everybody,
I need to modify the Due Date on a given Process. All I have is the Process ID, that i get from a Parameter in my function... I got some code form several pages in the SAP Library, but i get an error in the line:
IGPProcessInstance procesInst = rtm.getProcessInstance(proc, userContext);
In this line a GPEngineException is raised, Any help will be greatly appreciated!!!
This is the Code I have:
IUser user = null;
IGPStructure params = null;
// Get current user
try {
IWDClientUser wdUser = WDClientUser.getCurrentUser();
user = UMFactory.getUserFactory().getUserByLogonID(wdUser.getSAPUser().getName());
// obtain the Process template
IGPProcess process =
GPProcessFactory.getDesigntimeManager().getActiveTemplate(
// by specifying its ID
processId,
// and the user accessing it
user);
// obtain the Run Time Manager
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
// create a new, empty role assignment list
IGPProcessRoleInstanceList roles = rtm.createProcesRoleInstanceList();
// get the number of roles required
int rolenum = process.getRoleInfoCount();
// iterate over the required roles
for (int i = 0; i < rolenum; i++) {
// add a new role assignment to the list
roles.createProcessRoleInstance(
// by specifying the role's unique name
process.getRoleInfo(i).getRoleName()).addUser(
// add the current user to every process role
user);
// Here you see how to populate parameters with data.
// This example only works, if you initiate the "Time-Off process"
// that is delivered per default with the GP Framework.
// You find it in the gallery below "Examples".
// Otherwise no parameters are initialized.
String proc = processId; // Got it as a Parameter
IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(user);
/* En Exception is Raised in this line: */
IGPProcessInstance procesInst = rtm.getProcessInstance(proc, userContext);
Iterator notifs = (Iterator) procesInst.getNotificationInstanceEnumeration();
IGPNotificationManager notifManager = GPProcessFactory.getNotificationManager();
while(notifs.hasNext())
IGPNotificationInstance notif = (IGPNotificationInstance)notifs.next();
if(notif.isDueDateNotification())
IGPDeadline deadline = GPNotificationFactory.createDeadline(
IGPDeadline.DEADLINE_ABSOLUTE_POINT,
null,
0,
(java.sql.Date.valueOf("2008-02-29")).getTime());
notifManager.updateNotification(
proc,
notif.getActivityInstanceID(),
notif.getNotificationID(),
deadline);
params = GPStructureFactory.getStructure(process.getInputParameters());
if (process.getTitle().equals("Time-Off Process")){
IGPStructure struc = params.addStructure("Time_off_data.1");
struc.setAttributeValue("AbsenceTypeText", "Vacation");
struc.setAttributeValue("SimulationCode", 0);
struc.setAttributeValue("CompletionCode", 0);
struc.setAttributeValue("PaidFlag", true);
params.setAttributeValue("data", java.sql.Date.valueOf("2008-02-28"));
// initiate the process template by passing the Process template
rtm.startProcess(process,
// a name,
"Process started by API ",
// a description,
"This process has been started by an API",
// the initiating user
user,
// the role assignment,
roles,
// the initial parameters
params,
// and the user actually executing this action
user);
} catch (WDUMException ex) {
logger.traceThrowableT(Severity.ERROR,
"Current user could not be resolved: ", ex);
} catch (GPInvocationException ex) {
logger.traceThrowableT(Severity.ERROR,
"Exception raised when trying to start process: ", ex);
} catch (GPEngineException ex) {
logger.traceThrowableT(Severity.ERROR, "Exception raised when trying to start process: ", ex);
catch (UMException ex) {
logger.traceThrowableT(Severity.ERROR,
"Exception raised when trying to start process: ", ex);
Edited by: Francisco Perez on Mar 10, 2008 3:41 PMHello All,
You can change the deadline of a Due date notification of an process as given below:
IGPRuntimeManager rtManager = GPProcessFactory.getRuntimeManager();
String process = executionContext.getProcessId();
IUser admin = UMFactory.getUserFactory().getUserByUniqueName("administrator");
IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(admin);
IGPProcessInstance procesInst = rtManager.getProcessInstance(process,userContext);
Iterator notifs = (Iterator) procesInst.getNotificationInstanceEnumeration();
while(notifs.hasNext())
IGPNotificationInstance notif = (IGPNotificationInstance)notifs.next();
if(notif.isDueDateNotification())
IGPDeadline deadline = GPNotificationFactory.createDeadline( IGPDeadline.DEADLINE_ABSOLUTE_POINT,null,0,(new Date(108,2,1)).getTime());
notifManager.updateNotification(process,notif.getActivityInstanceID(),notif.getNotificationID(),deadline); -
I'm using TestStand 4.0 and anytime I try to intialize my chasis this message shows up in my debugg viewer. I would appriciate any feedback. I have no idea what could be triggering this message or why it's worded the way it is.
[4712] WARNING!!! 'Huh, you set a test object to itself... whats up with dat?' Line 601 in function in file .\tstobj2\ObjArray.cppYou've hit what was intended to be an internal development warning, but apparently the warning macro used is not compiled out in the release.
This has likely been there since TestStand 1.0 and is nothing to worry about. In most cases it indicates you've called SetPropertyObject or SetPropertyObjectByOffset to set an object that was already set in the specified location. This is a harmless NOP and the warning only appears in attached debuggers, but it "might" be an indication that you have made a programming error.
I launched and exited the 4.0 sequence editor without seeing this warning, so I don't know if it is being triggered by your code module (or sequence, or custom step type, or custom UI, or custom process model, ...) or another part of TestStand that you are using. Chances are good that this warning does not indicate a functional problem. However, if you can reproduce it with a clean uncustomized TestStand install, I'd like to know how you did it.
I've entered a corrective action request to remove this warning.
Message Edited by James Grey on 09-13-2007 10:12 AM -
Hi
I am working in a sharepoint migration project. We have migrated one SharePoint project from moss2007 to sp2013. Issue is when we are clicking on Popularity trend > usage report, it is throwing an error.
Issue: The data was not being processed to EVENT STORE folder which was present under the
Analytics_GUID folder. Also data was not present in the Analytical Store database.
In log viewer I have found the bellow error.
HIGH -
SearchServiceApplicationProxy::GetAnalyticsEventTypeDefinitions--Error occured: System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly
secured fault was received from the other party.
UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
HIGH - Getting Error Message for Exception System.Web.HttpUnhandledException
(0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party.
CRITICAL - A failure was reported when trying to invoke a service application:
EndpointFailure Process Name: w3wp Process ID: 13960 AppDomain Name: /LM/W3SVC/767692721/ROOT-1-130480636828071139 AppDomain ID: 2 Service Application Uri: urn:schemas-microsoft-
UNEXPECTED - Could not retrieve analytics event definitions for
https://XXX System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
UNEXPECTED - System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail,
System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: We're sorry, we weren't able to complete the operation, please try again in a few minutes.
I have verified few things in server which are mentioned below
Two timer jobs (Microsoft SharePoint Foundation Usage Data Processing, Microsoft SharePoint Foundation Usage Data Import) are running fine.
APPFabric Caching service has been started.
Analytics_GUID folder has been
shared with
WSS_ADMIN_WPG and WSS_WPG and Read/Write access was granted
.usage files are getting created and also the temporary(.tmp) file has been created.
uasage logging database for uasage data being transported. The data is available.
Please provide pointers on what needs to be done.Hi Nabhendu,
According to your description, my understanding is that you could not use popularity trend after you migrated SharePoint 2007 to SharePoint 2013.
In SharePoint 2013, the analytics functionality is a part of the search component. There is an article for troubleshooting SharePoint 2013 Web Analytics, please take a look at:
Troubleshooting SharePoint 2013 Web Analytics
http://blog.fpweb.net/troubleshooting-sharepoint-2013-web-analytics/#.U8NyA_kabp4
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Parallel processing of mass data : sy-subrc value is not changed
Hi,
I have used the Parallel processing of mass data using the "Start New Task" . In my function module I am handling the exceptions and finally raise the application specific old exception to be handled in my main report program. Somehow the sy-subrc is not getting changed and always returns 0 even if the expection is raised.
Can anyone help me about the same.
Thanks & Regards,
NitinHi Silky,
I've build a block of code to explain this.
DATA: ls_edgar TYPE zedgar,
l_task(40).
DELETE FROM zedgar.
COMMIT WORK.
l_task = 'task1'.
ls_edgar-matnr = '123'.
ls_edgar-text = 'qwe'.
CALL FUNCTION 'Z_EDGAR_COMMIT_ROLLBACK' STARTING NEW TASK l_task PERFORMING f_go ON END OF TASK
EXPORTING
line = ls_edgar.
l_task = 'task2'.
ls_edgar-matnr = 'abc'.
ls_edgar-text = 'def'.
CALL FUNCTION 'Z_EDGAR_COMMIT_ROLLBACK' STARTING NEW TASK l_task PERFORMING f_go ON END OF TASK
EXPORTING
line = ls_edgar.
l_task = 'task3'.
ls_edgar-matnr = '456'.
ls_edgar-text = 'xyz'.
CALL FUNCTION 'Z_EDGAR_COMMIT_ROLLBACK' STARTING NEW TASK l_task PERFORMING f_go ON END OF TASK
EXPORTING
line = ls_edgar.
*& Form f_go
FORM f_go USING p_c TYPE ctype.
RECEIVE RESULTS FROM FUNCTION 'Z_EDGAR_COMMIT_ROLLBACK' EXCEPTIONS err = 2.
IF sy-subrc = 2.
*this won't affect the LUW of the received function
ROLLBACK WORK.
ELSE.
*this won't affect the LUW of the received function
COMMIT WORK.
ENDIF.
ENDFORM. "f_go
and the function is:
FUNCTION z_edgar_commit_rollback.
*"*"Interface local:
*" IMPORTING
*" VALUE(LINE) TYPE ZEDGAR
*" EXCEPTIONS
*" ERR
MODIFY zedgar FROM line.
IF line-matnr CP 'a*'.
*comment raise or rollback/commit to test
* RAISE err.
ROLLBACK WORK.
ELSE.
COMMIT WORK.
ENDIF.
ENDFUNCTION.
ok.
In your main program you have a Logical Unit of Work (LUW), witch consists of an application transaction and is associated with a database transaction. Once you start a new task, your creating an independent LUW, with it's own database transaction.
So if you do a commit or rollback in your function the effect is only on the records your processing in the function.
There is a way to capture the event when this LUW concludes in the main LUW. That is the PERFORMING whatever ON END OF TASK. In there you can get the result of the function but you cannot commit or rollback the LUW from the function since it already have implicitly happened at the conclusion of the funtion. You can test it by correctly comment the code I've supplied.
So, if you want to rollback the LUW of the function you better do it inside it.
I don't think it matches exactly your question, maybe it lead you on the right track. Give me more details if it doesn't.
Hope it helps,
Edgar
Maybe you are looking for
-
Export to PDF fails for some reports, but report viewer works
Hi all Our application produces several different reports. - Report A can successfully be viewed in the ASP.NET report viewer control and can be exported to PDF - Reports B and C can successfully be viewed in the ASP.NET report viewer (all pages), b
-
Multiple selction in the dropdownlistbox
Hi All Can any one help me out that I am implementing the Drobdownlist for box for the multiple selections and to save the selected items in a database table. I have written code for the oninputprocessing. But I am getting error. unable to proceed fu
-
Syncing my New iPod - Some files do not transfer
I just upgraded from 30GB to 80GB and when I went to sync my new iPod it left out like 5 (of 2550) songs and 40 videos (of 80+). I changed to Manually manage and was able to add the files, however, I wish to keep auto sync on and don't like the idea
-
Deactivating Faces in iPhoto 09
Is there a way to DEACTIVATE the Faces feature?. It drives me crazy. I have NOT SELECTED any face, and still it will churn forever and produce a zillion little faces I don't want. Please help someone!!!
-
To call a custom page from standard page
Hello .. I want to add a button to the standard page and then call my custom page from the standard page on clicking that.. Can anyone tell me the steps for doing so. Also I want to know that creating this submit button will come under personalisatio