Can i Know the predefined class Which DoesThe same function As of Describe
Hi Abapers,
Can i Know the predefined class Which DoesThe same function As of Describe Key Word.
With Regards
Bhaskar Rao
I cannot find a method or property in ACEDAO to retrieve the precision and scale of a field. Maybe you could try get the number of a decimal type and use some mathematical methods to get the precision.
I find there are some way to get the precision by ADO or OLEDB.
For ADO way, you could check this thread:
https://social.msdn.microsoft.com/Forums/office/en-US/883087ba-2c25-4571-bd3c-706061466a11/how-can-i-programmatically-access-scale-property-of-a-decimal-data-type-field?forum=accessdev
For OLE DB , you could use IColumnsInfo::GetColumnInfo to get DBCOLUMNINFO::bPrecision.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms722704(v=vs.85).aspx
Also people in C++ may not familiar with access development, the
Access for Developers forum is good place for access develop issue. You could try there.
Hope this helps some.
Shu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Can i know the user exits which should trigger while saving billing docu
hi,
please can u help me to find out user exits which should trigger while saving billing documents.A couple years ago I downloaded this program, I think from SAPFANS. I don't take any credit for it...Not sure who originally wrote it. Just type in the t-code and hit execute.
*& Report name : Identify and Drill-Down to SAP User Exits. *
*& Program name : ZZ_FIND_USER_EXITS *
REPORT ZZ_FIND_USER_EXITS
NO STANDARD PAGE HEADING
LINE-SIZE 132
LINE-COUNT 65
MESSAGE-ID MM.
D A T A D E F I N I T I O N *
TABLES : TSTC, " SAP Transaction Codes
TADIR, " Directory of Repository Objects
MODSAPT, " SAP Enhancements - Short Texts
MODACT, " Modifications
TRDIR, " System Table TRDIR
TFDIR, " Function Module
ENLFDIR, " Additional Attributes for Function Modules
TSTCT. " Transaction Code Texts
S E L E C T I O N S C R E E N *
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
I N T E R N A L S T R U C T U R E S & T A B L E S *
DATA : GT_TADIR LIKE TADIR OCCURS 0 WITH HEADER LINE.
V A R I A B L E S *
DATA :
GV_FIELD1(30) TYPE C,
GV_DEVCLASS LIKE TADIR-DEVCLASS.
C O N S T A N T S *
CONSTANTS:
GC_F LIKE TRDIR-SUBC VALUE 'F',
GC_R3TR LIKE TADIR-PGMID VALUE 'R3TR',
GC_FUGR LIKE TADIR-OBJECT VALUE 'FUGR',
GC_SMOD LIKE TADIR-OBJECT VALUE 'SMOD',
GC_PROG LIKE TADIR-OBJECT VALUE 'PROG'.
R A N G E S *
RANGES:
GR_VKORK FOR WKBP-VKORG.
E V E N T P R O C E S S I N G *
INITIALIZATION.
AT SELECTION-SCREEN.
SELECT SINGLE PGMNA
INTO TSTC-PGMNA
FROM TSTC
WHERE TCODE = P_TCODE.
IF SY-SUBRC <> 0.
MESSAGE E899(MM)
WITH TEXT-E01 " Input Transaction Code is Invalid.
TEXT-E02. " Please Correct !!
ENDIF.
SELECT SINGLE TTEXT
INTO TSTCT-TTEXT
FROM TSTCT
WHERE SPRSL = SY-LANGU
AND TCODE = P_TCODE.
START-OF-SELECTION.
CLEAR GV_DEVCLASS.
SELECT SINGLE DEVCLASS
INTO GV_DEVCLASS
FROM TADIR
WHERE PGMID = GC_R3TR
AND OBJECT = GC_PROG
AND OBJ_NAME = TSTC-PGMNA.
IF SY-SUBRC <> 0.
SELECT SINGLE SUBC
INTO TRDIR-SUBC
FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC = GC_F. " Function Group
SELECT SINGLE FUNCNAME
INTO TFDIR-FUNCNAME
FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE AREA
INTO ENLFDIR-AREA
FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
CLEAR GV_DEVCLASS.
SELECT SINGLE DEVCLASS
INTO GV_DEVCLASS
FROM TADIR
WHERE PGMID = GC_R3TR
AND OBJECT = GC_FUGR
AND OBJ_NAME = ENLFDIR-AREA.
ENDIF.
ENDIF.
SELECT *
FROM TADIR
INTO TABLE GT_TADIR
WHERE PGMID = GC_R3TR
AND OBJECT = GC_SMOD
AND DEVCLASS = GV_DEVCLASS.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(36) TSTCT-TTEXT.
SKIP.
IF NOT GT_TADIR[] IS INITIAL.
WRITE:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
24 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
SORT GT_TADIR BY OBJ_NAME.
LOOP AT GT_TADIR.
SELECT SINGLE MODTEXT
INTO MODSAPT-MODTEXT
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = GT_TADIR-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/01 SY-VLINE,
02 GT_TADIR-OBJ_NAME HOTSPOT ON,
21 SY-VLINE,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE GT_TADIR.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , SY-TFILL.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD GV_FIELD1.
IF GV_FIELD1(8) = 'GT_TADIR'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
ELSE.
MESSAGE I899(MM)
WITH TEXT-I01 " Click on the Exit Name to Drill-Down
TEXT-I02. " to SAP Enhancement Information.
ENDIF.
END-OF-SELECTION.
TOP-OF-PAGE.
S U B R O U T I N E S *
E N D O F R E P O R T **************************************** -
I know my apple ID password but apple will not let me make any purchase without my security Questions, which I can not remember the answers to which is crazy as I have already made purchase and have £10 on my account still to be redeemed!! Please help
Account Security Team (AST)
Check the AppleCare number for your country here:
http://support.apple.com/kb/HE131
Call them up, and let them know you would like to be transferred to the Account Security Team.
HT5312: Rescue email address and how to reset Apple ID security questions
http://support.apple.com/kb/HT5312 -
If i Know the Interface name of the badi ,how can i know the badi definitio
Hi Experts,
1. If i Know the Interface name of the badi ,how can i know the badi definition name?
2. And also if i know the name of the implimentation class,how can i know the implimantation name and definitin name
Thanks&Regards
Ramakrishna LHi,
in order to find BAdI definition starting from the interface, you should perform a "Where used List" from SE24.
Type your interface name and then, in the where used dialog box, tick the 'Business Add-in" check box.
1.But is there any table which stores Implimentation name and Implimentation class name?
2.And also any table that stores BADI Definitiion name and Implimentation names.
1. SXC_CLASS table; Exit, implementation side: Class assignment (multiple)
2. SXC_EXIT table: Exit: Implementation side: Assignment: Exit - Implementation
Regards,
Andrea -
How can we change the purchasing group which it is maintained in R/3?
Hello All.
In case of MM, purchasing group is assigned to material master.
It means purchasing group is maintained based on material code.
But SRM has different maintenance level.
As you know that purchasing group has the responsibility based on material group (Product category).
So we should change the purchasing group from R/3, when end user create shopping cart.
How can we change the purchasing group which it is maintained in material master?
Thank you,
Best regards,
SH.Hello So Hee,
I am not a technical guy.
But for your requirement i am building a logic.
I am not sure whether it will work.
You need to check with your ABAPER.
It is as below:
When the SC is approved and the other configuration is correct ,
PR is created in ECC by the virtue of BAPI.
You want that the pur grp should be populated on the base of matl code and not on matl grp.
Hence in SC you will not fill up pur grp.
In the programme for BBPSC01 i.e. SC creation you will add modification that it will call a custom FM.
This custom FM will get the matl code from SC and will find the value of pur grp from R/3 MM01i.e. matl master(you may get in MARA).
Now in the BAPI you need to incorporate this additional value of yr pur grp field.
So the desired pur grp as per yr R/3 matl master will be populated in yr R/3 PR.
Again: this is all hypothesis.
That's all I can help you.
BR
Dinesh
<b>Reward if helps</b> -
How can we capitalize the PR/PO, which are already booked in cost center?
We are creating a capital Project for our department. We have the structures ready and finalized with the budgets. But, the department has already done some commitments and expenditures in their cost center .Now, this expenditure and commitment values needs to be reflected in the report, so that correct values of assigned and available should be updated.
1) Pls. suggest a process using which we can transfer this amount. Is this to be done by an FI entry or else we need to commit using sanction request?
2) How can we capitalize the PR/PO, which are already booked in cost center?Hi,
As we know the Contract is an Outline agreement for Quantity or Value for a particular Period with vendor.
Without mentioning Plant also we can make contract for the Purchase organisation level for particular Material for the entire period
Where as while creating PR -it is an Indent for the material requiement for the specific Plant so when you refer Agreement inthe PR creation time System will ask you how much quantity to what plant you want to place indent. where as In PO it ia an legal document so when you refer Agreement it will take all the details from Contract
i think you are clear with my points
With regrads
Shrinivas gangoor
Edited by: Shrinivas Gangoor on May 22, 2009 2:53 PM
Edited by: Shrinivas Gangoor on May 22, 2009 2:54 PM -
How can i know the number of lines in field-symbol internal table
how can i know the number of lines in field-symbol internal table
Hi,
If your field symbol has been defined as an internal table :
Use std describe as
Data: l type i.
describe <fs> lines l.
'l' will contain the number of lines as needed.
FYI
The size of this storage area in a field symbols depends on the number of table lines which is not fixed, but determined dynamically at runtime.
Regards,
Amit -
How can I know the name of the file that the user has currently open ?
Hello
I'm developing a module for x3dv.
http://hiperia3d.blogspot.com/search/label/X3DV%20Module%20For%20Netbeans
I am going to add a button to open the files when I click it.
I just need to know how can I know the name of the file that the user has currently open in the editor. What variable holds it in Netbeans?
Thank you
JordiIf you are using the JFileChooser to open the document, I would create another class with this included:
//initiate class variables
private File f;
//create JFileChooser
JFileChooser fc = new JFileChooser();
fc.setMultiSelectionEnabled(false);
fc.setFileSelectionMode(JFileChooser.FILES_ONLY)
//set the chooser to initialise File f with the file selected
int status = fc.showOpenDialog(null);
if (status == JFileChooser.APPROVE_OPTION)
f = fc.getSelectedFile();
public File getFile()
return f;
} -
HT4759 How can I know the Devices using my i Cloud or Apple ID?
How can I know the Devices using my i Cloud or Apple ID?
This information is not available. If you have any misgivings, change your password at http://appleid.apple.com - it should be at least 8 characters - 12 would be better - of which one must be a capital letter and one a numeral. No punctuations signs, and no real words.
-
How Can i know the orders source. ?? IDOC or VA01
Dear All,
sometimes we create a new order with reference to the order which was created by using IDOC.
How can I know the difference between ..
1) Order created with VA01. (Some of the fields may copied from order created by IDoc.)
2) orders created with IDOC.
Please let me know.
Thank you
MadhuThank you for your reply, but the suggestion you have given may work for us. as when we create a order with reference to other order or when we create a order using we19. the newly created order will have all the details of older order and that information will be in EDIDC, which will not be correct.
regards
madhu -
How can I know the right component for a transaction?
Hi, I have a question
When creating a new message in Solution Manager, notif_create, how can I know the right component given the transaction code or program name?
Thanks in advance
Edited by: María Valdés on Aug 19, 2008 6:25 PMHello Maria,
Well, in the Support Message window, place the cursor in Component box and press F4. This will brings up another window which contains the components list to which you are authorized. From that list you can choose about which component you want to create that particular support message.
For example, if you are from Quality department, the following can be visible when you press F4.
QM - Quality Management
-- QM-ADB Adobe Forms
-- QM-ADB-PRN Print Forms
For the Print Forms, the component will be QM-ADB-PRN
I hope it helps.
Cheers,
Satish. -
Can music from the ipod classis be uploaded to icloud? If so, can someone tell me how to accomplish this task?
Hi Crystal,
So I cancelled the first & only order I will ever make thru this company & want my account deleted.
I can't get thru to anyone by phone or chat. Is there no other way to accomplish this?
Sorry for this hassle. No, you need to contact them. What is the problem you are facing in contacting them?
What happens if I sign out & just never sign back in?
You might still get charged. Let me know if you still can't get through.
Thanks,
Kevin -
How to know the full path which is being used in the dataconnection .
How to know the full path which is being used in the dataconnection without going and looking into coding.
I am new to crystal reports.
Plz advice.Thanks in advance
JayThis forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.
As you do not want to do any coding, this query is in the wrong forum. However, in most versions of Crystal Reports, you can look up the database connection information by simply opening the report in the CR designer. Then go to the database menu and select "Set Datasource Location..."
Ludek -
Can i know the copy controls functionality for on standard order to billing
hi,
sap gurus,
can i know the copy controls to be set in for functioning standard order to billing document.
plz say the config settings and t.code for that ie order to billing
regards,
balaji.t
09990019711.Dear balaji
If you can tell us in which scenario, you need the following, it will be easy to suggest. Anyway you can try with the following which is for service (item category TAD)
Go to VTFA and maintain the following settings:-
Header Data
Copying requirements::::::::001
Copy item number::::::::::::::X
Item Level
Copying requirements:::::::::002
Data VBRK/VBRP::::::::::::::001
Billing quantity:::::::::::::::::::A
Pos/neg.quantity::::::::::::::::+
Pricing type:::::::::::::::::::::::A
If it is a third party, then at item category (TAS) level, you need to maintain the following
Copying requirements::::::::::028
Data VBRK/VBRP:::::::::::::::000
Billing quantity::::::::::::::::::::F
Pos/neg.quantity:::::::::::::::::+
Pricing type:::::::::::::::::::::::::G
thanks
G. Lakshmipathi -
How can i know the phone is in a call or not?
How can i know the phone is in a call or not?
I need to detect it and then send alert to the phone.
Should i use AXL or JTAPI?If you are pushing text or audio to an IP phone, using CiscoIPPhoneExecute, you can use "Priority" as "2", then it will not execute that command.
0 = Execute Immediately
The URL executes regardless of the state of the phone. If the Priority attribute does not get specified in the , the default priority gets set to zero for backward compatibility.
1 = Execute When Idle
The URL gets delayed until the phone goes idle, at which time it executes.
2 = Execute If Idle
The URL executes on an idle phone; otherwise, it does not get executed (it does not get delayed).
Maybe you are looking for
-
Non-ASCII charaters in a unix file
Hi, Could you pls tell me how do i know the non-ascii/ascii characters in a unix file. Thanks
-
my friend told me there was a way to find stolen or lost i pods... what do u do. cause i lost my video ipod and.. apparently i seriously need to find it.
-
HT201210 i need to restore my 3G but i ca't always i get 1015 error
hi every body i need to restore my 3g iphone but ican't always there is error 1015 ifollwed the steps in i tune but still un able and still the phone showing the usb signal to i tunne with out able to acces to any thing.
-
Internal error when redefinind service with entity types and associations
Dear gateway specialists, I have created a gateway service with several entity types and several associations together with corresponding navigation properties. Then I have created another service in which I want to redefine the first service with al
-
We are receiving cluster failure always with the below error..please let me know the solution to this These servers are virtual and cluster configured. Cluster IP address resource 'IP Address 10.x.x.x cannot be brought online because a duplicate IP a