Whts the signifacnce of MANDT field wid data type CLNT in DB table ??
nybody pls explain in details?
Whts the signifacnce of MANDT field wid data type CLNT in DB table ??
why fields ( ex- Kunnr - CUSOMER NO. ) is repeated in many tables, but not as a Primary Key , so whts d need to include dis field in many tables? we can fetch the sem field from a single Table?/
Hi sager
MANDT is field for client , means it describes the parcular data is for perticular CLIENT.
with this field you can contain data for multiple client is one table, that is the advantege.
and read some basic tutorial .
Thanks & Regards
Prashant Gupta
Similar Messages
-
Adding fields with data type "TIMS" to the BP transaction
hi all,
This is Anil regarding the addition of fields to the BP transaction.
here my problem is for BP transaction I could not find any BADI or screen exit to add the fields. Even EEWB tool does not allow us to cretate the fields with data type "TIMS". so could you please suggest any other way to add these fields to BP?
when I enter the values to the time fields in BP transaction, they must reflect in
BUT000 table also?
Regards,
Anil .In the physical layer, Column Properties change the data type to int.
If still problem exists, In the Business Model, write a case statement like
case when column1=1 then 1 end
and apply count aggregation on the new calculated column,add the column to presentation table, use that new calculated column for report.
- Madan -
Use the value of a field as column-name of a dynamic table
Hi All
I have the following situation:
a) Internal table TB_ORDER_CONDITION ==> data: tb_order_condition type standard table of bapicond.
sample of the internal table TB_ORDER_CONDITION:
CONT_TYPE # CONDVALUE# CONDBASEVAL
ZR00 # 38.800000# 1.000000
ZR30 # 2.800000 # 0.000000
SKTO # 0.000000 # 57.8500000
b) dynamic-table <L_TABLE_II> has the following columns:
ZR00#ZR30#ICM3#IPS2 SKTO
c) I would like to move as below:
ZR00#ZR30# ICM3#IPS2# SKTO
38.800000#2.800000#57.8500000
Observation:
I used this symbol just to show the separationfrom one column from another.
Items a) and b) are OK. The problem is that I don't know how to make this move as showed in item c).
Could you please advise?
Thanks in advance.
GaiaHello,
Check the code snippet below:
FIELD-SYMBOLS: <wa_order_creation> TYPE bapicond,
<l_table_ii> TYPE STANDARD TABLE,
<l_wa_ii> TYPE ANY,
<l_fieldval> TYPE ANY.
SORT tb_order_condition BY itm_number. "Sort by Item Number
LOOP AT tb_order_condition ASSIGNING <wa_order_creation>.
* Add a record to the dynamic table for each item
AT NEW itm_number.
APPEND INITIAL LINE TO <l_table_ii> ASSIGNING <l_wa_ii>.
ENDAT.
ASSIGN COMPONENT <wa_order_creation>-cond_type
OF STRUCTURE <l_wa_ii> TO <l_fieldval>.
IF sy-subrc = 0.
<l_fieldval> = <wa_order_creation>-cond_value.
ENDIF.
ENDLOOP.
BR,
Suhas -
How to Transfer Database Table Field to Data Type in XI
Dear All,
Dear All,
I am working on scenario to transfer data(Database Table) from Non SAP System to SAP system through XI.
While Defining "Data Type" in XI i want to create Data Type as of Database table in my(Oracle Database).There is any direct method to import Database Table field into "Data Type" in XI.
thanks,
RPHi;
Edit plus is a tool using which you can edit your file and make changes to it.
You can download it from net ,just search for it on google.
this will help you to get in the field names of the table by editing the file .
Mudit -
How to display zero in the screen's input field using numc type
Hi,
I want to display the zero value in the input field , when I using the NUMC input field on the screen .
The zero will be changed to blank ,when I click the Enter key.
What I should do for it?
Any help is appreciated.
Regards,
TrevorHi ,
Thanks for your quickly answer!
I use the numc input field in the dialog's screen.
I am not sure how to do the realize the function like 'UNPACK'?
In fact, I can't changed my input field's data type.
When the status of my input field is display, I can display the zero on the screen. But when the input field is input status , there is blank!
Regards
Trevor -
How to set a default date for a custom field of Date type in project server 2010.
hi,
can somebody help me.
How Can i set the default date for a custom field of date type in project server 2010 ?Dear Rohan,
You can set default value to custom field thru Lookup table. Assign lookup table to custom field and set default value to some lookup value (Note: check the “Choose a value to use as a default when adding new item” checkbox).
Regards,
Avinash kumar | Blog:http://avigr8.wordpress.com | If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. -
How to set focus on field having data type other than character(eg. NUMC)
Hello all,
I have developed one screen having table control inside. In table control suppose if numeric type field is blank(eg. Employee number of data type NUMC), system should throw error message and should put cursor focus on that perticular filed. In the same table control for fields of data type 'CHAR', I have done this using 'SET CURSOR FIELD' .
Please, suggest me how to set cursor focus on the fileds of data type other that character(eg. NUMC)Have you tried it? SET CURSOR FIELD ... works fine for type 'N' fields in a table control. The restriction is 'character-type' and 'flat'. Type 'N' (or NUMC-like) fields are both.
-
How to control the name of custom field in data base table, added by AET
Hi,
I have added the one custom field by Application Enhancement Tool (AET).
The name of custom field has been added in the data base table as ZZFLD000004 by AET.
I need to add the some meaningful name like that ZMYPROB.
How can I control the name of custom field in the database field through AET?
Thanks,
AmitGot the answer.
Need to click on the Enable Expert mode, then custom field name will be editable. -
Value put in the maintenace view for field of DOC type gets divided by 100
Hi all,
We have a product table ZPROD_T which contains one quantity column (QUANT) of the data type DOC. We have also created a view and a maintenance view for this table.
The problem is that when we add new values to the table using the maintenance view, the value that we add to the QUANT field gets devided by houndred. E.g. if we put in 4 in the QUANT field (type DOC), the value that we later see in the table is 0,04!
How do we go about to solve this problem and get the correct value in the table? Should we change the maintenance view somehow or change the data type in the QUANT field from DOC to something else?
All help is greatly appriciated!
BR,
ArminYes, that would be an option, but I was kinda hoping there was another way to solve this problem. Namely, when we would like to have ability to have decimal values in that field, e.g. if we have quantity in sqr meters or meters. Also if we change data type to QUAN than we need to put values in the "Currency/Quantity fields" in the table ZPROD_T, and at the time we are not sure about what unit of measure we are gonna have!
Is it possible to keep DOC data type and still get the correct values in the table?
/Armin -
Problem using SELECT-OPTIONS in an InfoSet with a field of data type UNIT.
I have created a simple InfoSet that links MARA with MARM. In the 'Selections' section of the InfoSet I have a variable named 'ZMEINH' defined as
Description: UOM
Selection Text: UOM
Format FOR: MARM-MEINH
EXTRAS: DEFAULT 'PAC' OPTION EQ SIGN I.
When I ran a query to allow selections on the MEINH field, instead of 'PAC' being the default, there was "***" showing in the UOM selection and if I attempted to execute the query it gave me a message that "Unit *** is not created in languague EN'. If I overide the "***" and enter 'PAC', I get the list of records that I expect.
I assume this is because MEINH has a data type of "UNIT".
How can I do a conversion so I can define a default value 'PAC' for MARM-MEINH in the infoSet that will carry through to any queries I created.
Thank you very much for any help.
Richard SalisburyThank you both for you help!
In our T006 there actually is a PAC and not a PAK. The T006A had as DE-PAK though.
I had this same type of language problem when trying to match an "order type". German is the "base" language in our system so maybe that means that raw data is stored with the German constant?
Anyway, I changed it to PAK and it works. When under a time schedule, that is what counts.
Thank you again for the quick response!
Richard Salisbury -
Problem in using a structure with a field of data type 'RAW STRING'
Friends
I have written a ZBAPI that imports a structure which has 5 fields. I have defined this in the IMPORT tab of Tr.Code <SE37>. One of the field of this structure is of data type 'RAW STRING'.
When I try to activate this BAPI, I get an error message as follows:
Function Module ZBAPI_ADD_CONFIG_DNA
"ZDAMPER_CON_DNA" Must be a flat structure. You cannot use internal table
strings, references, or structures as components.
Where ZDAMPER_CON_DNA is the table name that I am using.
FOR TESTING PURPOSE, WHEN I CHANGE THE DATA TYPE FROM 'RAW STRING' TO JUST A CHAR OF LENGHT 5, IT WORKS FINE.
Here is the source code of the simple BAPI that i am trying to activate.
FUNCTION ZBAPI_ADD_CONFIG_DNA.
""Local Interface:
*" IMPORTING
*" VALUE(CONFIG_DNA_DATA) TYPE ZCONFIG_DNA_STRUCTURE
*" EXPORTING
*" VALUE(MESSAGE) TYPE ZRETURNMESSAGE
tables: ZDAMPER_CON_DNA.
ZDAMPER_CON_DNA-CONFIG_ID = CONFIG_DNA_DATA-CONFIG_ID.
ZDAMPER_CON_DNA-STRING_NAME = CONFIG_DNA_DATA-STRING_NAME.
ZDAMPER_CON_DNA-STRING_FORMAT = CONFIG_DNA_DATA-STRING_FORMAT.
ZDAMPER_CON_DNA-STRING_VALUE = CONFIG_DNA_DATA-STRING_VALUE.
ZDAMPER_CON_DNA-OBJECT_NAME = CONFIG_DNA_DATA-OBJECT_NAME.
INSERT ZDAMPER_CON_DNA.
MESSAGE-SUBRC = sy-subrc.
if sy-subrc = 0.
MESSAGE-RETURNMESSAGE = 'SuccessfullyInserted'.
else.
MESSAGE-RETURNMESSAGE = 'Insert Failed'.
endif.
=============
ANY KIND OF FEED BACK WILL BE HIGHLY APPRECIATED.
THANKS
RAMHi ram,
there is no data element exists with the name RAW STRING ,
but check one of these names..
Data element Short text
C2S_RAWSTRING C2-Server: Data Element of Type Rawstring
N2_RAWSTRING Byte String of Variable Length
QISRDRAW_STRING Data in Format RAW Character String
RCF_RAWSTRING Rawstring
RPAP_TEMPLATE_RAWSTRING Blob of Template File
RSRAWSTRING Raw String
RSRD_RAWSTRING Binary Content in the Broadcasting Framework
SWH_RAWSTRING Workflow: Data Type RAWSTRING
WDR_RAWSTRING Byte Sequence of Variable Length
<REMOVED BY MODERATOR>
venkat.
Edited by: Alvaro Tejada Galindo on Mar 7, 2008 5:15 PM -
Info on CCM 2.0 characteristics - Fields length, data types & Desc
Dear All,
Does anybody know how or where I can get information about CCM 2.0 standard characteristics data structure?
Or maybe the table name that holds this information?
I need the following info:
1. List of all Standard CCM 2.0 Characteristics
2. Characteristics Data types (i.e Char)
3. Characteristice Field lengths
I have looked into the SAP help for CCM 2.o and the on SAP Servicemarketplace under instguides&IBC....could not find every thing I wanted.
Regards,
GraceHi Grace,
you can look in tables
/CCM/C_CHAR
/CCM/C_CHAR_ALS
/CCM/C_CHAR_ASPT
/CCM/C_CHAR_TXT
/CCM/C_CHR_ALIAS
and
/CCM/C_DTYPE
/CCM/C_DTYPE_HDR
/CCM/C_DTYPE_T
/CCM/C_DTYPE_TXT
/CCM/C_DTYPE_VL
/CCM/C_DTYPE_VLT
in CCM to get the standard charcateristics and their default settings.
Chris -
PROBLEM WITH FIELD WITH DATA TYP FLTP
HI FRNDS
I AM HVNG A REQUIREMNT TO CALCULATE THE BREAKDOWN DURATION .
ACTUALY IN TRANSACTION IW32 WE CAN C THIS FIELD AS EAUSZT . BUT THIS IS COMIGN UP FROM THE STRUCTURE RIWO00 . SO IN TABLE QMIH I CAN C A FIELD AUSZT WHICH IS ALSO THE BREAK DOWN DURATION BUT I AM SEEING THE VALUE TO BE IN A DIFFRNT FORMAT AS FLTP CAUZE THIS FIELD IS OF DATA TYPE FLTP . CAN ANY BODY TELL ME HOW CAN I RETRIEVE MY REQUIRED DATA FROM THIS FIELD . I MEAN IS THERE ANY FUNCTION MODULE TO EXTRACT MY DATA .
THANX
ROHITi think it give u value in sec.
var = var / 3600
u get value in hr
ex--
data: var type AUSZT value '2.1600000000000000E+04'.
data: var1 type p.
var1 = var / 3600.
write:var1.
kishan negi -
This is another one of my "lets get this settled once and for all" threads.
I have avoided variant data types whenever possible to keep the performance of my apps up. From some observatsions i have made over the years, I am of the opinion that;
1) In-place operations can not be carried out on variants.
2) Passing a variant to a sub-VI (regardless of the terminal on the icon connector) are always copied.
I would like confirmation or correction of the above so we know more about this animal we call LabVIEW.
Thank you,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Solved!
Go to Solution.A couple notes:
1. You can use the To/From Variant nodes for the Inplace Element Structure to operate inplace on the contained variant data. This should work just fine even if you have a big 2D array contained.
2. Variants are incredibly useful when you use them for Variant Attributes, rather than just storing data. The Variant Attribute implementation uses a binary tree to store the key value pairs, which provides quick insertion and lookup.
3. I don't work on the internals of LV, but I see no reason whatsoever that passing a variant into a subVI would always necessitate a copy. I could be wrong, but that sounds very odd to me.
However, I have generally started trending towards using flattened strings. Flattened strings are generally more efficient memory-wise, because they don't contain all the type descriptor information, just the raw data. (I think there's some exception when flattening LV Classes.) Variants always store the type descriptor, so even an empty variant can take up a bit of memory.
Variants received a big performance boost from 7.x to 8.x. They used to have a bad reputation, but I wouldn't be afraid to use them where applicable. I personally don't see a lot of benefits over flattened strings, though, except in the case of tools like the OpenG Variant INI files, which can dynamically parse out and construct variant types.
Jarrod S.
National Instruments -
Report - Want to know the maximum length of a character Data Type.
Hello,
I have to print some details which is having more than 500 characters. Is it possible to create a variable or workarea with more than 256 characters? Please help me. Its very urgent.
My actual requirement is to pass this workarea to smartform and print. So the data should be in one work area.
Regards,
LIJOHi,
U can declare the variable of required length for eg.1000 characters like this
DATA: w_data(1000) TYPE c.
If u r not sure of how much length u will be getting then better declare the variable with data type string .
DATA: w_data TYPE string.
Hope this clarified ur doubt.
thanks,
Vinod.
Maybe you are looking for
-
Schedule manager -Programs for flow definition
Dear SAP experts I would like to know which programs can be run using flow definition? can i add new programs like vendor display line item program RFITEMAP. and have email of item periodically to certain users. Tell me how selection variables TVARV
-
Aggregation level and planning filter question
Hi, I have below questions on aggregation levels and planning fitlers. Scenario: An Aggregation level is built on a multiprovider( Actual Cub1(5 chars, 4 keyfig), Actual Cube2(8 chars, 6 key fig), and Real Time Cube3(8 chars and 3 keyfig)). A FOX cop
-
How to fetch other user's userID in 1:1 Private chat Scenario
Please tell me steps to fetch UserID for participant in 1:1 Private Chat Scenario
-
N70 should sync - "can't connect" HELP
I have the latest Mac OS X and the latest iSync 2.3. It should be able to sync with Nokia N70, Apple's website confirms this. However, after I've paired the phone with my iMac, and try to add device to iSync, it finds it but says: "iSync cannot conne
-
Hi Gurus Can we set two number ranges in OM for creating org unit in different company code? (without any exit) REgards