Lookup Type For Status Field
Hello!
Please I need a direction to confirm that it is not recommended to add a lookup_code on the table FND_LOOKUP_VALUES, where the lookup_type is 'CODE_STATUS'.
I also need to confirm that this lookup_type is really the one available for most of the tables with the field STATUS, as in the table Hz_Cust_Acct_Sites_All.
There is a demand to add a new lookup_code in order to manage the STATUS, but that would kill the core searches, updates, ....
So, the demand must be solved with a flexfield.
I just need an OK to that, and if possible, any comment.
if it helps, here the select query:
select * from FND_LOOKUP_VALUES WHERE lookup_type LIKE 'CODE_STATUS%' ORDER BY 2,3
Thanks!
Edited by: 906847 on Jan 9, 2012 7:53 PM
Got the answer from a SR today.
It says that I was correct and that:
"The statuses you will see are A and I and D (deleted if delete after merge ). Receivables only uses these three, and not any other.
DQM searches only search for customers with status of I and A. "
The query which lists these statuses is using the correct table (Fnd_Lookup_Values) and with the correct value for the lookup_type ('CODE_STATUS'). It doesn't mean it's the same query, but it's OK for a general notion of it.
Edited by: thq on Jan 10, 2012 6:09 PM
Similar Messages
-
How to change data type for a field?
Hi Experts,
I have one std screen having one field having numeric type. So it will accept only numeric value. Remember I am using standard transaction.
Now my user wants to enter the special character like + or - in that field(having data type numeric).
How i can change the data type for the particular field so that it will also accept + or -?
Plz reply me as earliest as possible.
Thanks in advance.Hi salil ,
u have to change / create Domain of that Data Element.
but u have to check the Implications. i have done the same thing , but that one is Customer defined one , i got nearly 20 short dumps while doing the TP.
regards
Prabhu -
What should be the data type for a field in ztable?
i am desing a ztable , wht should be the datatype for a field if i want to enter values like -1.5 and -2.5 , negative values with decimals what should be the data type???
declare as P type. TYPE P DECIMALS 1
Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.
You can use type P data for such values as distances, weights, amounts of money, and so on.
Also check this link.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm
Regards,
Maha -
Using Icon for status field.
Hi all, I have a status field with different status (Accepted, rejected, pending etc.) but Instead of using the words I want to use icons that represents the status.
how can I do that?
Any help will be appreciate it.
Thanks in advanced,
FidelHi,
If you are using ALV Grid, then you can go through the following links.
<a href="http://www.sapfans.com/forums/viewtopic.php?t=24512">http://www.sapfans.com/forums/viewtopic.php?t=24512</a>
<a href="http://www.sapfans.com/forums/viewtopic.php?t=79424">http://www.sapfans.com/forums/viewtopic.php?t=79424</a>
Hope this helps.
Please reward some points.
Regards,
Amit Mishra -
Dear all,
Actually i want to store Numeric Value with '+' or '-' sign in module pool's Screen Field.
how can i store that type of data.
currently i m declared as a decimal type variable.
but when value is coming with negative sign in internal table. dum error is occured like this...............
There was a conversion error in the output of fields to the screen.
The formats of the ABAP output field and the screen field may not match.
Some field types require more space on the screen than in the ABAP
program. For example, a date output field on the screen requires two
more characters than the corresponding field in the ABAP program. When
the date is displayed on the screen, an error occurs resulting in this
error message.
Screen name.............. "ZPPI_SCRAP_RECORD"
Screen number............ 9000
Screen field............. "T_ITAB-DIFF"
Error text............... "FX015: Sign lost."
Other data:
Plz help meHi Anshuman Singh,
Is there any possiblity to adopt the following logic for your requirement?
Just declare a character field with length of maximum number of digit you want to input plus one.
Now input with '+' or '-' sign.
Before processing this value, check for only numbers except sign.
Now except that sign, assign or write the remaining value to the temprary varibale for processing.
Regards,
R.Nagarajan. -
Default Value of status field been shown as "Open"
Hi All,
I am facing some error regarding the status field in service request record type.The status field is showing as "open"when i had created a new service request but its not been reflected under service request detail page eventhough its not been present in piclklist.I want to remove open status as not been shown as open under service request list page.Please suggest me how can remove that "open" from status field,Thanks in advance.
Regards,
Manish.Hi
You can go to the field setup of service request and edit the Status field. In Default Value give "" to denote null.
By default the system gives open. So when you give the double quotes the new records created would have status as null.
Hope this helps.
-MR -
Status Field in Qualifications Window (HR Module)
Hi All,
What is the name of the lookup linked with 'Status' Field in 'Qualifications' Window?
Thanx in Advance,Please it is urgent,
Can anyone help please? -
Negative values for Custom field in SAP coding block !
Hi All,
Hope all of you are doing fine.
I need your valuable suggestion/possible workaround for the following requirement.
u2022 The project requires me to add a custom new field to SAP coding block, which can take negative numeric values.
u2022 The standard u201Caddition of custom fieldu201D configuration allows me to have the data type of the newly added custom field as either NUMC or CHAR. NUMC data type does not allow negative values. Standard configuration does not allow me to choose other data types (for custom field addition) like QUAN which can allow negative values (by checking the Sign at domain level in data type).
u2022 Moreover, once I have added the custom field, itu2019s not possible to change the data type of the newly added field (say from NUMC to QUAN).
I wanted to know if anyone of you have any project experience/knowledge about possible workaround, where we can add a custom field in SAP coding block, which can accept negative numeric values (through standard configuration or otherwise).No experience on that, but I strongly advise you to not trying to do something else than what was designed by SAP. So, you can create a character type field, with for example a field exit (though this technology is obsolete, it's very useful in that case) to validate its content (and reformat it if needed).
Note that from a functional perspective, I think an amount is strange in the coding block, so maybe ask the functional people to know why they need it... -
I was trying to create a text alert. I was calling following in jsp
email.setContactPointPurpose(myLookUpCode); //say XXMY_SMS_SHIP
PartyManager.createEmail(email, ApiConstant.CONTACT_POINT);
Getting following exception:
Error in saving customer information.
Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.
Error trace:
oracle.apps.ibe.customer.CustomerException: Error in saving customer information. at oracle.apps.ibe.tcav2.Email.create(Email.java:187) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Caused by: oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) ... 11 more Error in saving customer information. oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.Tried this but it is giving the below error
APP-FND-01242: Cannot read value from field PER_ASSIGNMENT_ID
Cause: The field PER_ASSIGNMENT_ID could not be located or read.
Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field. -
How to lookup application set status in BPC for Excel
Hello,
we have created some packages diabling the appset status when running.
These packages update dimension data and/or fact data.
Other users will receive an error when sending data to the application when the
packages are running.
Ist there a change to lookup the appset status in BPC for excel?
May be continuously with a macro or just before sending data?
I didn't find a bpc function for this task.
Help appreciated. Thanks
Jochen KowalskiHi Jochen,
I don't believe there is any way to do this with built-in BPC functionality.
Assuming you're on BPC for Microsoft, in the appset's DB, you can query as follows:
select [value]
from tblDefaults
where [type] = 'system' and keyid = 'availableflag'
-- value of 1 = available
-- value of 0 = not available
I know this works for system availability when it's controlled on / off, manually from the admin consol. I believe it also works when the system is taken offline by a data manager package, but you'd need to check if you plan to implement this. -
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 -
User Exit in VA02 for Warranty Status field change
Hi Gurus,
Can any one pls suggest the user exit that gets trigerred when there is a Warranty Status Field change in the Repair Order of Order type ZRAS and when the change occurs it has to update the work center of the Corresponding Service Order.
Pls help me with this issue.
Regards,
VIJAYB.Transaction Code - VA02 Change Sales Order
Enhancement/ Business Add-in Description
Enhancement
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
V46H0001 SD Customer functions for resource-related billing
V45W0001 SD Service Management: Forward Contract Data to Item
V45S0004 Effectivity type in sales order
V45S0003 MRP-relevance for incomplete configuration
V45S0001 Update sales document from configuration
V45P0001 SD customer function for cross-company code sales
V45L0001 SD component supplier processing (customer enhancements)
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45E0001 Update the purchase order from the sales order
V45A0004 Copy packing proposal
V45A0003 Collector for customer function modulpool MV45A
V45A0002 Predefine sold-to party in sales document
V45A0001 Determine alternative materials for product selection
SDTRM001 Reschedule schedule lines without a new ATP check
Business Add-in
BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
BADI_SD_V46H0001 SD Customer functions for resource-related billing
No.of Exits: 15
No.of BADis: 2 -
Techical field ( and Table ) for Promotion type for a particular Customer
Hi All,
Where can I find the promotion type for a particular Customer?
Thanks,
SanjeetHi Suman,
I think you are talking about Transaction VB33.
Table - KONA (Rebate Agreements)
Field - KNUMA (Agreement (various conditions grouped together))
Structure - RV13A (Input/Output Fields for Price Element Maintenance)
Field - KNUMA_PI (Promotion)
And if you want based on particular customer..
Table - KOTE003 (Customer)
Field - KNUMA (Agreement (various conditions grouped together))
Table - KOTE004 (Customer Hierarchy)
Field - KNUMA (Agreement (various conditions grouped together))
Best Regards,
Sayak -
Hi
It's a bit of a weird one. In an XSLT List View web part when Inline editing is enabled if I change the date column, it changes the lookup field column as well. This behavior only occurs if the lookup list has more than 20 entries. Below 20 and we are
OK.
Let me explain by example:
MileStones List - Having more than 20 items
Tasks List - having a lookup to the Title field from MileStones list. Also having a due date field.
Simple web part page with one XSLT List View web part for Tasks having inline editing enabled.
When I edit the first record's due date and press enter (which saves the changes and moves onto next record) and change the due date on second record without even touching the MileStone field. Press enter to commit changes and you see the milestone changing
on first record!
The wierd thing is that if the MileStone list has less than 20 items all works as expected.
Any pointers will be appreciated
ThanksHi,
This is a known limitation when working with complex fields like Lookup field.
A workaround is that we can avoid using the inline edit feature when there are
complex fields in a list.
You can take a look at this KB from Microsoft Support to get more details:
http://support.microsoft.com/kb/2600186/en-us
A similar thread for your reference:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/3d369611-ee79-4b5c-86bb-c0f3878cd746/standard-list-view-with-inline-editing-lookup-column-copies-preceding-or-following-items-related?forum=sharepointgeneralprevious
Thanks
Patrick Liang
TechNet Community Support -
How to change the data type in the table ESLL for the field USERF2_NUM ?
Hello Friends,
I have a requirement in which one of the change is to convert the data type of the field 'USERF2_NUM' in the table 'ESLL' from 'QUAN' to 'CHAR'.
How do i do it if i have an access to change it..........i think i should also check the impact of the change if done.
Kindly tell me as my requirement starts with this small change.
Regards,
Rajesh KumarThanks for the reply Sowmya.
I would like to know 2 things.
1. Is it ok to change the data type of the field 'USERF2_NUM ' which is in the table ESLL. from quan to char.
2. The table ESLL already has entries. if we change the data type from QUAN to CHAR what is the effect on the existing entries of the table .
Kindly reply me back.
Thanks & Regards,
Rajesh Kumar
Maybe you are looking for
-
Discrepancy in Purchasing cube
Hi Frndz, There is a problem in Invoice amount.Total invoice amount is coming differently in BW side compared to R/3. Even i am not able to get how they are calculating invoice amount as posting date. Please help me on this regard.
-
Can't change sort settings for multiple items in iTunes 7.1
iTunes 7.1 introduces a great feature-the ability to set a separate Sort Name, Sort Artist, Sort Album, etc. This means that "Weird Al" Yankovic songs can finally appear down among the Y's instead of up at the top of every list, by changing the Sort
-
Re: forwarding email?
Running Windows 8 how do you forward an email through window mail?
-
No landscape view???
Is it possible to lock the iPhone 4 from going into landscape view like the iPad does?
-
HD clips truncated on 1/4- & 1/8-speed import
All- I'm on a 12" PB 1.5Ghz, 1.25GB RAM, running the latest and greatest OS X / IMHD updates as of today. Camera is a SONY HDR-HC1. The issue involves importing HD at slower-than-realtime speeds. As has been discussed, the capture is supposedly real-