Tables regarding to cj20n transaction
Hi all,
I need to know where user fields in transaction cj20n transaction. please help me. i want these fields depends on actvity and activity type.
this is urgent.
Thanks,
Ananth.
Hi seshu,
PRPS is based on WS elememy i want to know based on activity and activity type.
regads,
ananth
Similar Messages
-
Table for user status field in CJ20n transaction project defination
HI ALL,
what is table for user status field in CJ20n transaction project defination creation. This field is in Basic Data tab.
Thanks.Hi,
Check following tables for Usre status:
TJ30 - User status
TJ30T - Texts for user status
TJ20 - Status profile
JEST - Object status
JSTO- WBS status profile.
Check this code:
REPORT zps_get_userstatus .
PARAMETERS: p_posid LIKE prps-posid.
*-- Constants
CONSTANTS: gc_yes(1) TYPE c VALUE 'X',
gc_no(1) TYPE c VALUE ' '.
*-- Variables
DATA: l_objnr LIKE prps-objnr.
*-- Internal tables
DATA: BEGIN OF lit_jest OCCURS 0,
objnr LIKE jest-objnr,
stat LIKE jest-stat,
END OF lit_jest.
DATA: BEGIN OF lit_jsto OCCURS 0,
objnr LIKE jsto-objnr,
stsma LIKE jsto-stsma,
END OF lit_jsto.
DATA: BEGIN OF lit_status OCCURS 0, "Combination of JEST & JSTO
objnr LIKE jest-objnr,
stsma LIKE jsto-stsma,
stat LIKE jest-stat,
END OF lit_status.
DATA: BEGIN OF lit_usrsta OCCURS 0, "Uer status for all wbs
objnr LIKE jest-objnr,
stsma LIKE jsto-stsma,
stat LIKE tj30t-estat,
txt04 LIKE tj30t-txt04,
END OF lit_usrsta.
DATA: BEGIN OF lit_usrtxt OCCURS 0, "User Status text - TJ30T
stsma LIKE tj30t-stsma,
stat LIKE tj30t-estat,
txt04 LIKE tj30t-txt04,
END OF lit_usrtxt.
* get WBS object number
SELECT SINGLE
objnr FROM prps
INTO l_objnr
WHERE posid = p_posid.
* get WBS active status from table JEST
SELECT
objnr
stat
FROM jest INTO TABLE lit_jest
WHERE objnr = l_objnr AND
inact <> gc_yes.
* get WBS status profile from table JSTO
SELECT
objnr
stsma FROM jsto
INTO TABLE lit_jsto
WHERE objnr = l_objnr.
* combine JEST and JSTO table for user status
LOOP AT lit_jest.
IF lit_jest-stat CP 'E++++'.
READ TABLE lit_jsto WITH KEY
objnr = l_objnr.
IF sy-subrc = 0.
lit_status-objnr = lit_jest-objnr.
lit_status-stsma = lit_jsto-stsma.
lit_status-stat = lit_jest-stat.
APPEND lit_status.
ENDIF.
ENDIF.
CLEAR: lit_jsto, lit_status.
ENDLOOP.
* get text for user status
SELECT DISTINCT
stsma
estat
txt04 FROM tj30t
INTO TABLE lit_usrtxt
FOR ALL ENTRIES IN lit_status
WHERE stsma = lit_status-stsma AND
estat = lit_status-stat AND
spras = sy-langu.
Let me know if you have any question.
Regards,
RS -
Validating Profit Center in CJ20N Transaction
Hi All,
My requirement is to lock the Profit Center field(Make it grayed out) in the project using CJ20n transaction once it is created.
Also when ever the user is trying to change the profit center by entering the project details, it should give an Error message saying that "the profit center value cannot be changed", when trying to save the project details with the new value.
I have tried using almost all the userexits(CNEX0001,CNEX0002,CNEX0003,CNEX0004,CNEX0005,CNEX0006,CNEX0007,CNEX0008,CNEX0038,CNEX0033,CNEX0028,CNEX0029) for the transaction CJ20n and even searched for the BADIs, but none of them was not suitable for my requirement.
Can any body suggest the suitable User exit or a BADI to implement for this requirement.
ThanksHello,
Try following....
Use BAdi BUS2054.
In that write an implementation
Two scenarios
1) Creating new project. (Values in PRPS table will get updated after save.)
2) Opening existing project in change mode. ( Already values corresponding to that WBSE are available in PRPS table).
Pre-Requisite:
1) If possible make Profit center field madatory.
Scenario 1:
In Implementation write
At_save
IF PRPS-PRCTR = initial or zero. Then no error. Because he is creating Project, so no values will be available in PRPS. Once he saves PRPS will get updated and from next it will be delt as per scenario 2 below.
Scenario 2:
At_save
If PRPS-PRCTR <> the value entered by the user (i.e. user trying to enter something different which is already there in PRPS table against that WBSE (PRPS-POSID)) throw an error "Profit center can not be changed".
Please try along with ur abaper.
Post ur findings.
Thanks & Regards
Saikishore.Ganga -
User Exit or BADI to update table PSPR_GRP_IND in CJ20N t-code
Hi All,
I have a requirement to update values in tab Collective PR indicator i.e. field GRP_IND in table PSPR_GRP_IND while saving a project using transaction CJ20N on project definition level.
But I am unable to find relevant user-exit or BADI; please let me know if anybody has worked on such a requirement and if so then what user-exit or BADI was used or if there is some other solution.
Thanks in advance!
Regards,
Swapnil.
Edited by: Swapnil Sharma on Jul 30, 2010 9:35 AMHi,
I have worked on CJ20N Transaction but the Tab Collective PR indicator I am not able to see in CJ20N.
I have used EXIT_SAPLEBND_001 Exit for my requirement.
Regard's
Shabbir -
Condtion table name of (VBN1 transaction ) free goods SD
Hi all
can any one tell me the condtion table name for <b>transaction VBN1</b> for <b>free goods SD</b>.its very urgent.
Best Regards
Bunty.hi bunty.,
check this tables
KONDN : Conditions: Free goods - Data section
KONDNS : Conditions: Free goods determination - scales
KONDNVB : Free goods determination - Posting structure
N000 : Condition table for free goods determination
TVAK : Sales Document types
<b><i>Reward points if useful</i></b>
Chandra
Message was edited by:
Chandra -
Finding table used in CJI3 transaction
Hi experts,
I am creating a report to produce the output of cji3 transaction.Getting the input as project or WBS i have to calculate actual amount.
For that i want to know the tables used in this transaction.Please help me..
If any one can tell the tables used this "s_alr_87013558" trancaction is also ok.
Thanks & Regards,
Karthik.Hi,
After going into any transaction press F1 where you usually enter the value and then you get performance assistant in that performance assistant press the tab technical information......
it will give you the name of the table and also the fieldname of that particular field.
for example :-
In transaction "s_alr_87013558" :-
table field name
For Database prof :- TCNT PROF_DB
Reward if helpful.
regards,
Syed -
Need to add 2 new columns to the existing table control of C223 transaction
Hi ABAP Gurus,
I have to do a screen enhancement for transaction C223.
Below is the requirement:
need to add 2 new columns to the existing table control of C223 transaction.
there is no customer exits, screen exit or user exit present for this transaction C223, i have found one enhancement spot for this transaction.
i dont have any idea how to do this in standard transaction C223, the table control in C223 saves the data to MKAL table and the table control uses the structure MKAL_EXPAND in the screen program.
i have created an append structure for the 2 fields to the standard table MKAL.
Can anyone please suggest me how this can be done in standard screen C223, will the enhancement spot can be used to do this....
please sugest...
Thanks & RegardsHi Santosh,
Thanks for the reply. I have looked into this Enhancement Spot CPFX_SCREEN_SET , inside this there is only one method INPUT_DISABLED having below parameters
IM_MKAL Importing Type MKAL Production Version
EX_MSGID Exporting Type SY-MSGID Messages, Message
EX_MSGTY Exporting Type SY-MSGTY Messages, Message
EX_MSGNO Exporting Type SY-MSGNO Messages, Message
EX_MSGV1 Exporting Type SY-MSGV1 Messages, Message
EX_MSGV2 Exporting Type SY-MSGV2 Messages, Message
EX_MSGV3 Exporting Type SY-MSGV3 Messages, Message
EX_MSGV4 Exporting Type SY-MSGV4 Messages, Message
EX_INPUT_DISABLE Exporting Type CHAR1 Display Only if X Was Set
the BADI definition present here is a SAP internal so we cant implement the BADI , but we can created a enhancement spot implementation for this. as per my understanding on this the enhancement spot is only for making the table control fields display / change . i dont think this can be used to add two new coloumns to C223 table control.
I am not sure thats why seeking your help/valuable sugestion on this.
Please provide your sugestion on this , so that i can come to conclusion on this issue.
Thanks & Regards
Siddhartha Mishra -
User Exit for checking Purchase Requisitioner Field in CJ20N Transaction
Hi,
I want user Exit for checking Purchase Requisitioner field while making PR through CJ20N transaction. I have trie EXIT_SAPLEBND_001 user exit. Problem in this user exit is I am not getting Purchase Requisitioner No & Item No in I_CEBAN
structure.
Please suggest what to do ?
Regard's
ShabbirHi,
You can check with this BADI ME_PROCESS_REQ_CUST.
Kindly refer below mentioned link for further details:
Badi ME_REQ_POSTED For CJ20N Transaction
Hope this will help you.
Regards,
Mudita -
Make project profile field non mandatory in CJ20n Transaction
Hi All,
I want to make project profile field non mandatory in my CJ20n transaction. I tried through OPUA, OPUK, OPUC but of no use. The field over there is just an input field. I need to make it non mandatory either through configuration or through code. Please suggest.
Regards,
JayantHi,
this is a required field, as far as the standard SAP code goes: everytime this field is touched the following function is executed in programme FV45EF0V_VBEP-EDATU_EINGEBEN:
call function 'PERIOD_AND_DATE_CONVERT_INPUT'
exporting
external_date = rv45a-etdat
external_period = rv45a-prgbz
importing
internal_date = vbep-edatu
internal_period = vbep-prgrs
ev_date_in_past = lv_date_in_past
ev_period_in_past = lv_period_in_past
exceptions
no_data = 1
period_invalid = 2
date_invalid = 3.
case sy-subrc.
when 1.
set cursor field 'RV45A-PRGBZ' line sy-stepl.
* Bitte Datum eingeben
message e394.
The only way to avoid this is create an implicit enhancement at the beginning of this form, copy the exisitng code in there, delete the message after WHEN 1. and put RETURN at the end of the enhancement. But this would be HIGHLY UNRECOMMENDED, because I am positive you cause a lot of misery later on in the process: this field is mandatory for a reason!
Roy -
Network,Assignment,Profit centre N cost Centre field's in CJ20N Transaction
Dear Gurus,
I need to know the Network, Assignment, Profit Centre and Cost centre fields in the CJ20N transaction.
I have got a requirement to fetch the above fields for every project. I can find the Project name in table PROJ under the field PSPID and the WBS element in table PRPS under the field POSID.
Kindly help me out, as the transaction CJ20N is using Structure for the above 4 fields.
Your suggestions are deeply valuable and are appreciated in advance.
Thankyou,
ZIaUse FM "'BBP_PS_PROJECT_GET_LIST" to get the complete structure of the Project defined in the txn CJ20N.
Just pass the Project number to this FM and you will get all the details under different Internal Tables.
Execute this FM in SE37 for any of the Existing Project of yours in CJ20N. -
Want to know the tables of a particualr transaction code
Hi,
whatz the technique of knowing the tables of a particular transaction code.
I have got a tcode - va01.
Want to know the tables of this transaction code.
How...?Hi,
If you want know about transaction code table details
1. Enter Tcode 'ST05' (SQL Trace on), You can find how many tables are involved in the tcode
2. Goto SE93, enter VA01 and find the program name, Go to object browse (se80) and enter program name and find out how many tables are invloved (Another way go to search- Give search term 'Tables' -> there u can find the tables involved.
Regards
Bhupal Reddy -
Adding data into a custom table through a report transaction
Is it possible to add data into a table through a report transaction. I have been asked to create a report in which when we add certain data in the selkection screen it updates thoses particular fields and the rest of the records can be fille dout in the output. Basically I have a customised allocation table called zalloc. I have to create a report with selection screen having receiving plant, material document of the original transfer psoting , issuning plant , line item number , batch, receiving and issuning storage location. I need to validate this against the mseg table and whatever entry I make in teh selection screen should update my zalloc table from here.
Can anyone help me with this please.
ThanksHi Aarav,
Yes, It is possible to add records to a table using a report transaction. You can use Update or Modify to insert records in a table.Convert the data fetched from the ZALLOC and convert it into an internal table of the same format as that of the ZALLOC table and simply do an
loop at itab_zalloc into wa_zalloc.
*INSERT INTO ZALLOC FROM WA_zalloc*.
endloop.
OR
INSERT ZALLOC FROM TABLE ITAB_ZALLOC
OR
UPDATE ZALLOC FROM TABLE ITAB__ZALLOC .
Update will modify if that record exist and returns sy-subrc as non zero if entry does not exist.
OR
MODIFY updates an existing DB entry or, in no matching entry exists, inserts a new entry into the DB table -
Table used in the Transaction OOER or External Trainer
Can any body help in finding out the standard tables used in the transaction OOER or To add External Trainder.
Hi,
Below declaration is there in the transaction code.
Hope this helps you.
TABLES : hrvpv6a, "screen parameters Dynpro 2000 / 3000
hrp1000, "database for P1000 (SYS_CHECK_SHORT)
hrp1023, "database for P1023 (Dynpro 4200)
t005t, "country names
t522t, "address-forms
t535n, "name addings
t777a, "show these addresses for buildings
t778p, "#EC NEEDED "allow these planversions
q1023, "help structure for relations
p1023, "help structure for relations
pad21, "help structure for relations
pad22, "help structure for relations
pad31, "help structure for relations
pad77, "help structure for relations
pkeyk, "help structure for cost centers
indx . "database for user settings -
How to Populate long text(item text) from BOM CS01 to CJ20N transaction
I have requiremnt in which i need to Populate long text/item text of BOM from CS01 to CJ20N transaction(PS network)
Hi Naveen,
for anylong text related work use the functions READ_TEXT and SAVE_TEXT.
read the long text of the BOM item using the proper header and then populate the same text lines to the PS network using the new header specific to the PS network.
Prabhas. -
Can Oracle 9i enable schema/table creation to be transacted?
If anyone can help with this, that would be much appreciated.
So - the server has disabled autocommit and commits/rollbacks are handled by the application. Even though this is the case, Oracle 9i is not rolling back changes that have (i) created schemas/users and/or (ii) tables.
Worse still, it seems to be performing a partial rollback - some tables in a schema are left with data and others are not.
Now, this may be caused by our server creating tables for indexing while adding data to some existing tables - that is the table definitions have auto-committed the transaction to date, also committing the table insertions/updates.
After some delving, the JDBC driver has the following method: dataDefinitionCausesTransactionCommit - for Pointbase and other databases, this returns false - for Oracle it returns true.
The questions are therefore:
1) Is there a solution with Oracle 9i that enables schema and table creation to be transacted?
2) Does Oracle 10g allow definition clauses to be transacted?Actually I believe there is a limited way to make DDL statements transaction based via the CREATE SCHEMA command.
From the 9.2 SQL manaul >>
Use the CREATE SCHEMA to create multiple tables and views and perform multiple grants in a single transaction.
To execute a CREATE SCHEMA statement, Oracle executes each included statement. If all statements execute successfully, Oracle commits the transaction. If any statement results in an error, Oracle rolls back all the statements.
<<
This may be of some limited use to you, but your process should probably be changed to track of the DDL and to undo (drop) any created objects if a rollback is issued.
HTH -- Mark D Powel --
Maybe you are looking for
-
Latest Keynote update won't open file. Says I need Keynote update! Why?
I'm working on an urgent Keynote presentation for work (yes, on Sat night!) from my boss's MacBook at home ... or, rather, I'm trying to. Keynote just won't open the Keynote file I created yesterday on a different MacBook (reading from USB key). It s
-
Exit with bind variable from sqlplus and then echo $?
Hello world. I don't know why they are different between :v_num and the value of "echo $?" thanks. SANOWT:oratest:/data3/oratest/oratest/hgjung> cat t.sql select count(*) from all_objects; variable v_num number; begin select count(*) into :v_num from
-
Basic ?'s from a new mp3 owner (zen
)Is my zen V 2gb? mp3 player battery memory or no memory. No memory means I don't have to worry about losing capacity if I recharge when battery is less than fully discharged. 2)How can I check to see how much recording capacity I've used and how muc
-
1DC thoughts + feature requests
Hello, It has been just under a year now that I acquired the 1DC and have actually totally, completely fallen in love. Although my short little fashion run-n-gun films show my poor DP abilities, this camera is an absolute dream for a imager suchas my
-
Navigate to Transactional iVIEW by passing parameters & UWL
Hi Experts, I have 2 queries here, 1>> I understand that to navigate to a transaction from webdynpro a transactional iview has to be used. In my case i have to navigate to ME51 from the component and display the transaction with the details of a pat