Field Tables
hi freinds,
I have a requirement to get the previous delivery referance(delivery note) in a report..
Here the field of the delivery note is LFSNR. and the table is in GOHEAD( but it is structure). Is it possible to retrieve data from a structure by writing a ABAP program?
Is there any other reference table name for the structures?
Expecting the replies soon...
Thank you
Hi,
Stuctures can't hold the values, just fetch the value from database table and will display it.
If u want to find the table for that value, use this method
Activate SQL tracer ST05 trxn,
and execute trxn which contains delivery note ( GOHEAD-LFSNR).
and then go and deactivate SQL tracer and display tracer.
Do ctrl+f using LFSNR
it'll show the table from where LFSNR is fetched.
Similar Messages
-
SQL*LOADER(8I) VARIABLE SIZE FIELD를 여러 TABLE에 LOAD하기 (FILLER)
제품 : ORACLE SERVER
작성날짜 : 2004-10-29
==================================================================
SQL*LOADER(8I) VARIABLE SIZE FIELD를 여러 TABLE에 LOAD하기 (FILLER)
==================================================================
PURPOSE
SQL*LOADER 에서 variable length record와 variable size field를 가진 data
file 을 여러 table에 load하는 방법을 소개하고자 한다.
( 8i new feature인 FILLER 절 사용)
Explanation
SQL*LOADER SYNTAX
여러 table에 load하고자 할때에는 control file에 아래와 같이 하면 된다.
INTO TABLE emp
INTO TABLE emp1
fixed length field을 가진 data file을 여러 table에 같은 data을 load하고자
한다면 아래와 같다.
INTO TABLE emp
(empno POSITION(1:4) INTEGER EXTERNAL,
INTO TABLE emp1
(empno POSITION(1:4) INTEGER EXTERNAL,
위와 같이 양쪽 table의 empno field에 각각의 load할 data로부터 1-4까지를
load 할수 있다. 그러나 field의 길이가 가변적이라면 위와 같이 POSITION 절을
각 field에 사용할 수 없다.
Example
예제 1>
create table one (
field_1 varchar2(20),
field_2 varchar2(20),
empno varchar(10) );
create table two (
field_3 varchar2(20),
empno varchar(10) );
load할 record가 comma로 나누어지며 길이가 가변적이라고 가정하자.
<< data.txt >> - load할 data file
"this is field 1","this is field 2",12345678,"this is field 4"
<< test.ctl >> - control file
load data infile 'data.txt'
discardfile 'discard.txt'
into table one
replace
fields terminated by ","
optionally enclosed by '"' (
field_1,
field_2,
empno )
into table two
replace
fields terminated by ","
optionally enclosed by '"' (
field_3,
dummy1 filler position(1),
dummy2 filler,
empno )
dummy1 field는 filler로 선언되었다. filler로 선언하면 table에 load하지 않는다.
two라는 table에는 dummy1이라는 field는 없으며 position(1)은 current record의
처음부터 시작해서 첫번째 field을 dummy1 filler item에 load한다는 것을 말한다.
그리고 두번째 field을 dummy2 filler item에 load한다. 세번째 field인, one이라는
table에 load되었던 employee number는 two라는 table에도 load되는 것이다,
<< 실행 >>
$sqlldr scott/tiger control=test.ctl data=data.txt log=test.log bindsize=300000
$sqlplus scott/tiger
SQL> select * from one;
FIELD_1 FIELD_2 EMPNO
this is field 1 this is field 2 12345678
SQL> select * from two;
FIELD_3 EMPNO
this is field 4 12345678
예제 2>
create table testA (c1 number, c2 varchar2(10), c3 varchar2(10));
<< data1.txt >> - load할 data file
7782,SALES,CLARK
7839,MKTG,MILLER
7934,DEV,JONES
<< test1.ctl >>
LOAD DATA
INFILE 'data1.txt'
INTO TABLE testA
REPLACE
FIELDS TERMINATED BY ","
c1 INTEGER EXTERNAL,
c2 FILLER CHAR,
c3 CHAR
<< 실행 >>
$ sqlldr scott/tiger control=test1.ctl data=data1.txt log=test1.log
$ sqlplus scott/tiger
SQL> select * from testA;
C1 C2 C3
7782 CLARK
7839 MILLER
7934 JONES
Reference Documents
<Note:74719.1> -
Excise report for fields & table
HI, Expert
I want to make a zreport for excise register & also discuss with the ABAPER , he said the functional consultant will provide the fields & tables then i will make the report , can any one tell me where i can find the fields
regards
kumarSl.no, Types of doc, No & date of doc, Name of the supplier, Types of Supplier, ECC no of the supplier, date on which input received, value, detail of credit takesn, Cenvat, SED, AED,AED, ADDL, CESS, SHCESS, Description, For the main item in the document
-
Field/table connecting PR & RFQ
hai all!
i am trying to create a report for complete MM cycle..problem is tht v can create PO with reference to RFQ & also with reference to PR.. while i create PO with reference to RFQ, RFQ details is getting reflected in EKPO..but if i try to create PO with reference to PR, i am not getting the RFQ details...
how can i get it?so which is the field/table which connect PR & RFQ..
plz give me a solutionHi
If you are creating the RFQ with reference to the PR & the PO is being created with reference to the PR.
Then you can get the relationship of PR & RFQ in table EKET
In Table EKET enter the requisition number in the field BANFN, then you will get the RFQ created with it.
You need to confirm the retreived value is an RFQ or not by cheking in Table EKKO
The Document number retreived should have the document category "A"
Thanks & Regards
Kishore -
Report Painter -Selection Fields & tables
Hi,
I have S_ALR report and i see it $TMP package.I did GRR3 but I don't find it there.
I want to explore this report so that I can see fields & tables used in this report.
I went in to report after launching t-code via system/status/program but that did not full fll my requirement.
Any idea?
Rgds
VaraST05 helped me out.
rgds
vara -
Errors occurred during extraction of UD Connect object field- table not fou
Hi,
In BI 7.0 system I can't select any UD Connect source object on the "Extraction" tab page of the DataSource maitenance screen. If I type the table name (which is "UDITEST") into it and then hit the "Proposal" tab page, I get the following error:
Errors occurred during extraction of UD Connect object field-list: Errors occurred during extraction of UD Connect object field-list: UDCADAPTERROR::RSSDK|200|Table: uditest not found|
Message no. RSDS_ACCESS036
Analysis:
1) We have tested the BI JDBC Connector using the URL:
http://xxxabcdev03:50000/TestJDBC_Web/TestJDBCPage.jsp
We got the list of tables displayed (UDITEST table is also displayed)=> connector is configured properly.
2) When we are trying to configure the Source system in rsa1->modelling->source systems-> UD connect -> create,
a) RFC Destination: We are using an RFC Connection that is already in place of type 'T' between the J2EE engine and BI ABAP engine. We tested this connection from SM59 -> TCP/IP connections and it is working fine.
How do we test whether the RFC between J2EE engine and BI ABAP engine is a 2 way RFC connection?
b) Logical System Name: We have manually typed in free text 'UDC_local'. Could you please clarify do we need to type in manually or select the logical system name from the F4 help?
Which logical system name should we enter here exactly.. pls clarify.
Do we have a seperate logical system name for the J2EE server...?
c) Type of Connector : JDBC
d) name of connector: SDK_JDBC
e) Source system name: SDK_JDBC
f) Type and Release : blank
Thanks to any answers in advance!
Best regards,
SyamHi,
Tried to give the Logical System Name in uppercase ie: UDC_LOCAL.
Now, when I click on the F4 of 'UD Connect Source Object' in Extraction tab, I get the message as below:
"Extraction of existing UD Connect data source objects".
But no list of tables is being displayed. When I entered the table name (UDITEST) manually, it gives the same error as :
" Errors occurred during extraction of UD Connect object field- table not found"...
Could you please specify from where is the UD Conenct source object fetched from?
Rgds
Syam -
Tcode to find the fields ,tables based on description of fields
hi folks,
tcode to find the fields ,tables based on description of fields,POINTS will be awarded for the answers ,plz give reply.Hello Kumar
Table DD03T contains the field descriptions.
Regards
Uwe -
FML Field Table - maximum number of fields?
Hello,
in our Tuxedo-environment we are using the "FML Field Table" (text file) to define fields and FLDIDs to access and manipulate fields in a fielded buffer.
My questions are:
o is there a maximum number of fields one can define in the field table?
o is it ok that this file grows very big if every application-relevant field is to be put into this table? (in our company we have services up to 80 fields...)
o is it better practice to define universal FML fields (such as CHAR_01, CHAR_02, NUMBER_01...) to avoid that every service-field has its own field-defínition?
Thank you for your help!Hi,
1. FML/FML32 really have a maximum number.
# For FML: between 1 and 8191, inclusive
# For FML32: between 1 and 33,554,431, inclusive
But you should pay attention that some fields are reserved by Tuxedo, you can get the reference at http://edocs.bea.com/tuxedo/tux100/fml/fml04.html
2. It depends on how you use FML routines. Some routines, such as Fldid which map the name to the numeric identifier, sure it needs a little cpu cycle for the searching if you defined hundreds thousands of fields. But for most APIs, such as add/change/update/delete, the API only requires the numeric C macro definition, so there is no performance issue. A number of 80 fields is adequate absolutely. You should not worry about that in a very long future.
3. From my personal point of view, I think it is a good habit to define the fields universally in Tuxedo applications. You will feel more administration benefit if you want to extend Tuxedo to Java by JOLT, to web services by SALT etc.
Regards,
Wayne -
Standards for creating fields & table names
Hi All,
I need to know if there are any SAP standards or standards from clients to be followed in creating new fields, tables & description.
If there are any such data, please share with me.
Urgent.
Regards,
PramodHi Pramod,
mostly we're using a common Term for the field name. The field code is the field name in uppercase using MDM_ as prefix. As you have to replace blanks (a field code does not allow blanks) we use an _ instead. Note: if you want to distinguish between SAP created and custom fields, we recommend using a different prefix! Maybe you can start your Custom field codes with ZMDM or a prefix describing your customer? Currently we cannot enforce this in MDM as the MDM_ prefix is not yet protected. But if you follow our recommendation, it'll ease up your life and of course ours, too, as we can differentiate between SAP and customer fields in OSS messages.
Edit: regarding descriptions
If your field is somehow linked with a ERP field, you could reuse the description of ERP for example!
Cheers
Michael
Edited by: Michael Theis on Jul 25, 2008 10:57 AM -
Still about field table file.Peter and Scott please..
hi,Peter and Scott:
i still don't so clear about it. if i use field_name in my services not
field_id,then,shall i copy all these field table files into one,and then use
mkfldhdr32 to build the field table file? from Peter's words,seems i don't
need copy them to one file,just point them to my FLDTBL* environment is
ok,but as my sample:
Fget32((FBFR32 *)recvbuf,SERVICE_ID, i,(char*)vServId, 0)
if there two field table files, A file and B file,does my application know
which file my SERVICE_ID is in? and if here both A file and B file has
SERVICE_ID,which numeric the value will be pointed?
as Scott said:"Your application will run much more efficiently if you
compile in the
field ids from the field header.",do you mean that if i use field ids in my
application,it's better?
and another question: if i use mkfldhdr32 many times,will the numeric be the
same? such as
once i built, "ROWCOUNT" are 12345678,then second time i build this,will
"ROWCOUNT" still be 12345678?
and i think it's not easy to use numeric in my application,cause field names
is easy to remember than field ids.
thanks
fishfish,
The mapping of field names to field ids is held in the field table file. The
mapping of name to id for any field is a binary combination of the field number
and type, thus it's a constant.
The mkfldhdr program takes the field table and converts it into a C header file
by generating #define for all the fields, so a line
STATLIN 5 string - message to go on status line
in the field table file becomes
#define STATLIN ((FLDID)40965) /* number: 5 type: string */
in the C header file generated by mkfldhdr.
Now, if you have #include's the generated header file, wherever your C code
references STATLIN (for this example) the C preprocessor inserts ((FLDID)40965)
- a numeric constant.
If all your references to individual fields are made in this way, then you do
not need the field table file at run time - all the information in it was
extracted by mkfldhdr at build time, and compiled in to your code.
In fact, this is precisely the purpose of mkfldhdr - you get the performance of
using constants rather than dynamic lookups, with the code readability of using
the field names rather than numeric ids.
I hope that clears up your understanding. The documentation discusses this
subject too, here: http://edocs.bea.com/tuxedo/tux80/atmi/fml048.htm
Regards,
Peter.
fish wrote:
hi,Peter and Scott:
i still don't so clear about it. if i use field_name in my services not
field_id,then,shall i copy all these field table files into one,and then use
mkfldhdr32 to build the field table file? from Peter's words,seems i don't
need copy them to one file,just point them to my FLDTBL* environment is
ok,but as my sample:
Fget32((FBFR32 *)recvbuf,SERVICE_ID, i,(char*)vServId, 0)
if there two field table files, A file and B file,does my application know
which file my SERVICE_ID is in? and if here both A file and B file has
SERVICE_ID,which numeric the value will be pointed?
as Scott said:"Your application will run much more efficiently if you
compile in the
field ids from the field header.",do you mean that if i use field ids in my
application,it's better?
and another question: if i use mkfldhdr32 many times,will the numeric be the
same? such as
once i built, "ROWCOUNT" are 12345678,then second time i build this,will
"ROWCOUNT" still be 12345678?
and i think it's not easy to use numeric in my application,cause field names
is easy to remember than field ids.
thanks
fish -
Sales order item level partial delivery field table and field?
Will anyone share your expertise, In SD sales order level, at item what is the table and field name in which the partial delivery status is stored. I want the table and field name?. will anyone share pl.
Hi,
Try with table VBUP - and field LFSTA.
Regards -
Field & Table name of tarnsport vendor in migo - Goods reciept
Can anybody tell the table name and field name of transport vendor in MIGO Goods reciept. If I press the f1 then it shows the table name as GOFRIGHT field name VENDORNAME. but the GOFRIGHT is the structure not he table.
AtulIf you are looking ofr Freight Vendor entered in PO, then you can use table KONV & field name is LIFNR where KNUMV(Condition record) is equal to EKPO-KNUMV.
Hope this clarifies your queries.
Regards
Bhavesh Mistry -
Field/Table to change the header tick in sales order billing plan
Hi SD Guru's
I am using a GUI screen to create standard sales order (VA01). Since my order dates at header and line item level can differ, i want the field name or table name of the header tick which is taken as default from my billing plan in my sales order.
Or is there any setting where my billing plan at item level is not defaulted from my header.
Its really urgent. Would appreciate your reply.
Regards
RaviHi Ravi,
I'm unsure whether this will help you or not. In VOV7, choose your It Cat, in detailed screen of It Cat settings there's a checkbox with "Business data" when not checked which will allow you to change Data at Item level.
Regards
SD -
How to set cursor in perticular field Table Maintence generator?
Hi
All
I have created a table with 2 fields Start_date and End_date. Now my requirement is i have to validate the both date field as Start_Date must be LESS than or EQUAL to End_Date. In table maintenance maintenance generator i have created a event VALIDATE_DATE in event 21. Its validating perfectly. The issue is after the ERROR message the Cursor is going to the key field. I want to set the cursor at End_Date field.
I used
data:ly_pos type i.
IF NOT start_date LE end_date.
SET CURSOR FIELD 'TABLE_NAME-END_DATE' LINE sy-linno OFFSET lv_pos.
MESSAGE exxx(MsgClass).
ENDIF.
Its working for the FIRST time i am entering the new data. Next time the cursor going to the KEY field. I have been asked not to write code in SE80. Anyhow i have to set the cursor in table maintenance maintenance generator event.
Can anybody help?Hi Sourav,
Please follow the below method:
Go to Maintainance Screen (where you want the cursor setting). Goto Status - > Remember the screen name -> Double click on Program name.. Open Object list and expant Screen Tree -> double click on the same screen Number -> Go to its first tab attributs -> Change Mode -> Do F4 on Cursor Position field -> Choose the field where you want the cursor.
But this way will always set the cursor at the HardCoded Field Name.
Thanks,
Preyansh -
User Defined Fields & Tables Problem
After the upgrade to B1 2007 and converting our database to 2005 compatibility as per the upgrade directions, were having some weird issues with our user defined fields and tables.
Our user defined fields that used to be alpha-numeric when set up in B1 are now in the database as nvarchar(MAX), even after updating the fields in the Manage User Defined Fields screen. B1 is obviously not setting the right field information as per its interface.
Were can no longer add records to user defined tables through the B1 interface, though we can add them fine through SQL Server or an ODBC interface. The error we are getting is
[Microsoft][SQL Native Client][SQL Server]Conversion failed when converting the nvarchar value '-3 @PASSWORDS' to data type int. (CINF)
. I dont understand where this problem is coming from because there isnt even a data field that is an integer, so I dont know what its trying to convert.Derek,
I would suggest you post this question to SAP Support by creating a message. Also search for any notes on this from https://websmp201.sap-ag.de/notes
Suda -
Field & Table Name of ER1 Report
Dear Experts ,
I am working on customisation of ER1 report, I wanted to know the field names & table name of the below given data.
DETAILS OF GOODS OF GOODS MFGD
1.PRODUCT DESCRIPTION
2.CETSH
3.OPENING BALANCE
4 QTY MFGD
5.QTY RECVD
6.CLOSING BALANCE
7.ON WHICH DUTY IS PAID
8.OTHERS W/O PAYMENT OF DUTY -FOR EXPORTS
REMOVAL:
1.PRODUCT DESCRIPTION
2.QTY REMOVED
3.ASSESABLE VALUE
4.RATE OF DUTY (INCLUDING NOTIFICATION & RELEVANT SERIAL NO.)
5.TOTAL DUTY PAYABLE
6.TOTAL DUTY PAID
DUTY PAYMENT DETAILS
1.DATE OF PAYMENT
2.MODE OF PAYMENT
3.CENVAT
4.SDE
5.TOTALDUTY PAID
Thanks
DGNGot no solution
Maybe you are looking for
-
I can't update my iPhoto after upgrading to Maverick
I just upgraded to Mavericks and ever since, my iPhoto (v. 9.2) will not work. It has a grey circle with a line through it over the application. I do see in my app store I have an update for iPhoto 11, but when I try to upgrade it and enter my apple
-
Mouse over events on alv report?
Hello, i want to make mouse over event for rows of a alv report.When mouse is on a row there will be shown explanations. how can i do this? thanks inn advance.
-
New emails arriving "read" in Mail 7.2
Hello, Hopefully someone can help, ive searched google but come up with nothing. I have a mac mini running Mavericks 10.9.2 with Mail 7.2 Currently running my work account through it on IMAP. New emails arrive but most of the time they arrive as "rea
-
Fix for anyone having "push" E-Mail issues...
I finally found a fix for push E-Mail (hitting your phone automatically without you manually having to check.) It works like a charm and my push E-Mail has been working for two days now without one problem. Turn off "push" in mail/contacts/calendar/f
-
My setup: single Quad Core 2.8GHz 8GB of RAM, running Logic Studio 8.0.2 (projectmix) Single 1.8 GHz G5 running Pro Tools LE 7.4 (digi 002 rack) I want to set up Logic (as master) as my main sequencer, to run Pro Tools for audio. What's the best setu