CATS Profile Table and trigger intimation to payroll
I have created the CATS Profile Spro-CA--Time sheet --classical , but its not permissible at CAT2 drop down screen.
Also need to put a button on the CATS screen, so when user presses the button it should trigger intimation to payroll to pay a special rate for the pernr for the current pay period.
Hi,
Your question was not quite clear. but let me try to answer from what i understood. You are looking for steps to show or hide fields for the work list or data entry view by each CATS Data entry profile. If yes, then here's what you have to do.
Go to tcode - CAC2, select work list or Data Entry Section to display / hide fields. Now, what you see is the field selection that is applicable for all data entry profiles. If you want to make changes to a specific Data Entry Profile, Click on "Influencing" on the menu options and in the Contents field enter the Data entry profile you would like to make changes.
Hope this helps.
Regards,
Vamshi.
Similar Messages
-
Slow down on operation whith table and trigger
hello,
Is anyone knows the reason why, when manipulating a lot of rows on a table (DELETE for exemple) the processing time is increased when exists a trigger on the table, even if it is a before insert trigger (which have no reason to fire in a DELETE command) ?With this trigger (before insert but the SQL order is DELETE...) it's 2 hours to delete 40.000 rows and CPU is 100%
when i deactive this trigger, it's a few minutes.... -
Comparing columns in table and triggers
hi masters,
i have oracle 10g in Linux and us PL/SQL developer to access database, ia m not a developer, but am assigned task to compare columns in table and associated trigger.
let me explain, we have 800 tables, and each table essentially have a trigger created on it. the condition is that each trigger on table should include each column in table, that is columns in table and trigger should be same.
now i don't understand how to compare them, rather can you suggest any query for the same?? and comparing 800 tables manually will be tedious job...
i am unable to compare trigger columns with that of tables..
how can we achieve this???
any suggestions??
thanks and regards
VDHi,
A good starting point could be consult user_triggers view. Example:
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as hr
SQL> desc user_triggers
Name Type Nullable Default Comments
TRIGGER_NAME VARCHAR2(30) Y Name of the trigger
TRIGGER_TYPE VARCHAR2(16) Y Type of the trigger (when it fires) - BEFORE/AFTER and STATEMENT/ROW
TRIGGERING_EVENT VARCHAR2(227) Y Statement that will fire the trigger - INSERT, UPDATE and/or DELETE
TABLE_OWNER VARCHAR2(30) Y Owner of the table that this trigger is associated with
BASE_OBJECT_TYPE VARCHAR2(16) Y
TABLE_NAME VARCHAR2(30) Y Name of the table that this trigger is associated with
COLUMN_NAME VARCHAR2(4000) Y The name of the column on which the trigger is defined over
REFERENCING_NAMES VARCHAR2(128) Y Names used for referencing to OLD, NEW and PARENT values within the trigger
WHEN_CLAUSE VARCHAR2(4000) Y WHEN clause must evaluate to true in order for triggering body to execute
STATUS VARCHAR2(8) Y If DISABLED then trigger will not fire
DESCRIPTION VARCHAR2(4000) Y Trigger description, useful for re-creating trigger creation statement
ACTION_TYPE VARCHAR2(11) Y
TRIGGER_BODY LONG Y Action taken by this trigger when it fires
SQL> select * from user_triggers;
TRIGGER_NAME TRIGGER_TYPE TRIGGERING_EVENT TABLE_OWNER BASE_OBJECT_TYPE TABLE_NAME COLUMN_NAME REFERENCING_NAMES WHEN_CLAUSE STATUS DESCRIPTION ACTION_TYPE TRIGGER_BODY
TRGTEST BEFORE STATEMENT INSERT HR TABLE DEPARTMENTS REFERENCING NEW AS NEW OLD AS OLD ENABLED trgTest PL/SQL DECLARE
before insert on departments -- local variables here
BEGIN
nul;
END trgTest;
UPDATE_JOB_HISTORY AFTER EACH ROW UPDATE HR TABLE EMPLOYEES REFERENCING NEW AS NEW OLD AS OLD ENABLED update_job_history PL/SQL BEGIN
AFTER UPDATE OF job_id, department_id ON employees add_job_history(:old.employee_id, :old.hire_date, sysdate,
FOR EACH ROW
SECURE_EMPLOYEES BEFORE STATEMENT INSERT OR UPDATE OR DELETE HR TABLE EMPLOYEES REFERENCING NEW AS NEW OLD AS OLD ENABLED secure_employees PL/SQL BEGIN
BEFORE INSERT OR UPDATE OR DELETE ON employees secure_dml;
END secure_employees;
RK_ALT_BEF_TRG AFTER EVENT ALTER HR SCHEMA REFERENCING NEW AS NEW OLD AS OLD ENABLED rk_alt_bef_trg PL/SQL BEGIN
AFTER ALTER ON HR.SCHEMA dbms_output.put_line('AFTER Schema trigger fired');
dbms_output.
SQL> Regards, -
Creation of sequence and trigger for each table!!!!!!!1
Hi
I am new to trigger and Sequence field. In one of my database we have many tables with fields for specifing ID numbers. Iam planning to insert the ID field with help of a Sequence and trigger...that trigger fires by adding the sequence value from the dual table. Now the point is here we r having around *60* table with ID field. And i am planning use the above process for each table by creating sequences and trigger for each table.
Will this affects the performance of database.
Is there any other option other than the above process, I mean other than creating sequences and trigger for each table.
PLzz help to resolve this issuee......
Shiyas
Edited by: user13170361 on Jun 7, 2010 12:37 AMTiger, I didn't mind about your comment, but the point is try to use
select NVL(max(a) + 1,1) into i from p1_temp;This line in your trigger code and see what is happening. The problem is with your trigger. You are using group by function and you will not get no_data_found !
For more help, this is some modification of your code.
SQL> create table p1_temp (a number(10) primary key, b number(10));
Table created.
SQL> create or replace trigger trg_p1_temp
2 before insert on p1_temp for each row
3 declare
4 i number(10);
5 begin
6 begin
7 select NVL(max(a) + 1,1) into i from p1_temp;
8 exception
9 when no_data_found then
10 i := 1;
11 end;
12 :new.a := i;
13 end;
14 /
Trigger created.
SQL> insert into p1_temp(b) values (1);
1 row created.
SQL> insert into p1_temp(b) values (2);
1 row created.
SQL> commit;
Commit complete.
SQL> select * from p1_temp;
A B
1 1
2 2
SQL> Edited by: Saubhik on Jun 7, 2010 2:30 AM -
Planner profile SAPFAGL and Summary Table is FAGLFLEXT
Dear Friends,
I am not able to enter plan data (Version 1) for Planner profile SAPFAGL and Summary Table is FAGLFLEXT.
Whenever i try to enter plan data, got error message GLS0 is not available. Why..?
Is there way to enter plan data (version 1) in Summary Table is FAGLFLEXT.....? We are in ECC 6.0. Please help me. Thanks in Advance.
I will give more points for this solution.
VK.Hi VK,
Please find the details.
You must/can start the selection with the following parameters:
1. Company Code (required entry field)
Enter the company code of the accruals account to be checked.
2. G/L Account (required entry field)
Enter the accruals account to be checked.
3. Posting Period/Year To (required entry fields)
Enter the period to be checked in posting periods.
4. Indicator: Only Not Cleared Documents (optional entry field)
If you set this indicator, only actions with an incomplete revenue recognitions (revenue postings and billing document postings) are taken into account, because only these postings are necessary for an explanation of the balance. However, to trace the balance, it may be necessary for the system to also display completed (cleared) revenue recognition processes. In this case, the indicator must not be set, which generally has a negative effect on runtime.
Note: The periods in the SD tables are determined by the posting date in the VBREVE and VBREVR tables.
If the necessary selection parameters were set and the report is started, a split screen appears.
1. Upper part of the screen - Balances
This is where different balances are displayed for each currency in the form of a calculation. The calculation consists of the following:
a) Balance from revenue recognitions
This balance is determined from the posted revenue lines in the VBREVE table. These are the revenue amounts that were recognized in the selected period according to SD.
b) - Balance from billing documents
This balance is determined from the posted, billing items in the VBREVR table that are relevant for revenue recognition. These are the revenue amounts that were deferred in the selected period according to SD.
c) - Balance from other postings
If not only the revenue recognition process (VF44/VF46/VF01/VF02/VFX3) but also other FI transactions such as FB01 posted to the selected accruals account, then these values are not known in SD (VBREVx tables). This appears to result in an inconsistency between SD and FI, but there really is no inconsistency at all.
The system now takes the balance from revenue recognitions, minus the balance from billing documents, and compares the result with the total balance in FI. If there is a difference, the other postings on the selected accruals account for the selected period in FI are read. The result is the 'Balance from other postings.' If this balance is now also subtracted from the previous result, the determined value must result in the total balance from FI.
d) Total balance
This is the balance of the accruals account for the selected period that was determined in FI. If you now take the balance of revenue recognitions, minus the balance of billing documents and minus the balance of other postings, then the result should reflect the total balance in FI. If this is not the case, this result must be analyzed further, since there is an inconsistency between FI and SD. Transactions VF47 and VF45 (among others) are available for further analysis.
2. Lower part of the screen - VBREVx rows (SD tables)
This is where SD detail data (VBREVx tables) concerning the selection at sales and distribution document item level is listed (the total in the 'Balance' column must equal the total balance in FI). If the totals are different, there are inconsistencies between FI and SD.
The following values are displayed for the items:
a) Billed revenues
For the relevant document item, the revenue billed in the selected period is displayed, based on the billing items relevant for revenue recognition (this is the revenue that was posted to the selected accruals account). Data is retrieved using the reference line table (VBREVR).
b) Recognized revenues
For the relevant document item, the revenue recognized in the selected period is displayed, based on the VBREVE table (this is the revenue that was posted to the selected accruals account). Data is retrieved using the revenue line table (VBREVE).
c) Accrued total value
This is the revenue amount of the document item to be recognized at accruals account level. Data is retrieved using the control row table (VBREVK) in which the relevant accrued total value is updated.
d) Balance
This balance at document item level is calculated by subtracting the recognized revenues from the billed revenues.
3. In addition to the screen described above, you can also receive more detailed information. The functions for the displayed ALV buttons are as follows:
a) Billing documents (F5)
This is where the billing items that are relevant for the selected document item are displayed. A jump to the respective billing document is also possible.
b) Other FI documents (F6)
If balances exist from other postings, the accounting documents which resulted in these balances are displayed here. A jump to the respective accounting document is also possible.
c) Overview (F7)
This is where the revenue recognition data that is relevant for the selected document item is listed. This is done in Transaction VF45 - 'Revenue Recognition: Overview.'
Implementation
1. Use Transaction SE38 to create the following program:
Name.....: SDRRAV53
Title....: Compare report for revenue recognition
Create without a top include.
Attributes
Type.............: Executable program
Status...........: SAP Standard Production Program
Application......: Sales
Development class: VFE
2. Use Transaction SE11 to create the following structures in the VFE development class:
a) Data type (structure): VBREVBSIS
Short text...........: Output Structure for SDRRAV53
Enhancement category.: can be enhanced (deep)
(from Release 4.70)
Component Component type Ref field Ref table
BUKRS BUKRS
BELNR BELNR_D
GJAHR GJAHR
HKONT HKONT
BUDAT BUDAT
WAERS WAERS
MONAT MONAT
SHKZG SHKZG
WRBTR WRBTR WAERS VBREVBSIS
ZUONR DZUONR
TCODE TCODE
AWTYP AWTYP
AWKEY AWKEY
b) Data type (structure): VBREVDETAIL
Short text...........: Detailed Structure for SDRRAV53
Enhancement category.: can be enhanced (character-type or numeric)
(as of Release 4.70)
Component Component type Ref field Ref table
VBELN VBELN
POSNR POSNR
WAERS WAERS
VBREVR_WRBTR WRBTR WAERS VBREVDETAIL
VBREVE_WRBTR WRBTR WAERS VBREVDETAIL
VBREVK_WRBTR WRBTR WAERS VBREVDETAIL
VBREVK_BAL WRBTR WAERS VBREVDETAIL
c) Data type (structure): VBREVSALDO
Short text...........: Balance Table for SDRRAV53
Enhancement category.: can be enhanced (character-type or numeric)
(as of Release 4.70)
Component Component type Ref field Ref table
WAERS WAERS
SALDO WRBTR WAERS VBREVSALDO
ORDERSALDO WRBTR WAERS VBREVSALDO
FAKTURASALDO WRBTR WAERS VBREVSALDO
RESTSALDO WRBTR WAERS VBREVSALDO
d) Data type (structure): VBREVINVOICE
Short text...........: Billing Data for SDRRAV53
Enhancement category.: can be enhanced (character-type or numeric)
(as of Release 4.70)
Component Component type Ref field Ref table
VBELN VBELN_VF
POSNR POSNR
WAERS WAERS
WRBTR WRBTR WAERS VBREVINVOICE
3. Implement the source code attached at the end. Use the "Note Assistant" to do this.
4. Add the following text elements to the SDRRAV53 report:
a) Selection texts
Name Text Dictionary Ref
P_BUKRS Company Code 'X'
P_HKONT G/L Account 'X'
P_OPEN only Not Cleared Documents ' '
b) Text symbols
Sym Text dLen mLen
D01 Total Bal 11 40
D02 Balance from Revenue Recognitions_____ 35 40
D03 Balance from Billing Documents________ 33 40
D04 - Balance from Other Postings__ 33 40
D05 _____________________________ 29 40
D06 Curr 7 7
D07 Bals 6 6
D24 Bal 5 18
D25 Recognized Revenue 18 30
D26 Accrued total value 25 40
D27 Billed Revenues 18 40
E01 Period 8 8
E02 Acct 5 5
E03 Control 9 9
E04 Posting Period/Year 20 20
E05 To 3 3
Start Transaction SE38 or SE80. Under the menu option "Goto" you will find the menu option "Text elements." Here you can make the changes listed above.
5. Create the GUI statuses INVOICE and STANDARD.
a) Copy the STANDARD statuses from the SAPLSALV program and remove the following FCODES: &ALL, &SAL, &NFO, &NTE, &CRB, &CRE, &ABC, &CRL, &CRR, &XPA, &EB9, &RNT_PREV, &OMP, &XML.
b) Add the following functions to the STANDARD status in the new program:
FCODE DETA
F-key Function text Icon name Info text
F5 Billing documents ICON_OVERVIEW Billing documents
FCODE REST
F-key Function text Icon name Info text
F6 Other FI documents ICON_FINANCING Other FI documents
FCODE VF45
F-key Function text Icon name Info text
F7 Overview ICON_PERIOD Revenue recognition overview
6. Use Transaction SE93 to create the following transaction:
Transaction code.: VF48 (Report transaction)
Development class: VFE
Transaction text.: Revenue recognition: Compare report
Program..........: SDRRAV53
Selection screen.: 1000
Classification
'x' - Professional User Transaction
GUI capability
'x' - SAP GUI for HTML
'x' - SAP GUI for Java
'x' - SAP GUI for Windows
7. Save and activate the objects that you have created.
Header Data
Release Status: Released for Customer
Released on: 16.11.2005 15:44:32
Master Language: German
Priority: Correction with high priority
Category: Advance development
Primary Component: SD-BIL-RR Revenue Recognition
regards,
Srinivas Muthyala -
Two triggers in the same table and event
If I created two triggers on the same table and event (before insert), which of them will be triggered first ?...
The problem from the beginning is that I created the second one as after insert and in the body of the trigger I wrote (:new.xxx:= value) ... then an error (that it should be before insert trigger or update trigger), so I created it as before update ,,, but I have already before update trigger (for primary key)..... and the problem -I think- which of them start first...
Can make the second one as after insert and make update statement instead of assigning (:new.xxx:= value).....
RegardsIf I created two triggers on the same table and event
(before insert), which of them will be triggered
first ?...As already mentioned, prior to 11g the order of firing is undetermined.
The problem from the beginning is that I created the
second one as after insert and in the body of the
trigger I wrote (:new.xxx:= value) ... then an error
(that it should be before insert trigger or update
trigger), so I created it as before update ,,, but I
have already before update trigger (for primary
key)..... and the problem -I think- which of them
start first...If there is a conflict of interest inside the code then you will have to alter your design principle around this to cater for it. Also consider combining the code into a single before insert trigger to prevent any confusion.
Can make the second one as after insert and make
update statement instead of assigning (:new.xxx:=
value).....Attempting to update or query the same table as is causing the trigger to fire will result in a mutating table error. You can't do this. -
Hello All,
I have a requirement where in i need to find out hidden fields in CAT2 screen for each CAT profile.
That is information of the fields which are marked as invisible or hidden in the Customizing for every CAT profile are needed.
When I see the Technical Information it gives me a structure name CATSD but i need a table name which has list of fields with some indicator hidden or inivisble against each CAT profile.
Also CATSDB has only data entries and not configuration/customizing details.
Can you please help me.
Thanks in advance.
BR,
LuckyHi,
Your question was not quite clear. but let me try to answer from what i understood. You are looking for steps to show or hide fields for the work list or data entry view by each CATS Data entry profile. If yes, then here's what you have to do.
Go to tcode - CAC2, select work list or Data Entry Section to display / hide fields. Now, what you see is the field selection that is applicable for all data entry profiles. If you want to make changes to a specific Data Entry Profile, Click on "Influencing" on the menu options and in the Contents field enter the Data entry profile you would like to make changes.
Hope this helps.
Regards,
Vamshi. -
can anybody tell hw many QM Tables and T codes are ther in total approx.
and if possible which r imp. one?atleast tables.
thnxDear Sandip,
<b>Important QM Tables</b>
Area Table Description
Master Data QMAT Inspection type - material parameters
Master Data QMHU QM Link Between Inspection Lot and Handling Unit Item
Master Data QMTB Inspection method master record
Master Data QMTT Inspection Method Texts
Master Data QPAC Inspection catalog codes for selected sets
Master Data QPAM Inspection catalog selected sets
Master Data QPMK Inspection characteristic master
Master Data QPMT Master Inspection Characteristics Texts
Master Data QPMZ Assignment table - insp. methods/master insp. characteristic
Master Data TQ01D Authorization groups for QM master data
Master Data TQ01E Text authorization groups for QM master data
Master Data TQ21 Assignment of screens to screen groups
Master Data TQ25 QM:screen sequence for master and inspection characteristics
QM Master Data
Catalog QPCD Inspection catalog codes
Catalog QPCT Code texts
Catalog QPGR Inspection catalog code groups
Catalog QPGT Code group texts
Catalog TQ07 Follow-Up Action for Usage Decision of Inspection Lot
Catalog TQ07A QM: Function Modules for Follow-Up Action
Catalog TQ07T Language-dependent texts for Table TQ07
Catalog TQ15 Inspection catalog type index
Catalog TQ15T Language-dependent texts for table TQ15
Catalog TQ17 Defect classes
Catalog TQ17T Language-dependent texts for table TQ17
Catalog
Sample Determination QDEB Allwd. Relationships: Sampling Procedures/Dynamic Mod. Rules
Sample Determination QDEBT Allowed combinations of procedures/dynamic mod. rules: texts
Sample Determination QDPA Sampling scheme-instructions
Sample Determination QDPK Sampling scheme header
Sample Determination QDPKT Sampling scheme: texts
Sample Determination QDPP Sampling scheme item
Sample Determination QDQL Quality level
Sample Determination
Inspection Char TQ17A Weighting of Char
Inspection Char TQ11 Inspection Qualification
Inspection Char TQ29 Tolerance Keys
Inspection Char T006 Unit of measurement
Inspection Char
Dynamic Modification QDBM Valuation mode
Dynamic Modification QDBMT Valuation Mode: Texts
Dynamic Modification QDDR Dynamic modification rule (header)
Dynamic Modification QDDRT Dynamic modification rule: texts
Dynamic Modification QDEP Allowed inspection severities
Dynamic Modification QDEPT Allowed Inspection Severities: Texts
Dynamic Modification QDFB Function modules for the individual procedure categories
Dynamic Modification QDFBT Function Modules for Procedure: Texts
Dynamic Modification QDFM Function modules for valuation mode
Dynamic Modification QDFMT Function Modules for Valuation Mode: Texts
Dynamic Modification QDPS Inspection stages for a dynamic modification rule
Dynamic Modification QDPST Inspection Stages: Texts
Dynamic Modification QDSA Sampling type
Dynamic Modification QDSAT Sampling Type: Texts
Dynamic Modification QDSV Sampling procedure
Dynamic Modification QDSVT Sampling Procedure: Texts
Dynamic Modification TQ39B QM : Activates reference for dyn. modification level
Dynamic Modification
Graphics & SPC QASH Quality control chart
Graphics & SPC QAST Control chart track
Graphics & SPC QPSH Control chart types
Graphics & SPC QPSHT Texts for control chart types
Graphics & SPC QPSP SPC criterion
Graphics & SPC QPSPT Texts for SPC criteria
Graphics & SPC QPST Control chart track
Graphics & SPC QPSTT Texts for control chart tracks
Graphics & SPC
Specifications QMSP QM: material specification
Specifications
Inspection Plan PLKO Inspection plan Header
Inspection Plan MAPL Material Assignement
Inspection Plan PLPO Operation Details
Inspection Plan PLMK Inspection plan characteristics
Inspection Plan PLMW MAPL-Dependent Charac. Specifications (Inspection Plan)
Inspection Plan TQ03 QSS: Control for Screen Texts/TABLE NOT USED (Rel. 4.6)
Inspection Plan TQ29A Dependency tolerance key - nominal measurement
Inspection Plan TQ72 Type of share calculation
Inspection Plan TQ72T Texts for type of share calculation
Inspection Plan TQ75 QM formula parameters
Inspection Plan TQ75F Field names for QM formulas
Inspection Plan TQ75K Short text for Table TQ75F
Inspection Plan TQ75T Description of formula parameters
Inspection Plan
Qm in procurement QINF QM-info record for material and vendor
Qm in procurement TQ02 QM system definition
Qm in procurement TQ02A QM system assignment and QM system requirements
Qm in procurement TQ02B QM system
Qm in procurement TQ02T QM system description
Qm in procurement TQ02U Description QM system
Qm in procurement TQ04A Functions that can be blocked
Qm in procurement TQ04S QM block functions : texts
Qm in procurement TQ05 QM certificate categories for procurement
Qm in procurement TQ05T QM: text table for certificate types
Qm in procurement TQ08 Control of QM in procurement
Qm in procurement TQ08T QM: text for QM procurement keys
Qm in procurement TQ09 QM: agreement of QM document types
Qm in procurement TQ09T QM: agreement of QM document types
Qm in procurement TQ32A Inspection type to status assignment from status profile
Qm in procurement
QM in SD QVDM QM Info Record - QM Control in SD
QM in SD TQ32B Find insp.type for quality insp. for delivery note
QM in SD
Inspectio lot QALS Inspection lot record
Inspectio lot QALT Partial lot
Inspectio lot T156Q Movement Type: Material-Independent Control
Inspectio lot TQ30 Inspection types
Inspectio lot TQ30T Texts for inspection types
Inspectio lot TQ32 Assignment of inspection type to origin
Inspectio lot TQ32C Lot creation allowed values for the origin
Inspectio lot TQ32C _T Texts for lot creation indicator
Inspectio lot TQ33 Relevant fields for origin
Inspectio lot TQ34 Default values for inspection type
Inspectio lot
Inspection point QAPP Inspection point
Inspection point TQ79 Table with inspection point/user field combinations
Inspection point TQ79T Key words for inspeciton point user fields
Inspection point
Results Recording QAES Sample unit table
Results Recording QAKL Results table for value classes
Results Recording QAMR Characteristic results during inspection processing
Results Recording QAMV Characteristic specifications for inspection processing
Results Recording QASE Results table for the sample unit
Results Recording QASR Sample results for inspection characteristics
Results Recording QASV Sample specifications for inspection processing
Results Recording TQ12 Ind. external numbering for test units in results recording
Results Recording TQ12T Texts for the ind. for ext. numbering of units to be insp.
Results Recording TQ70 Control table for results recording
Results Recording TQ70C Function codes for navigation from the char.overview screen
Results Recording TQ70E Screen-based processing tables
Results Recording TQ70F Navigation during results recording
Results Recording TQ70S Characteristic overview screen for results recording
Results Recording TQ73 Origin of results data
Results Recording TQ73T Texts for origin of results data
Results Recording TQ74 Recording configuration
Results Recording TQ74T Recording configuration
Results Recording TQ76 Processing status of inspection characteristics
Results Recording TQ76T Texts for the processing status of insp. characteristics
Results Recording TQ77 Attributes for the Inspection Characteristic
Results Recording TQ77T Text Tables for Attributes
Results Recording TQ78 Status-dependent processing table for insp. characteristics
Results Recording TQ78T Texts for the status-specific proc. table for insp. char.
Results Recording
Defects recording TQ84 Confirmation profile
Defects recording TQ84T Text table for confirmation profile
Defects recording TQ86 Report category for defects recording
Defects recording TQ86A Assignment report category for work center
Defects recording TQ86T Text table for report category
Defects recording V_T35 2B_F Generated table for view V_T352B_F
Defects recording
Usage decision QAMB QM: Link Between Inspection Lot and Material Document
Usage decision QAVE Inspection processing: Usage decision
Usage decision TQ06 Procedure for Calculating the Quality Score
Usage decision TQ06T Language-specific texts for Table TQ06
Usage decision TQ07M QM: Inventory postings with usage decision
Usage decision
Sample Mgmt QPRN Sample drawing of phys. samples
Sample Mgmt QPRS Master record for phys. samples
Sample Mgmt QPRVK Sample-drawing procedure
Sample Mgmt QPRVK T Header for sample drawing procedure texts
Sample Mgmt QPRVP Sample-drawing items
Sample Mgmt QPRVP T Items for sample drawing procedure texts
Sample Mgmt TQ40 Definition of sample types
Sample Mgmt TQ40T Text table for sample type
Sample Mgmt TQ41 Storage locations for physical samples
Sample Mgmt TQ41T Texts for storage locations
Sample Mgmt TQ42 Physical sample containers
Sample Mgmt TQ42T Texts for phys. sample containers
Sample Mgmt
QMIS S068 Vendor statistics
QMIS S069 Material statistics
QMIS S097 QM notifications: Matl anal.
QMIS S098 QM notification: Vendor anal.
QMIS S099 QM notifications: Cust. anal.
QMIS S100 Problems: Material analysis
QMIS S102 Problems: Vendor analysis
QMIS S103 Problems: Customer analysis
QMIS S104 Customer statistics
QMIS S161 Inspection results: General
QMIS S162 Quantitative insp. results
QMIS S163 Quant. Insp. Result: Vendor
QMIS S164 Quant. Insp. Result: Vendor
QMIS S165 Inspection result: gen. custs
QMIS S166 Insp. Results: Quant. Customer
QMIS TQ55 Assign inspection lot origin for update group
QMIS TQ56 Definition of quality score classes
QMIS TQ56T Text table for the definition of quality score classes
QMIS TQ57 Assignment of quality score key to info structure
QMIS
Quality Certificates QCPR QM quality certificates in procurement
Quality Certificates I000 Conditions for certificate profile
Quality Certificates KONDI Conditions: Data part for certificates
Quality Certificates QCVK Certificate profile header
Quality Certificates QCVM Certificate profile characteristic level
Quality Certificates QCVMT Certificate profile characteristic level: texts
Quality Certificates QCVV Certificate Profile: List of Preliminary Products
Quality Certificates TQ61 Result value origin for certificates
Quality Certificates TQ61T Origin of result values for certificates: texts
Quality Certificates TQ62 Output strategy for skip characteristics
Quality Certificates TQ62T Output strategy for skip characteristics: texts
Quality Certificates TQ63 Origin of insp. specs for certificates (function modules)
Quality Certificates TQ63T Origin of inspection specifications for certificates: texts
Quality Certificates TQ64 Origin of characteristic short text for certificates
Quality Certificates TQ64T Origin of characteristic short text for certificates: texts
Quality Certificates TQ65 Certificates: Combinations allowed for origins, specs/values
Quality Certificates TQ67 Certificate-Relevant Output Types
Quality Certificates
Quality Notification QMEL Notification header
Quality Notification QMFE Item
Quality Notification QMSM Task
Quality Notification QMMA Activities
Quality Notification T352C Catalog types for each catalog profile
Quality Notification TQ81 Notification Scenario
Quality Notification TQ81V Usage of parts
Quality Notification TQ81V_T Texts for usage of parts
Quality Notification TQ81_T Texts for Notification Scenarios
Quality Notification TQ82 Change of Notification Type
Quality Notification TQ83 Partner Functions for Codes
Quality Notification TQ85 Function table for follow-up functions
Quality Notification TQ85R Rules for Follow-Up Functions
Quality Notification TQ85_T Action box text table
Quality Notification TQ8CO Assignment of reference orders to notification type
Quality Notification
Other Objects MARA Material Number
Other Objects T001W Plant
Other Objects LFA1 Vendor
Other Objects KNA1 Customer
Other Objects AUFK Order Number
Other Objects SAFK Run Schedule Header Number
Other Objects MCH1 Batch Number
Other Objects MCHA Batch Record
Other Objects EKKO Purchasing Document Header
Other Objects EKPO Purchasing document Item
Other Objects EKET Delivery Schedule
Other Objects VBUK Delivery Header
Other Objects VBUP Delivery Item
Other Objects CSKS Cost Center
Other Objects EQUI Equipment Number
<b>Transaction List:</b>
Q000 Quality management
QA00 Quality inspection
QA01 Create Inspection Lot
QA01A Create Inspection Lot
QA02 Change Inspection Lot
QA02A Change Inspection Lot
QA03 Display inspection lot
QA05 Job planning: Periodic inspection
QA06 Job overview: Periodic inspection
QA07 Trigger for recurring inspection
QA07L Deadline Monitoring Log
QA08 Collective Processing of Insp. Setup
QA09 No. range maintenance for insp.lots
QA10 Trigger automatic usage decision
QA10L Log for Automatic Usage Decision
QA11 Record usage decision
QA12 Change usage decision with history
QA13 Display usage decision
QA14 Change UD without history
QA16 Collective UD for accepted lots
QA17 Job planning for auto usage decision
QA18 Job overview for auto usage decision
QA19 Automatic usage decision
QA22 Change inspection point quantities
QA23 Display insp.point quantities
QA32 Change data for inspection lot
QA32WP QA32 -Call from Workplace/MiniApp
QA33 Display data for inspection lot
QA40 Auto. Usage Decision for Production
QA40L Log for Automatic Usage Decision
QA41 Scheduling UD for Production Lots
QA42 Job planning: UD prod. insp.lots
QA51 Scheduling Source Inspections
QA52 Source inspections: Job overview
QAC1 Change insp. lot actual quantity
QAC2 Transfer stock to insp. lot
QAC3 Reset sample
QAER Display archive objects
QAS1 Download Insp. Specs. (Obsolete)
QAS2 Download Basic Data (Obsolete)
QAS3 Upload Results (Obsolete)
QAS4 Upload UD (Obsolete)
QC01 Create certificate profile
QC02 Change certificate profile
QC03 Display certificate profile
QC06 Immediate delete of cert. profiles
QC11 Create cert. profile assignment
QC12 Change cert. profile assignment
QC13 Display cert. profile assignment
QC14 Create cert.prof.assign.w/copy model
QC15 Create cert. profile assignment
QC16 Change cert. profile assignment
QC17 Display cert. profile assignment
QC18 Create cert.prof.assign.w/copy model
QC20 Certificates for Deliveries
QC21 Quality certificate for the insp.lot
QC22 Quality Certificate for Batch
QC31 Archive display: Delivery item
QC32 Archive display: Inspection lot
QC40 Internet Certificate for Delivery
QC40A Internet Certificate for Delivery
QC42 Batch certificate on WWW
QC51 Create certificate in procurement
QC52 Change certificate in procurement
QC53 Display certificate in procurement
QC55 Worklist: Certificates - Procurement
QCC0 QM: Direct Access to IMG
QCC1 Direct Access to IMG: Notification
QCC2 IMG Direct Access: QM Q-Notification
QCC3 IMG Direct Access: QM Q-Inspection
QCC4 IMG Direct Access: QM Q-Planning
QCC5 IMG Direct Selection: QM Bus. Add-In
QCC_STABI Copy Stability Study Customizing
QCC_STABI_NK Copy Stability Study Number Ranges
QCCC QM standard settings complete
QCCF QM standard forms
QCCK QM standard settings: Catalogs
QCCM QM std. settings: Qual. notifs.
QCCN QM standard number ranges
QCCP QM std. settings: Quality planning
QCCS QM sampling schemes
QCCT QM standard texts
QCCU QM standard settings: Environment
QCCW QM std. settings: Quality inspection
QCCY Transport QM tolerance key
QCCZ QM std. settings: Qual. certificates
QCE2 Edit Communication Support
QCE3 Display Communication Support
QCYF QM standard forms (general)
QCYT QM standard texts (general)
QD21 Mark completed notifications
QD22 Archiving Notifications: Archive
QD24 Archiving Notifications: Delete
QD25 Archiving Notifications: Admin.
QD33 Delete quality level
QD34 Delete quality level planning
QD35 Delete job overview for Q-levels
QDA1 Edit sampling type
QDA3 Display sampling type
QDB1 Maintain allowed relationships
QDB3 Display allowed relationships
QDH1 Q-level evaluation: Change data
QDH2 Q-level evaluation: Display data
QDL1 Create quality level
QDL2 Change quality level
QDL3 Display quality level
QDM1 Edit valuation mode
QDM3 Display valuation mode
QDP1 Create sampling scheme
QDP2 Change sampling scheme
QDP3 Display sampling scheme
QDR1 Create dynamic modification rule
QDR2 Change dynamic modification rule
QDR3 Display dynamic modification rule
QDR6 Disp. where-used list-dyn. mod. rule
QDR7 Replace dynamic mod. rule used
QDV1 Create sampling procedure
QDV2 Change sampling procedure
QDV3 Display sampling procedure
QDV6 Uses: Sampling procedures
QDV7 Replace sampling procedure used
QE00 Quality Planning
QE01 Record characteristic results
QE02 Change characteristic results
QE03 Display characteristic results
QE04 Record sample results
QE05 Change sample results
QE06 Display sample results
QE09 Indiv.display of charac.result
QE09WP Call QE09 from Workplace
QE11 Record results for inspection point
QE12 Change results for inspection point
QE13 Display results for inspection point
QE14 Record results for delivery note
QE15 Change results for delivery note
QE16 Display results for delivery note
QE17 Record results for equipment
QE18 Change results for equipment
QE19 Display results for equipment
QE20 Record results for funct. location
QE21 Change results for funct. location
QE22 Display results for funct. location
QE23 Record results for phys. sample
QE24 Change results for phys. sample
QE25 Display results for phys. sample
QE29 No. Range Maint.: Conf. No. for Char
QE51 Results recording worklist
QE51N Results Recording Worklist
QE52 Worklist: Results for phys. sample
QE53 Worklist: Record results for equip.
QE54 Worklist: Results for funct. loctns
QE71 Tabular res. recording for insp. pts
QE72 Tabular Results Rec. for Insp. Lots
QE73 Tabular res. recording for characs.
QEH1 Worklist for Mobile Results Rec.
QEI1 Displaying QM Interfaces Appl. Log
QEI2 Deleting QM Interfaces Appl. Log
QEW01 Results Recording on Web
QEW01V Variant Maint.: Recording on Web
QF01 Record defect data
QF02 Change defect data
QF03 Display defect data
QF11 Record defects for inspection lot
QF21 Record defects for operation
QF31 Record defects for characteristic
QG09 Maint. num. range Q control charts
QGA1 Display quality score time line
QGA2 Display inspection results
QGA3 Print inspection results
QGC1 Qual. control charts for insp. lots
QGC2 Control charts for task list charac.
QGC3 Control charts for master insp. char
QGD1 Test Equipment Usage List
QGD2 Test Equipment Tracking
QGP1 Results history for task list charac
QGP2 Results History for Task List Charac
QI01 Create quality info. - purchasing
QI02 Change qual.information - purchasing
QI03 Display quality info. - purchasing
QI04 Job planning for QM procurement keys
QI05 Mass maintenance QM procurement keys
QI06 QM Releases: Mass maintenance
QI07 Incoming insp. and open pur. orders
QI08 Job overview of QM procurement keys
QISR Internal Service Request
QISR1 Internal Service Request - Forms
QISR_PCR60 vc_scenario for Message type 60(PCR)
QISR_SM29 ISR Customizing: Table Transfer
QISR_SR12_START Suggestion System
QISRSCENARIO Customizing Szenario
QISRTRANSPORT ISR Customizing Transport
QISRW Internal Service Request on the Web
QK01 Assign QM order to material
QK02 Display assigned QM orders
QK03 Maintain specs. for order type
QK04 Create QM order
QK05 Confirmed activities for insp. lot
QL11 Mat: Distribute Inspection Setup-ALE
QL21 Master Inspection Characs (ALE)
QL31 Distribute Inspection Methods (ALE)
QL41 Distribute Code Groups (ALE)
QM00 Quality Notifications
QM01 Create quality notification
QM02 Change quality notification
QM03 Display quality notification
QM10 Change list of quality notifications
QM10WP QM10 - Call from Workplace/MiniApp
QM11 Display List of Qual. Notifications
QM12 Change list of tasks
QM13 Display list of tasks
QM13WP QM13 - Call from Workplace/MiniApp
QM14 Change list of items
QM15 Display list of items
QM16 Change activity list
QM17 Display activity list
QM19 List of Q Notifications, Multi-Level
QM50 Time line display Q notifications
QMW1 Create quality notification (WWW)
QP01 Create
QP02 Change
QP03 Display
QP05 Print inspection plan
QP06 List: Missing/unusable insp. plans
QP07 List: Missing/Unusable GR InspPlans
QP08 Print task lists for material
QP11 Create reference operation set
QP12 Change reference operation set
QP13 Display reference operation set
QP48 Number Ranges for Physical Samples
QP49 Number range for phys. samp. drawing
QP60 Time-related development of plans
QP61 Display change documents insp.plan
QP62 Change documents ref.operation sets
QPIQS8 QM MiniApp Selection Variant
QPIQS9 QM MiniApp Selection Variant
QPNQ Number ranges for inspection plans
QPQA32 QM MiniApp Selection Variant
QPQGC1 QM MiniApp Selection Variant
QPQM10 QM MiniApp Selection Variant
QPQM13 QM MiniApp Selection Variant
QPR1 Create physical sample
QPR2 Change physical sample
QPR3 Display physical sample
QPR4 Confirm physical sample drawing
QPR5 Manual inspection lots for physSamps
QPR6 Create new phys.-samp. drawing w.ref
QPR7 Storage Data Maintenance
QPV2 Maintain sample drawing procedure
QPV3 Display sample drawing procedure
QS21 Create master insp. characteristic
QS22 Create master insp. charac. version
QS23 Change master insp. charac. version
QS24 Display master insp. charac. version
QS25 Delete master insp. charac. version
QS26 Display characteristic use
QS27 Replace master insp. characteristic
QS28 Display insp. charac. list
QS29 Maintain characteristic number range
QS31 Create inspection method
QS32 Create inspection method version
QS33 Change inspection method version
QS34 Display inspection method version
QS35 Delete inspection method version
QS36 Display inspection method use
QS37 Central replacement of methods
QS38 Display inspection method list
QS39 Maintain method number range
QS41 Maintain catalog
QS42 Display catalog
QS43 Maintain catalog
QS44 Maintain catalog
QS45 Display catalog
QS46 Display code group use
QS47 Central replacement of code groups
QS48 Usage indicator - code groups
QS49 Display code groups and codes
QS4A Display catalog
QS51 Edit Selected Sets
QS52 Display selected set index
QS53 Maintain individual selected set
QS54 Maintain selected set
QS55 Display selected set
QS58 Usage indicator - selected sets
QS59 Display selected sets
QS61 Maintain material specification
QS62 Display material specification
QS63 Maintain material spec: Planning
QS64 Display material spec: For key date
QS65 Activate material specification
QS66 Plan activation of material spec.
QS67 Job overview: Activate mat. spec.
QSR5 Archive inspection plans
QSR6 Delete routings
QST01 Create Stability Study
QST03 Display Stability History
QST04 Display Inspection Plans
QST05 Graphical Scheduling Overview
QST06 Scheduling Overview (StabilityStudy)
QST07 Change Testing Schedule Items
QST08 Display Testing Schedule Items
QSUB Define subsystems
QT00 Test Equipment Management
QT01 Test equipment management
QTSA Product Allocations: Send Quantities
QTSP Product Allocations:Send Customizing
QUERY_BP_FSBPBILDER BP: Screen Customizing for Query
QV01 Create quality assurance agreement
QV02 Change quality assurance agreement
QV03 Display quality assurance agreement
QV04 Find Quality Assurance Agreement
QV11 Create technical delivery terms
QV12 Change technical delivery terms
QV13 Display technical delivery terms
QV14 Search technical terms of delivery
QV21 Create QA agreement (DocType Q03)
QV22 Change Q-agreement (doc. type Q03)
QV23 Display Q-agreement (doc. type Q03)
QV24 Find Q-agreement (doc. type Q03)
QV31 Create Q-spec. (doc.type Q04)
QV32 Change Q-specification (docType Q04)
QV33 Displ. Q-specification (docType Q04)
QV34 Find Q-specification (doc. type Q04)
QV51 Create control for QM in SD
QV52 Change control for QM in SD
QV53 Display control for QM in SD
QVM1 Inspection lots without completion
QVM2 Inspection lots with open quantities
QVM3 Lots without usage decision
QZ00 Quality Certificates
Hope this will help.
Regards,
Naveen. -
Process chain tables and tcodes
Hi frinds,
can any one send me the process chain tables and tcodes . plzz
regards,.
rajesh
my mail id is [email protected]Hi Rajesh,
Process chain tables:
RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
RSPC_MONITOR Monitor individual process chains
RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
RSPCCATEGORY Process Type Categories
RSPCCATEGORYT Texts for Category
RSPCCHAIN Process chain
RSPCCHAINATTR Attributes for a Process Chain
RSPCCHAINEVENTS Multiple Events with Process Chains
RSPCCHAINT Texts for Chain
RSPCCOMMANDLOG System Command Execution Logs (Process Cha
RSPCENQUEUE Dummy Table for Runtime Locks of a Process
RSPCEXOR Excluding Or: Log Table
RSPCINFO Special Values for Communication between P
RSPCINFOT Special Values for Communication between P
RSPCINSTANCE Generic Instance Storage
RSPCINSTANCET Texts for Generic Instance-Storage
RSPCLOGCHAIN Cross-Table Log ID / Chain ID
RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
RSPCLOGS Application Logs for the Process Chains (G
RSPCPROCESSLOG Logs for the Chain Runs
RSPCRUNVARIABLES Variables for Process Chains for Runtime
RSPCTRIGGER Variants for the Trigger Processes
RSPCTRIGGERT Texts for the Trigger Variants
RSPCTYPESDEP Dependencies for Processes
RSPCTYPESPROC Attributes of BW processes (RSSM)
RSPCVARIANT Generic Variant-Storage
RSPCVARIANTATTR Attributes of a Process Variant
RSPCVARIANTT Texts for Generic Variant Storage
Regards,
R.Ravi -
Good day,
I searched through the forum and cant find anything.
I have around 300 published reports on SSRS and we are busy migrating to a new system.
They have already setup their tables on the new system and I need to provide them with a list of table names and column names that are being used currently to generate the 300 reports on SSRS.
We use various tables and databases to generate these reports, and will take me forever to go through each query to get this info.
Is it at all possible to write a query in SQL 2008 that will give me all the table names and columns being used?
Your assistance is greatly appreciated.
I thank you.
Andre.There's no straightforward method for that I guess. There are couple of things you can use to get these details
1. query the ReportServer.dbo.Catalog table
for getting details
you may use script below for that
http://gallery.technet.microsoft.com/scriptcenter/42440a6b-c5b1-4acc-9632-d608d1c40a5c
2. Another method is to run the reports and run sql profiler trace on background to retrieve queries used.
But in some of these cases the report might be using a procedure and you will get only procedure. Then its upto you to get the other details from procedure like tables used, columns etc
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Background job fails for BDC profile creation and role assignment
Hi Experts,
I have created a BDC Function module for Tcode 'PFCG' for profile creation and role assignment, and called this FM in my zprogram. the problem is that when i run this program in foreground it executes succesfully, but if i schedule it in background it fails throwing error in job log 'Role 'Z...' does not contain any active authorizations'. But i have created one more program to create authorization objects which runs before this zprogram.I have also checked the authorization object in 'RSECADMIN', it reflects active. I dont understand whats happening exactly when it runs background.
Below is the process of job
1. ZMIS_AUTH_OBJECT_CREATE
Variant : auth-create
2. ZMIS_AUTH_ASSIGN_TO_ROLE
Variant : auth-assign
The problem is in second program, runs in foreground but fails in background.
Code which i have written in my second program
***BDC for Profile creation and assignment to Roles
CALL FUNCTION 'ZROLE'
EXPORTING
ctu = 'X'
mode = p_mode
UPDATE = 'L'
* GROUP =
* USER =
* KEEP =
* HOLDDATE =
nodata = '/'
agr_name_neu_001 = wa_role-role_name
text_002 = wa_role-desc
text_003 = wa_role-desc
text_004 = wa_role-desc
value_01_005 = 'T-ML330881'
h_fval_low_01_006 = wa_role-auth
profn_007 = lv_profile
ptext_008 = lv_text1
* IMPORTING
* SUBRC =
TABLES
messtab = temp_message.
***Generation of Profile created
CALL FUNCTION 'PRGN_AUTO_GENERATE_PROFILE_NEW'
EXPORTING
activity_group = wa_role-role_name
* PROFILE_NAME =
* PROFILE_TEXT =
no_dialog = ' '
rebuild_auth_data = ''
org_levels_with_star = ' '
fill_empty_fields_with_star = 'X'
template = ' '
check_profgen_tables = 'X'
generate_profile = 'X'
authority_check_pfcg = 'X'
EXCEPTIONS
activity_group_does_not_exist = 1
activity_group_enqueued = 2
profile_name_exists = 3
profile_not_in_namespace = 4
no_auth_for_prof_creation = 5
no_auth_for_role_change = 6
no_auth_for_auth_maint = 7
no_auth_for_gen = 8
no_auths = 9
open_auths = 10
too_many_auths = 11
profgen_tables_not_updated = 12
error_when_generating_profile = 13
OTHERS = 14 .
Experts please help me out its very urgent. your help is appreciated and rewarded. Thanking you in advance.
Regards,
ChetanHi Praveen,
Yeah definately, my requirement is that I have to access of some BI reports to certain users, so contract data will be downlaoded from ECC on application server, need to read that file from application server and for the each contract i ahould create a authorization object, role creation and assigning of role to the user and profile generation and activation.
To achieve this i have written two programs
1) ZMIS_AUTH_OBJECT_CREATE- This program will create the Authorization Object using BDC and Role creation Using the BAPI
"" Creation of Authorization Object
CALL FUNCTION 'ZAUTHOBJ'
EXPORTING
ctu = 'X'
mode = p_mode
UPDATE = 'L'
* GROUP =
* USER =
* KEEP =
* HOLDDATE =
nodata = '/'
g_authname_001 = 'ZDUMMY_MIS'
g_targetauth_002 = wa_tab-auth
g_authtxt_003 = wa_tab-short_desc
g_authtxtmd_004 = wa_tab-med_desc
marked_04_005 = 'X'
g_authtxt_006 = wa_tab-short_desc
g_authtxtmd_007 = wa_tab-med_desc
tctiobjnm_04_008 = 'ZBUS_UNIT'
g_authtxt_009 = wa_tab-short_desc
g_authtxtmd_010 = wa_tab-med_desc
marked_05_011 = ''
opt_01_012 = 'EQ'
low_01_013 = wa_tab-bu
g_authtxt_014 = wa_tab-short_desc
g_authtxtmd_015 = wa_tab-med_desc
marked_04_016 = 'X'
g_authtxt_017 = wa_tab-short_desc
g_authtxtmd_018 = wa_tab-med_desc
tctiobjnm_04_019 = 'ZCONTRCT'
g_authtxt_020 = wa_tab-short_desc
g_authtxtmd_021 = wa_tab-med_desc
marked_05_022 = ''
opt_01_023 = 'EQ'
low_01_024 = lv_contract
g_authtxt_025 = wa_tab-short_desc
g_authtxtmd_026 = wa_tab-med_desc
g_authtxt_027 = wa_tab-short_desc
g_authtxtmd_028 = wa_tab-med_desc
g_authname_029 = wa_tab-auth
* IMPORTING
* SUBRC =
TABLES
messtab = temp_message.
"" Creation of role
LOOP AT it_role INTO wa_role.
CLEAR wa_text.
wa_text-text = wa_role-desc.
wa_text-langu = 'E'.
APPEND wa_text TO it_text.
wa_jobrole-agr_name = wa_role-role_name.
wa_parentrole-agr_name = 'ZM_CT_DUMMY_MIS'.
wa_method-usmethod = 'CHANGE'.
CALL FUNCTION 'ZBAPI_JOBROLE_CLONE'
EXPORTING
jobrole = wa_jobrole
parent = wa_parentrole
method = wa_method
TABLES
* RETURN =
shorttext = it_text
* LONGTEXT =
* MENU_NODES =
* MENU_TEXTS =.
ENDLOOP.
2) ZMIS_AUTH_ASSIGN_TO_ROLE - This program will generate the profile created assign it to the role.
""*BDC for Profile creation and assignment to Roles
CALL FUNCTION 'ZROLE'
EXPORTING
ctu = 'X'
mode = p_mode
UPDATE = 'L'
* GROUP =
* USER =
* KEEP =
* HOLDDATE =
nodata = '/'
agr_name_neu_001 = wa_role-role_name
text_002 = wa_role-desc
text_003 = wa_role-desc
text_004 = wa_role-desc
value_01_005 = 'T-ML330881'
h_fval_low_01_006 = wa_role-auth
profn_007 = lv_profile
ptext_008 = lv_text1
* IMPORTING
* SUBRC =
TABLES
messtab = temp_message .
COMMIT WORK AND WAIT.
""*Generation of Profile created
LOOP AT it_role INTO wa_role.
CALL FUNCTION 'PRGN_AUTO_GENERATE_PROFILE_NEW'
EXPORTING
activity_group = wa_role-role_name
* PROFILE_NAME =
* PROFILE_TEXT =
no_dialog = ' '
rebuild_auth_data = ''
org_levels_with_star = ' '
fill_empty_fields_with_star = 'X'
template = ' '
check_profgen_tables = 'X'
generate_profile = 'X'
authority_check_pfcg = 'X'
EXCEPTIONS
activity_group_does_not_exist = 1
activity_group_enqueued = 2
profile_name_exists = 3
profile_not_in_namespace = 4
no_auth_for_prof_creation = 5
no_auth_for_role_change = 6
no_auth_for_auth_maint = 7
no_auth_for_gen = 8
no_auths = 9
open_auths = 10
too_many_auths = 11
profgen_tables_not_updated = 12
error_when_generating_profile = 13
OTHERS = 14
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDLOOP.
For creating authorization objects, role & profile i have created one dummy auth, dummy role & dummy profile respectively.
i have created dummy objects to copy the roles from dummy object and assign the same to new Auth obj, role & profile.
Let me know what needs to be done. because these both the programs run perfectly in foreground, but fails in background.
Regards,
Chetan -
Submitting multiple job on teh same table via trigger
Hi All,
I have a trigger that run multiple jobs using dbms_job on the same table. I am trying to refresh two materialized views complete via dbms_job.
Issue is when data is inserted into NET_CAB table , the trigger kicks off the bothe procedures but only the first materialized view is refreshed and not the other one.
Attached is the trigger, the procedure and materialized view
<pre>
create or replace
TRIGGER NET_CAB_TRG
AFTER INSERT OR UPDATE OR DELETE ON NET_CAB
DECLARE
pbl NUMBER;
pbl1 number;
BEGIN
SYS.DBMS_JOB.SUBMIT( JOB => pbl,what => 'P_CAB_PROC;' ) ;
SYS.DBMS_JOB.SUBMIT( JOB => pbl1,what => 'P_CABAS_PROC;') ;
END;
</pre>
<pre>
create or replace
procedure P_CAB_PROC
is
BEGIN
dbms_mview.REFRESH('P_CAB','C');
COMMIT;
END;
</pre>
<pre>
create or replace
procedure P_CABAS_PROC
is
BEGIN
dbms_mview.REFRESH('P_CABAS','C');
COMMIT;
END;
</pre>
<pre>
CREATE MATERIALIZED VIEW P_CAB
BUILD DEFERRED
USING INDEX
REFRESH COMPLETE ON DEMAND
USING DEFAULT LOCAL ROLLBACK SEGMENT
DISABLE QUERY REWRITE
AS
SELECT
seq_nextval AS ID,
NAME,
SEGMENT_ID,
reproject(geometry) AS GEOMETRY
FROM NET_CAB
where sdo_geom.validate_geometry(geometry,0.005) = 'TRUE'
</pre>
<pre>
CREATE MATERIALIZED VIEW P_CABAS
BUILD DEFERRED
USING INDEX
REFRESH COMPLETE ON DEMAND
USING DEFAULT LOCAL ROLLBACK SEGMENT
DISABLE QUERY REWRITE
AS
SELECT
seq_nextval AS ID,
NAME,
SEGMENT_ID,
reproject(geometry) AS GEOMETRY
FROM NET_CAB
where sdo_geom.validate_geometry(geometry,0.005) = 'TRUE'
AND cis > 4;
</pre>
Edited by: CrackerJack on May 22, 2012 8:58 PMI can run many procedures in a job:
BEGIN
SYS.DBMS_SCHEDULER.CREATE_JOB
job_name => 'JOB_REPORT_FPD'
,start_date => TO_TIMESTAMP_TZ('2012/05/31 23:30:00.000000 +07:00','yyyy/mm/dd hh24:mi:ss.ff tzh:tzm')
,repeat_interval => 'FREQ=MONTHLY;BYMONTHDAY=-1'
,end_date => NULL
,job_class => 'DEFAULT_JOB_CLASS'
,job_type => 'PLSQL_BLOCK'
,job_action => '
DECLARE
BEGIN
ibox_file.fpd_nbot_report;
ibox_file.fpd_nbot_report(''NBOT'');
ibox_file.order_report;
COMMIT;
EXCEPTION
WHEN OTHERS THEN ROLLBACK;
END;
,comments => 'USED FOR REPORTING FPD'
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE
( name => 'JOB_REPORT_FPD'
,attribute => 'RESTARTABLE'
,value => FALSE);
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE
( name => 'JOB_REPORT_FPD'
,attribute => 'LOGGING_LEVEL'
,value => SYS.DBMS_SCHEDULER.LOGGING_RUNS);
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE_NULL
( name => 'JOB_REPORT_FPD'
,attribute => 'MAX_FAILURES');
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE_NULL
( name => 'JOB_REPORT_FPD'
,attribute => 'MAX_RUNS');
BEGIN
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE
( name => 'JOB_REPORT_FPD'
,attribute => 'STOP_ON_WINDOW_CLOSE'
,value => FALSE);
EXCEPTION
-- could fail if program is of type EXECUTABLE...
WHEN OTHERS THEN
NULL;
END;
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE
( name => 'JOB_REPORT_FPD'
,attribute => 'JOB_PRIORITY'
,value => 3);
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE_NULL
( name => 'JOB_REPORT_FPD'
,attribute => 'SCHEDULE_LIMIT');
SYS.DBMS_SCHEDULER.SET_ATTRIBUTE
( name => 'JOB_REPORT_FPD'
,attribute => 'AUTO_DROP'
,value => FALSE);
SYS.DBMS_SCHEDULER.ENABLE
(name => 'JOB_REPORT_FPD');
END;
/ -
How to insert some records in one table and some records in another table
Interview question
how insert records in two tables by using trigger
CREATE or REPLACE TRIGGER Emp_Ins_Upd_Del_Trig
BEFORE delete or insert or update on EMP
FOR EACH ROW
BEGIN
if UPDATING then
UPDATE emp2
SET
empno = :new.empno,
ename = :new.ename
--, job = :new.job
--, mgr = :new.mgr
--, hiredate = :new.hiredate
, sal = :new.sal
--, comm = :new.comm
--, deptno = :new.deptno;
sdate = :new.sdate,
edate = :new.edate
end if;
if INSERTING then
INSERT INTO emp2
VALUES
( :new.empno
, :new.ename
--, :new.job
--, :new.mgr
--, :new.hiredate
, :new.sal
--, :new.comm
--, :new.deptno
new.sdate,
new.edate);
end if;
if DELETING then
DELETE FROM emp2
WHERE empno = emp2.empno;
end if;
END;
it is working fine but he wants to insert some specific litimit on one table and some specified limit of records in one ..
In this senerio can i insert records by use count of records...
please help me..Can you be more specific on the "Limit"
Conditional insert can be used in this case. -
Edit User Profile How do I enalble user lo loggin to their own profile page and edit it?
Hi
I am having some problems....... any help would be nice
I am using DWCS3 and ADDT toolbox extension wamp and phpmyadmin
I am trying to create a site for people to be able to post a profile with a picture and info and display it in a dynamic table.
I can create the form, a database and display the data on another page in a dynamic table all ok..... kind of.
I can create a user registration system with ADDT.
I can redirect them after registration to a post profile page, which has a form to upload details. I can then display those details on a user info page.
I would like to allow logged in users to be able to click on a link to their own profile page , which would show the same form that was filled out in the post profile page, but would be already populated with their previously entered information. I would like users to be able to edit the content of the form and update the information in the database and automatically delete delete any previously entered information ( only in the fields that have been edited)
How do I go about doing this?.... step by step?
I want to allow logged in user to view their own profile not every bodies.... how do I do that?
I have read on another post that to do something similar to this I should filter my database information using a session varialble MM_username that I think is created automatically after user logs in .... but I don;t know how to do this.... I really don;t understand is this the way I link my user to a page that only displays their info ? or is there another way?
I would also like to allow only people who have posted a profile to be able to edit profile ...... do I do that by
1. new user registers and is redirected to login page
2. user logs in and is redirected to an index page that has a post profile button and a edit profile button but only the POST button is active ( and links to a form to post info ) and the edit profile button is linked to a " You must post a profile first" page ( with a link back)
3 so user posts profile and is directed to an index page which has an edit profile button which is now linked to an edit profile page
Does that sound correct?
Any suggestions in getting all this to work would be much appreciatedHi Yomi,
I have created the users page which submits to a members page and tell the user to edit biodata, profession, and hobbies. but on clicking I am really confused on how the id will be transfered from the members page to update biodata and the user updates the form which will show past records. this should also apply to the profession and hobbies
If I understand this right, you might want to consider providing a complete "userdata" section which comes with a Dynamic List and a Dynamic Form to have users add & update their data plus (via the Dynamic List) track all past records
Lastly is it possible I create recordset at will and the id will be passed thru since kt-login-id behaves sololy
I really can´t recommend this "pass user_id as URL variable" approach in this case, as URL variables are displayed in the browser´s address bar -- and this is absolutely insecure, because anyone could simply change the displayed "user_id" value, reload the form and hence edit data which belongs to a different user.
The only secure method is indeed to use ADDT´s session variable kt_login_id
Fatal error: Call to undefined function: var_export()
Not sure, but maybe some "includes" files haven´t been generated
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Is there a way to reference just a sheet (not table and cell)
I want to have a profile overview sheet tat will draw from individual profile sheets. Is there a way to set up a cell with which table and cell to draw from, but then make it draw the sheet name from a different cell. That way I can fill in the sheet name in the appropriate cell, and all the other cells would automatically draw from the appropriate sheet.
Any tips or advise would be appreciated.=IFERROR(INDIRECT(A1 & " :: Table 1 :: A2"),"")
or
=IF(A1="","",INDIRECT(A1 & " :: Table 1 :: A2"))
The first will capture errors caused by A1 being blank and errors caused by A1 specifying a non-existent sheet (i.e., typos). The second one prevents errors caused by A1 being blank but will still give an error if you specify a non-existent sheet..
Maybe you are looking for
-
How to deal with FLV with missing meta data?
I have and will get flvs in the future with missing meta data. I think for the most part the meta data that is missig is the file length. The exact files that are not working on our server are working on some other companies FMS. They must have some
-
How to get database growth month wise
Hi All, Can any one help me getting the growth of production database month wise for the current year. I mean I need a script which will display the growth of my database month wise for the year 2010. Regards,
-
Login issue after Firmware Upgrade Ver.4.21.5 for WRT54g v2
I just updated the firmware to Ver.4.21.5. After I log in to the router, each time I change Tabs or I save a change I am prompted for the Admin password. This is annoying, but not a limiting factor for changing settings. Is there a fix for this? T
-
When i get a call on my phone, it rings on my husbands phone.
Has anybody have this problem?
-
How to exclude a task from ETL container
Hi I am running Full ETL load for Oracle Financials R12.1.3 Vision instance, where one of the task is failing and due to that some 86 subsequent tasks are also failing. The task name is SDE_ORA_ProductDimension. I an suggested by Oracle Support to ex