PS/cj20n User Fields name
Dear ABAPERS,
PS/CJ20N has a tab in activitie(s) called "User fields". In the User fields tab, there is a field key called Regin and estimate identification, in this there is an estimate No. text box which shows the structure AFVGD-USR00).Will anyone pls. tell me the table and field name of estimate no. text box.
Thanks And Regards,
Muhammad Sohail
Firstly,
Region and Estimate Identification are names defined by your organization, the standard names for those fields are Field1 Field2 etc...
Secondly, the table you are looking for is AFVU.
pk
Repetitive answer because of the current caching problems in SCN
Edited by: kishan P on May 20, 2009 11:45 AM
Similar Messages
-
CJ20N User Field Descriptive Text
Hi all,
In CJ20N, for an Activity's User Fields tab, we have a need to add descriptive text next to the field AFVGD-USR03 such that when data is entered into the field, the descriptive text is populated.
For example, we've implemented the field to input a user ID. We would like the user's name to appear to the right of the field as descriptive text.
How can we do this?Check this --
First Option -
SPRO - Project System - Structure - Operative Structures - Network - Enhancements for Network - Create Customer-Specific Fields in Network Activities
Create Customer-Specific Fields in Network Activities
The following SAP enhancement is available for networks in the Project System:
CNEX0008 Customer-specific fields in network activities
You can use this enhancement to add new customer-specific fields to network activities in table AFVU. To process these fields you can create your own screen, which the user can call up when maintaining networks. or from the project planning board.
The enhancement CNEX0008 contains the following enhancement components:
Menu entries:
SAPLNWGR+CU1 project planning board
SAPLNWCU+CU1 network maintenance (CN21, CN22, CN23)
Function exits:
EXIT_SAPLCONW_002 for data transfer to your own program
EXIT_SAPLCONW_003 for data transfer from your own program
Screen areas:
SAPLCONW2999_CUSTSCR1_SAPLXCN10800
Activities
1. Create the enhancement.
To do this, either create a new project or use an existing one.
2. Create structure CI_AFVU in ABAP/4-Dictionary (Transaction SE11) in your own development class.
3. Expand structure CI_AFVU to include your own fields.
Please note:
to use the name ranges reserved for customers
the maximum number of fields in database tables, in this case AFVU and CI_AFVU is 749 (for SAP fields and user-defined fields together). For reasons of clarity, we recommend that you keep the actual number of fields to a minimum.
SAP reserves the right to add new fields to table AFVU; if the maximum is reached, your user-defined fields could be removed.
Activate the structure.
4. Maintain the enhancement components:
Assign the function customer fields a name.
Add to the program coding for the function exit EXIT_SAPLCONW_002. This exit transfers SAP data to your part of the program.
RTo do this, call up the function module and double-click on the include Create the include module.
Add to the program coding for the function exit EXIT_SAPLCONW_003. This function exit takes the data from your part of the program and Ptransfers it to the SAP standard program. Create your own corresponding module.
Create the screen area.
5. Activate the project.
Only once you have activated the project, will your enhancement take effect.
Note for Batch-Input
If you want to fill your customer-specific fields later via batch-input you must take screen SAPLCONW 2999 into consideration.
Second option --
Check enhancement CNEX0001
Overview
In the standard Project System, the system does not check the
user-defined fields in WBS elements and activities because their
significance is customer-specific.
You can use this enhancement to add a check. The components of the
enhancement are each accessed when you make entries in the appropriate
user-defined field.
Parameters
In each case, the values of the relevant object (e.g.WBS element or
activity) are transferred to the function modules. There are no return
parameters. If the value in a user-defined field (field name USR...) is
not allowed, an appropriate error message (E...) should be output.
Enhancement CNEX0001 contains the following components:
o EXIT_SAPLCJSS_001: PS Customer-Exit for user-defined fields in the
standard work breakdown structure
o EXIT_SAPLCJWB_001: PS Customer-Exit for user-defined fields in the
work breakdown structure
o EXIT_SAPLCONW_001: PS Customer-Exit for user-defined fields in the
network
o EXIT_SAPLCPDO_001: PS Customer-Exit for user-defined fields in the
standard network
Procedure
For details of how to incorporate enhancements, refer to the system
documentation or to the online documentation for transaction CMOD
(project management of SAP enhancements, function exits)
Hope this helps.. -
Hi,
via customing (transaction OPS1) we created a new tab in the project builder (CJ20N) with some new (text) fields. This is working just fine. Another requirement is to add a F4 help to these fields. The F4 is displayed which is the standard way after defining these fields. But when pressing F4 a searchhelp / domain, or whatever should be displayed in which the user can select an entry. My question would be, is this possible an if so how to do this?
We're interested in field USR00 of table PRPS. For this field an F4-help must be defined and called.
Kind regards,
Micky.Hi Banu,
I was searching some help on CJ20N and I found you giving some valuable answers..So,plz help me in solving this issue.
This is an Urgent Issue!!!!
I have a requirement to upload the data .Initially they have created project definition and wbselement with the help of some data transfer technique later on they have added custome fields to this transaction.
Now for the existing project and wbs element they want to update the values for the new custom fields .
So can you suggest me how to approach this problem as this is my first requirement in PS.
Points will be rewarded....
Awaiting for your reply..
Regards,
Ravi Ganji -
Adding Include fields to "user fields"
Hi...
I made an Include adding some fields to PRPS...
Now I want these fields to show up in the CJ20N - > "User fields" Tab...
How should I proceed??
PS:
I've made a screen-exit, but I need the fields to show up in the Substitution Rules.
How can I do that??
Any solution would fit my need...
Thanks,
Eric
Edited by: Eric Shimabukuro on Mar 23, 2011 9:15 PMI don't know how come this is not working for you. Just confirm the steps once again as following:
- Your UDF is USR_UDF_CUSTOMERID (let's assume)
- You have made an entry is the section *<!-- User Self Registration and User Profile Modification section -->* of FormMetaData.xml like below:
*<Attribute name="USR_UDF_CUSTOMERID" label="global.label.customerid" displayComponentType="TextField" dataLength="30" map="USR_UDF_CUSTOMERID"/>*
- In addition to it you have also made an entry like following in section *<!-- Definition of the form that will be displayed to the user for profile modification -->* of the same xml:
*<AttributeReference editable="true" optional="false">USR_UDF_CUSTOMERID</AttributeReference>*
This should work perfectly.
Thanks
Sunny -
hi friends
i am trying to set peoples or groups field in sharepoint list form with current user login name
here my code
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
<script type="text/javascript">
$(document).ready(function NewItemView () {
var currentUser;
if (SP.ClientContext != null) {
SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser, 'SP.js');
else {
SP.SOD.executeFunc('sp.js', null, getCurrentUser);
function getCurrentUser() {
var context = new SP.ClientContext.get_current();
var web = context.get_web();
currentUser = web.get_currentUser();
context.load(currentUser);
context.executeQueryAsync(onSuccessMethod, onRequestFail);
function onSuccessMethod(sender, args) {
var account = currentUser.get_loginName();
var accountEmail = currentUser.get_email();
var currentUserAccount = account.substring(account.indexOf("|") + 1);
SetAndResolvePeoplePicker("requester",account);
// This function runs if the executeQueryAsync call fails.
function onRequestFail(sender, args) {
alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
function SetAndResolvePeoplePicker(fieldName, userAccountName) {
var controlName = fieldName;
var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
peoplePickerEditor.val(userAccountName);
spPeoplePicker.AddUnresolvedUserFromEditor(true);
</script>
but it is not working
please help meHi,
According to your post, my understanding is that you wanted to set "peoples or groups" field with current user "login name" in SharePoint list form using JavaScript.
To set "peoples or groups" field with current user "login name”, you can use the below code:
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
<script type="text/javascript">
function SetPickerValue(pickerid, key, dispval) {
var xml = '<Entities Append="False" Error="" Separator=";" MaxHeight="3">';
xml = xml + PreparePickerEntityXml(key, dispval);
xml = xml + '</Entities>';
EntityEditorCallback(xml, pickerid, true);
function PreparePickerEntityXml(key, dispval) {
return '<Entity Key="' + key + '" DisplayText="' + dispval + '" IsResolved="True" Description="' + key + '"><MultipleMatches /></Entity>';
function GetCurrentUserAndInsertIntoUserField() {
var context = new SP.ClientContext.get_current();
var web = context.get_web();
this._currentUser = web.get_currentUser();
context.load(this._currentUser);
context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
Function.createDelegate(this, this.onFailure));
function onSuccess(sender, args) {
SetPickerValue('ctl00_m_g_99f3303a_dffa_4436_8bfa_3511d9ffddc0_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_UserField', this._currentUser.get_loginName(),
this._currentUser.get_title());
function onFaiure(sender, args) {
alert(args.get_message() + ' ' + args.get_stackTrace());
ExecuteOrDelayUntilScriptLoaded(GetCurrentUserAndInsertIntoUserField, "sp.js");
</script>
More information:
http://alexeybbb.blogspot.com/2012/10/sharepoint-set-peoplepicker-via-js.html
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How can i get value when the field name is user's defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyYou should give the user defined name in the ResultSet.getXXX method to retrieve the column value.
Example
SQL:
Select ename as employeename from emp;
You should say :
ResultSet.getString("employeename"); to get the value.
Alternatively you can retrieve it using column number:
ResultSet.getString(1);
Chandar -
How can i get the value when the field name is user defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count(*) as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyHi Ricky
To access pseudo columns you can specify an alias or use the index on the column (e.g. getInt(1)).
Chris
NB: you should use bind variables instead of concatenating the id to the SQL statement. -
"Users " Form Name from "User Definied Field Definition" does not showing
Hi everyone!
I start to implement the new SAP Connector on OIM 9.1.0 and one of steps is configure the lookup Lookup.SAP.HRMS.AttributeMapping.
I need to add more fields beyond those already exists, and in accord to Documentation, I need to create the UDF of these fields, but when I search of "Users" form name form "User Definied Field Definition" option, I receive the follow response:
"Query Failed: No Record For this Query"
Thinking about it, I think that necessary create one User Form, but...this form isn't a standard form?
What I do in scenarios like this?Can you share your environment details. Are you trying it out in a newly installed OIM ?_
Yes, it's a newer fresh installation of OIM 9.10. We use the old version (9.03) in production environment and would like to upgrade to 9.10. This issue occur in a fresh installation in Development Environment.
The one possible reason for this may be due an improper upgrade to 910X. I actually faced this issue while I was installing/upgrading my OIM. I did the process all over again and it was just perfect. I am not sure that this might be an issue with you or not. But there is simply no othe reason for the Users from not showing uo in the "User Definied Field Definition"._
If you have taken a fresh backup of the schema just after installation, then import that backup dump and see if you are able to view the Users form. If in case you are not able to view it then your installation / upgrade is corrupt._
No, we don´t have a fresh dump of environment. We just follow the documentation and all the steps was done without problem. The SAP connector import the fields from the reconciliation using flat IDOC file, just only the standard fields. We need to add newer fields and attributes and after, we face this problem. -
How to add user field in WBS overview screen (CJ20N)?
Hi Gurus,
I want to add user field that defined in structure CI_PRPS to WBS overview screen in CJ20N.
Is it possible to enhance WBS overview screen? And what is the user exit?
Thanks & Regards,
Ari
Cross post locked
Edited by: Rob Burbank on Dec 21, 2009 11:17 AMHi Martin,
Thank you for our information.
But unfortunately this user exit not answer my question. I need to put the user field in existing WBS overview screen, not creating new tab (user tab).
Regards,
Ari -
BADI OR USER-EXIT NAME FOR CJ20N
Hi GURU ,
Is there anyother BADI which is triggre in the time of Confirmation .
The process is - CJ20N -
> Internal Activity -
> User Field -
> U can select or Not Check box ( I need when we will not select Check Box ) -
> EDIT -
> Activity -
> Confirm .
In this time which BADI / EXIT is trigger .Hi,
Please check in package CJBADI....there u will get relavent BADI for T.CODE CJ20N....
hope this will help a lot...
Regards,
Kranthi. -
How to make Form Field names appear for User??
Hi im creating a form template that will be sent to over 150 stores so I need this to work and be easier for my stores.
Is is possible to make the field names visable for the user so they know what details are need in the fields?
Please if anybody can help!!Sorry I forgot to mention I need it to visible on Text boxes, doesnt seem to be working
-
User Exit for TCode CJ20N to populate Project system user fields
Hi team,
need one support from your side..
I am looking for User Exit for TCode CJ20N to populate Project system user fields on SAVE.
I have found
Enhancement CNEX0001
Short text PS: User field
which is exactly suiting my req...as it has USER Fields (USR08/USR09 )in export paramters..
BUT it is not triggering on SAVE,,
Any hint or is any other user exit/badi which have USER Fields in export paramters.
Warm Regards
KrishanHi Krishnan,
If you want a custom tab that contains User defined fields at Project level then you have to use CNEX0006 user exit. Before this you must declare your fields using the CI include CI_PROJ in the PROJ table.
If you want a custom tab that contains User defined fields at WBS level then you have to use CNEX0007 user exit. Before this you must declare your fields using the CI include CI_PRPS in the PROJ table.
In the PBO function module exit of these exits you must use the following statements as the first statement.
MOVE-CORRESPONDING sap_proj_imp TO proj.
MOVE-CORRESPONDING sap_prps_imp TO prps.
In the PAI function module exit of these exits you must use the following statement as the last statement.
MOVE-CORRESPONDING proj TO cnci_proj_exp.
MOVE-CORRESPONDING prps TO cnci_prps_exp.
The remaining programming as in the case any Screen Exit.
Regards,
Abijith -
Crystal Report 11 being called from BOXIR2 Infoview.
The field name is included in two formulae in the report - no errors in Dev or Production, just in test.
Any ideas why this is occurring?
Thanks!Hi Helen,
The best way to test this will be to open the report in question in Crystal Reports designer on the test BOE server.
In Crystal Reports, verify the report is using the desired connection then do a Database|Verify database. If the report errors then we know there is a difference in the table/fields it's reporting off of.
Regards,
Wallie -
Hi ,
I have maintained a specific numerical values under " User field " tab in Cj20N under activity tab.
Now i need to take that value for developing a report . Could any one please suggest me the right table name and path to track the value.
regards
Muralidharan.SThanks with that I got the Operation and counter number , but the values against the user feild entry is still not available.
Regards
Muralidharan.S -
How to capture the field name on a form when it's double-clicked?
Hello,
I plan to create a two field Help table that uses the thirty or so unique field names on the user form in field one. The second field is a Memo type field that contains the Help information for each field.
Once I know the field name clicked, I will probably use a query to retrieve the help information. I'm planning to use the Double-Click event so the users can double-click any field on the form to be presented the specific field related information
from the Help table.
How can I capture the name of the field that was double-clicked, so I can proceed with this project? Thank you.
Cordially,
John
Thank you, John Portland, MaineThank you, Hans,
How about this code:
Dim varClickedFieldName as String
varClickedFieldName = ScreenActiveControl.ControlSource
Or would you recommend other code?
Cordially,
John
Thank you, John Portland, Maine
Maybe you are looking for
-
?I'm trying to download a free app and I keep getting a message that says; "Payment Type paypal is not supported on this device blah blah go to the iTunes Store on your computer. You must verify your payment info before you can make purchases. I di
-
FI-how to exclude accounting document that have reversed?
Dear gurus, I want to develop a report for list all available FI accounting document from BKPF and BSEG. It must exclude accounting document that have reversed. How to write the 'where condition' statement for SQL language to exclude accouting docume
-
How to setup a Default Playlist to Airport but allows BYOD playlist override?
Sorry for the unclear description. Here is what I am trying to accomplish. I have my laptop or ipod playing a default playlist to my Airport express attached to my Stereo system. The music plays fine with no issues. I come into the house and want
-
Need advice-reinstall 10.4 Tiger?
I've been doing this Mac OS upgrade thing, pretty aggressively, since the Multi-Finder (OS 6?). So, I'm not afraid of the bleeding edge. That said, with Leopard, I think I might be bleeding too much. I've used it since the end of October. On a daily
-
Knowing how many people is connected to my airport express
I have an airport express and is encrypted how ever I would like to know how many people is connected to it, is this posible?