Need to create maintenance view for a custom infotype
A custom infotype 90XX is created. The data cannot be modified or created through PA30 in this infotype. Through PA 40 actions only we can create/change the record/data. We have created some 1000 records in it. Now can we create a maintenance view for the infotype so that we can create, delete or change the data in the infotype as and when we want.
Hi,
pls chk dat u have maintained the 'Infotype Charecteristics' and 'Technical Attributes' correctly.
thanks,
teja.
Similar Messages
-
Do I need to create a view for this?
Hi Ihave got 2 tables emp and project
In emp tabe:
emp_no
family name
given name
In porgect table:
emp_no
status(assigned,unassigned)
start_date
end_date
emp_no Family_name given_name
1 Smith John
In project table same employee can have many assigement eg
emp_no status start_date end_date
1 assigned 01-may-08 01-july-08
1 assigned 01-sep-08 01-july-09
1 unassigned 01-july-09 01-oct-09
In the form:
there are 2 querable fields "project ends between field1(date) and field2(date)" which is used to
retrive records which have end date between field1 and field2.
The following fields are needed to get from database:
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Requirements:
1. project.start_date and project.end_date must be the latest project_end_date for the same emp
so in the above sample date
2. No. of time assigned is a count of total of number records which have status='assign'
So for the given sample data the record expected after query would be(field1=01-jun-08 field2=02-july-09)
emp.family_name emp.given_name project.start_date project.end_date No.of time assigned
Smith John 01-sep-08 01-july-09 2
What is the best approach to get:
1 The lastest project(latest end_date) for the emp
2. get No.of time assigned.
Do I need to create a view for this? If yes, any sample sql code this this?
Thanks for your helpHi W1zard,
Thanks for your reply. Could you clarify the following points for me:
1.) you could create a master block basing on your emp table and a detail block basing on your project table with the relation over emp_no. set the default_where clause of your detail block programmatically using
set_block_property('project', default_where, 'status = ''assigned'' and <your_date_criteria>');
Q1: where I pit this code? in pre-query trigger in detail block?
2.) Of course you could create a view to join both of your tables if you don't want to use master detail blocks; Also do the join over emp_no
create or replace force view v_emp as
select emp.family_name, emp.given_name, project.start_date, project.end_date
from emp, project
where emp.emp_no = project.emp_no
Q2 As I mentioned before, there are multipal entries for the same emp in project table and we only need the maching record from project table which has latest end_date. So I think I need something like
max(project.end_date) somewhere in create view to make sure only one record for one employee.
Also is there possible to include the no. of assigned field(select count(*) from project where status='assigned' and emp=emp_no) into the view as well?
Q3 All the fields mentioned above are diaplay-only. So Can I create a control block which has all the fields from emp and project. Then populate them with my sql. The question is
where I put this customerised sql so when user click excute query. My sql will run and display one the form?
REally appreciated your help!
Michael -
Error while creating a query for my custom infotype
Hi,
I have created a custom infotype with fields currency amount and currency field .
While I am creating a query for it its giving an error
Message no. AQ_AD_HOC221 Error when generating the report(see long text )
I tried to execute the standard program RPUMS40CCI but still I am facing same error .
I have also maintained table T777i for my infotype but still problem exists.
Please help.
PHi
Check in PM01 -
Re: How to create new subtypes for OM Custom infotype
Hi Gurus,
I facing problem when creating for Subtypes in OM , i need create Infotyes with Subtypes in OM.Check below steps how i created
1. I create Structure in se11. HRI9119
2. In PPCI , i create infotype 9119
3.In SM30 , I Maintain table T777i, here i selected my infotype (9119), then i clicked on infotype per object type and assign subtype (9229, 9339) to the my infotype .
4. After that, in same screen, i selected my infotype and assign TIME CONSTANT to my all subtype and infotypes.
After this , any think required to maintain , Plz tell me.. i didn't find my subtype in PP01.
Thanks and Regards ,
Venkatesh.MHi Venkatesh,
The new subtype has to be maintained in table V_778U.Also you need to relate the new subtype to object type in table T777Z and miantain the time contraints.
Please refer following path in IMG for further information
Personnel Mgt > OM > Basic settings > Data model enhancement
Hope this helps.
Regards,
Malathi V. -
Maintenance View for checktables
Hi,
I had a scenario where I had to create around 30 check tabels(Z Tables). I have to create maintenance view for these tables. Instead of creating 30 transactions is there a better way to do this.
If I create a report for this purpose with radio buttons in the selection screen for each table, can I call transaction SM30 and pass the table name, skip the first screen and do the entries.
Thanks,
ViswasHi,
There is no need to go for call transaction
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
ACTION = 'U'
VIEW_NAME = 'ZTAB'
TABLES
DBA_SELLIST = IT_RANGETAB
EXCEPTIONS
CLIENT_REFERENCE = 1
FOREIGN_LOCK = 2
INVALID_ACTION = 3
NO_CLIENTINDEPENDENT_AUTH = 4
NO_DATABASE_FUNCTION = 5
NO_EDITOR_FUNCTION = 6
NO_SHOW_AUTH = 7
NO_TVDIR_ENTRY = 8
NO_UPD_AUTH = 9
ONLY_SHOW_ALLOWED = 10
SYSTEM_FAILURE = 11
UNKNOWN_FIELD_IN_DBA_SELLIST = 12
VIEW_NOT_FOUND = 13
MAINTENANCE_PROHIBITED = 14
OTHERS = 15.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
aRs -
How to create a help view for a customized error message
Hi all,
Can you guide me how to create a help view for a customized error message, we need to put some suggestions in it so that user can can resolve this issue with this guide. ( the short text is too short to describe all situations via TC:SE91)
Thanks very much!
Bruce, WenHi Bruce,
Could you brief your concerns again.
Why don't you maintain long text in message class for long description.
Regards,
Ranjith N -
Creating 2 table maintainance views for one custom table
Hello All,
I want to create 2 table maintainace views for one custom table.
I know how to create table maintainace but I want to know whether we can create only one maintainance view or we cal also create 2 maintainace views for a single custom table.
Regards
MaheshHello,
You can create as many maintenance views one one table as you want.
Kind regards,
Bart -
How can we create subtypes for om custom infotypes
hi,
I want the detailed procedure how to create Subtypes for Organzational management custom infotypes.
Pls send me the detailed path how to create Subtypes for Org management.
thanks & regards,
Sekhar.Access transaction SM30/31 for table maintenance. Enter view name V_778U.
Select maintain and enter the subtype for the custom infotype.
Also remember to enter the time constraint for the subtypes mainatined in table T777Z.
SPRO Path
Personnel Management --> org management --> basic settings --> data model enhancement --> infotype maintenance --> maintain subtypes.
Regards
Ravikumar -
HELP NEEDED: Use a new record for a customized table as a workflow trigger
Hi SAP Workflow Gurus,
Good day!
One of our requirements is to have the creation of a new record in a custom database table trigger a workflow. I read and followed the steps as indicated in this link
http://www.****************/Tutorials/Workflow/Table/events.htm
As a summary, here is what I did:
1. Created a subroutine for the custom table ZPA2003 for the create event
2. Defined this event as a trigger for the custom workflow WS90000019
3. Maintained and activated the event linkage via SWETYPV
Basically I tried following the instructions indicated on the link
Note that the entries for the custom table are created via a function module.
Now during testing of the workflow, the system was able to complete the notification message. However, when I triggered the event via creation of the entry in the custom db table nothing happened
1. Is there a way to debug/find out whether the link between the subroutine in the table and event itself are connected?
2. I also tried running the event trace to check the activities executed but found nothing.
Can you guys help me check on what I may have missed out?
Regards,Hi All,
Basically these are the requirements for the work schedule substitution:
1. Employee enters the request via ESS (custom portal transaction)
2. Upon saving of the entry (request) in a custom table, this should trigger the workflow at the backend
3. The Manager should then receive a work item in his Universal Worklist at the MSS side of the portal
4. Upon clicking on the work item, a new screen will pop up showing the work schedule substitution details as well as an interface which will allow him to enter his/her usage decision
5. Depending on the decision, the workflow must execute the necessary notifications as well as changes in the custom and PA2003 tables
Now, we have accomplished step 1 and I am currently in the process for step 2. Now I have some queries:
1. For the Manager to view and approve the substitution details, I used two methods for each process (view and approve) since our ABAPer mentioned that this cannot be done in 1 function module. Is there a way to simplify this step or is it really valid that they need to be executed in 2 different methods?
2. As per our ABAPer, function Modules only import and export variables; they do not have the facility of say having tags on the details being displayed. Hence, if the details are 10001 (Employee Number), 10/20/2011 (Start Date), 10/25/2011 (End Date) the output would be 10001, 10/20/2011, 10/25/2011. Is there a way within the function module (or dynpro interface) to show it like this: Employee Number: 10001
Start Date: 10/20/2011
End Date: 10/25/2011
3. Speaking of dynpro applications, do I need to still develop one to allow the Manager to view and approve/reject the request via the MSS portal upon accessing the work item via the UWL? How would the work item go about calling the dynpro application? or is this even possible?
It would have been easier if the facility would not pass through workflows since it will be just direct web dynpro/ABAP calls. Having to include it as a work item in the UWL puts a certain twist to it
Your inputs are well-appreciated.
Regards, -
Reg :-maintain a table maintenance view for the z table.suggest me the code
i have question.i have created a z table related to pp module.the requirement is to maintain {table maintenance view} for this z table.how could this be done.can any one suggest me the code for this?
Hi ,
We have a lots of queries on table maintainance creation in the forum posted and replied to.Pls have a look at it first.
In se11 -> change mode of the ztable -> goto -> utilities -> table maintainance generator -> click on it...
it will give a new screen-> enter the required details like function group , authorisation(use &NC& or leave it blank if you dont know) and screens
2 step and 1 step means=> number of screens displayed in maintainace
if step1 is selected then we have a screen which will be like a table control for data entry.........
for step2 we have a table control screen and a more detailed individual field display as second screen
click on the button 'find screen numbers' so that system automatically proposes the screen numbers
after which click on the "create" button and follow the required instructions/messages
once done go to SM30 enter the table name to check if maintainance has been created properly
Hope it helps,Pls check and revert
Regards
Byju -
Hi!
I've tried to create a maintenance view for two tables with help of sap liblary:
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
but it haven't work for some reason.
Colud anyone give a detailed example of creating simplest maintenance view for two tables (with correct definition of a foreign key)? One of them is a text table for another.
The view should insert records in both tables simultaneously.
Thanks!Hi,
go through this link.
Link:[http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm]
Link :[table maintanace generator;
hope this help u out.
Regards,
Sneha.
Edited by: sneha kumari on Jun 16, 2009 8:33 AM -
Error while creating maintenance view
Hi Freinds,
I have 2 tables
zemp and zdept and also i have defined foriegn key relationship between this two tables using a comman field DEPTNO. when i trying to create Maintenance View, its showing the following error
*No database view exists for view ZMAINVIEW*_
can any one help me how to solve thos problem
thanks
SriHi sri,
First open se11 and go for views and select maintainence views and copy then it shows screen asking table name here first its enough if u specify one table and go for relationships then you can have pop up showing that what are the tables having relations wiht your basic table if it shows that 2 tables then it is correct if not something wrong in when you assigned foregin key to the table.
with regards
diwakar -
What is the need of creating partner functions for sales document type.
Hi SAP (SD-GURUS),
Actually we create partner functions before creating customer ex: sold to party, ship to party, bill to party, and payer.
These partner functions are going to be copied into sales order while processing sales order.
Again what is the need of creating partner functions for sales document type.
Thanks&Regards
sreenivas peruruThere are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
Hope this helps...
THanks,
Jignesh Mehta -
Creating relational view for an ODBC result set?
Hello,
I'm trying to create a view for the data available from the Siebel Analytics server (SAS) query's result set by executing pass through sql. SAS reads from files and multiple other databases to provide the result set.
The query sent to pass has its own properitary syntax and is not SQL.
ie, I'm trying to achieve something like this :
create view analytics_wrapper_view as
select * from
<
dbms_hs_passthrough('my custom sql understood by SAS')
dbms_hs_passthrough.fetch_rows
>
Cant use a function selecting from dual as there could be several rows returned from this operation. If I retain it as a view, I can avoid data duplication. If this is not possible, a table approach could be considered.
Any thoughts or inputs on this would be highly appreciated.On your server..
- On the FCS server go to OSX Workgroup Manager.
- Create a group and name it something cool
- save and exit
Final Cut Server Client...
(Logged in as admin)
- select Administration in the client.
- Go to Group Permissions
- click Create New Group and then select cool new group name
and select BROWSER from the PERMISSION SET list
- save and go back to OSX
Back in OSX Workgroup Manager...
- create users and assign them to your cool group
DONE! -
[ADF Help] How to create a view for multiple tables
Hi,
I am using Jdeveloper 11G and ADF framework, and trying to create a view to update multiple tables.
ex:
Table A has these fields: ID, Name
Table B has these fields: ID, Address
A.ID and B.ID are primary keys.
B.ID has FK relationship with A.ID
(basically, these tables have one-to-one relation)
I want to create a view object, which contains these fields: B.ID (or A.ID), A.Name, B.Address.
So I can execute C,R,U,D for both tables.
I create these tables in DB, and create entity objects for these tables.
So there are 2 entity objects and 1 association.
Then I create a view object based on B and add fields of A into the view:
If the association is not a "Composition Association",
when I run the model ("Oracle Business Component Browser") and try to insert new data, fields of A can't edit.
If the association is a "Composition Association", and click the insert button, I will get
"oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity"
If I create a view object based on A and add filed of B into the view:
When I run the model and try to insert new data, fields of B can't edit, no matter the association is or is not a composition association.
So... how can I create a view for multiple tables correctly?
Thanks for any advices!
Here are some pictures about my problem, if there is any unclear point, please let me know.
http://leonjava.blogspot.com/2009_10_01_archive.html
(A is Prod, B is CpuSocket)
Edited by: user8093176 on Oct 25, 2009 12:29 AMHi Branislav,
Thanks, but the result is same ....
In the step 2 of creating view object, I can select entity objects to be added in to the view.
If I select A first, and then select B (the "Source Usage" of B is A), then finishing the wizards.
When I try to create a new record in the view, I can't edit any properties of B (those files are disabled).
If I select B first, and then select A in crating view object, the result is similar ...
Thanks for any further suggestion.
Leon
Maybe you are looking for
-
Yesterday I was able to take photos but around 9pm last night my rear camera stop working. I have reseted my phone and have also restored it and the camera still is not working. Also I have deleted all apps that can have access to the camera and i ha
-
Hello Sir/Madam, Could you please assist me to do the setups for Oracle Incentive Compensation Module. Please I am a bit new with this module appreciate if you could provide me a setup steps that can assist me to setup and present the module features
-
Getting syntax error when i using INSERT command
Hi, i am using MS Access DB. Table name is "Timesheet". the table has the following Fields, uname - Text date - Text intime - Text outtime - Text duration - Text desc - Text i am using preparedStatment, String accessDBURLPrefix = "jdbc:odbc:Driver={M
-
Dynamically changing the SQL str in DBMS_SQL cursor
Hi, I wanted to find out how to input a new SQL string after the DBMS.SQL cursor has one in it. Can someone tell me how to do it? Thanks. Sincerely, Nikhil Kulkarni
-
Anyone could explain this 2 kinds of enterprise structure??
Hi, Could kindly share me what exactly this 2 kind of enterprise structure stands for? Thanks. Company Code: A Company Code: B Plants1 Plants2 Sales org. 10 Sales org. 20 Scenario 1: Plants1 belonged to Sales org10 and sales org20, and under s