Information regarding SAP Tables
HI All,
I am new to SAP.As a part of archiving project,we recently archived the entire SAP database using a tool.When we started archiving we stopped the SAP and all the jobs which are running to make sure that all the tables are stagnant.This is due to the fact that once we archive, we do a row count on the Oracle(SAP) and archived tales to make sure every thing is archived.
But unfortunately, As we archiving the oracle database(SAP) got restarted as there was a backup job which ran and restarted the server.Now when we completed the full archiving and did a row count comparision we found that the below tables have different counts from the Oracle(SAP) i.e source.I think that these tables are SAP metadata and when system got restarted due to the back p job, these tables might have been updated.
Please see the list of tables below and let me know whether these tables contain any Data which might e useful to the customer or is it just some metadata used by SAP and nothing else...
DBABARL
DBAML
DBATL
DBSNP
DDLOG
MONI
PAHI
SDBAD
SDBAH
SGOSHIST
SNAP
TBTCO
TBTCP
TSP01
TSP02
TSPEVDEV
TSPEVJOB
TST01
TXMILOGRAW
UTAB
VARI
Thanks in Advance
> Please see the list of tables below and let me know whether these tables contain any Data which might e useful to the customer or is it just some metadata used by SAP and nothing else...
Well - you can check the content of the tables in SE11 and SE16. Whether the data is used or not depends on the customizing of the system and the applications/modules used. Whether this is "only" metadata can only be determined by the customer himself.
Markus
Similar Messages
-
HI all,
I am a fresher i need to check how sap tables are integrated with all modules.Plz provide some docu accordingly.
Thanks,
Ramya Ravikumarchk this
http://www.erpgenie.com/abap/tables.htm -
Settlement information in SAP tables
Hello experts,
are there any tables where the settlement infomation (cost / quantities) are stored so we can transform these to BW. In our process we want to report this data in BW. Thus: In which period what cost are settled put costcenter / order
thnks in advance,
MarcelHi,
Are you referring to the settlement rules or actual values? For the rules you can look at COBRA(B) tables. For the values you may go to COEP (CO lines) and filter on business transaction field (VRGNG). The settlement transactions start with prefix KO*. For example, actual settlement is KOAO.
Regards,
Eli -
Requesting information regarding SAP in transportation domain
Hi,
I am Shailesh, have been working (no SAP) in Transportation domain since 4 years.
I would like to learn SAP. Could you please suggest which module of SAP is related to the transportation domain.Hi Shailesh,
I will suggest to do in SAP LSM (Logistics and Supply Chain Management) module if you are currently engaged in Transportation. It will help you..
Thanks & Regards,
Bhipra Sakti -
Pls provide information regarding internal tables
hi
i would like to know can we create relationship between two internal tables.
like foriegn key relationship . if yes pls tell me how .hi...
there is actual relationship that can b created for 2 internal tables using foreign keys,but by using " for all entries" in select statements.
syntax: for all entries.
TYPES: BEGIN OF ftab_type,
carrid TYPE sflight-carrid,
connid TYPE sflight-connid,
END OF ftab_type.
DATA: ftab TYPE STANDARD TABLE OF ftab_type WITH
NON-UNIQUE DEFAULT KEY INITIAL SIZE 10,
free TYPE I,
wa_sflight TYPE sflight.
Suppose FTAB is filled as follows:
CARRID CONNID
LH 2415
SQ 0026
LH 0400
SELECT * FROM sflight INTO wa_sflight
FOR ALL ENTRIES IN ftab
WHERE CARRID = ftab-carrid AND
CONNID = ftab-connid AND
fldate = '20010228'.
free = wa_sflight-seatsocc - wa_sflight-seatsmax.
WRITE: / wa_sflight-carrid, wa_sflight-connid, free.
ENDSELECT.
try it out.
reward if useful. -
How to get information regarding WF table
My scenario is this.
When a employee applies leave a notification is sent to 1st of his three supervisor in the hierarchy. If he approves the notification is sent to 2nd supervisor. After his approval a FYI is sent to final supervisor. If a employee has sent a request and if the supervisor has not responded for that request within a day then a reminder notification has to be sent to the supervisor again. I have no idea as of what to do.
Is there any query available to track this in backend?Hi,
I do have the similar problem. I am using the timeout specifications and set the frequency to 1 hour and max notifications to 10 while testing. First email was sent out when the manager was not responded within 1 hour, But after 2 hours when I ran the NEM_MAIN, It is not sending any reminder emails to the manager.
Edited by: 951696 on Aug 8, 2012 2:28 PM -
Where to find the information regarding relationships between the tables?
I am developing a Windows based app which among other things lets users view SAP table schema and relationships.
If I use SAP GUI and dig up a bit on say the MARA table I can see that
Material Master (MARA) is related with
1) MaterialDescription (MAKT) on columns MANDT and MATNR
2) MaterialPlantData (MARC) on columns MANDT and MATNR
and so on
My question is - in which table the information regarding relationships between the tables is stored? There must be a data dictionary table which would be storing the relationships data. Which is it? Note: I will programatically access the table, NOT from the UI.Thanks a lot...
I am still working on it, but here are the current findings. DD05S, DD08L and DD08T: The schemas for these tables were very promising for the thing I was looking for. Unfortunately the data within dose not seem to serve my exact purpose.
I found another one DD26S, which has almost 90% of the relationships I wish to explore. Do you know what is it supposed to contain?
Thanks a lot for your help.
Message was edited by: Salil Khedkar -
Hi All,
I wanted the following information for Accounts Receivable:
1) AR Invoice Payments Infomation:
- Company Code
- Customer code
- Invoice No
- Posting Date ( Receipt Date )
- Payment Amount (local currency )
2) AR Invoice Information:
- Company Code
- Customer code
- Invoice No
- Due date
- Invoice date
- Posting Date
- Invoice Amount (local currency )
- Sales Amount (only Sales Revenue)
- Vat Amount (only Sales Tax amount)
Please let me know in which SAP tables I can get the information for 1 & 2 above.
Your early reply will be a big help.
Regards,
RajaramHi,
Thanks for your reply. My problem is for the AR payments received from Customers, I am getting all the information I require from BSAD, except the actual payment received, which is not available in BSAD. I only get the Invoice amount which has been cleared and not the actual payment received from Customer.
Any thoughts on how to get this information.
Regards, -
Understanding of the table level information from SAP HANA Studio
Hello Gurus,
Need some clarification from following information provided by SAP HANA Studio.
I have a table REGIONS and the contents are as follows:
REGION_ID REGION_NAME
11 Europe
12 Americas
13 Asia
44 Middle East and Africa
15 Australia
6 Africa
The Runtime Information about the table is as follows:
Image# 1
Image# 2
Image# 3
Total size in KB show in Image#2 and 3 are not matching. Why?
Total size in KB show in Image#2 and Total Memory Consumption are not matching. Why?
The values of Memory consumption in Main Storage and Delta Storage are not matching in Image# 1 and Image# 2. Why?
Estimated Maximum Memory Consumption (Image# 1) and Estimated Maximum Size (Image# 2) are matching.
Why the Loaded column Image# 2 is showing the value ‘PARTIALLY’. The table has just 6 rows and still partially loaded? Why?
What is the significance of column Loaded in Image# 2 and 3 ?
Thanks,
Shirish.Have a look on this
Playing with SAP HANA
That presentation should help you to answer the questions yourself
Regards,
Krishna Tangudu -
Flow of tables information between sap and java
How should i pass the table information from sap to java.
and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
1.GET THE TABLE INTO THE JAVA PROGRAM
2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAMhi,Kondani
as JCO offers both Client side and server Side programming.
you can use JCO to connect SAP ABAP.outbound and inbound.
1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
2) example 1 is about client side programming.
try example 1 first. you can get a table from SAP using BAPI.
Lots of JCO weblog you can see here
https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
Regards -
How to retrieve information get in a sap table
Hello,
A sap program in my job chain reads a sap table. How can I retrive information of one of its fields and pass it in parameter in another step of my job chain ?Hi,
The Z program returns informations in the job protocol, the question is how to parse the protocol to retrieve the string and put it in a parameter. I've been told that I can put a script in the "action" tag of the job definition as a post-running action. Where can I find an exemple of that kind of script ?
FYI : the z program returns the following sentence, "flux sortant : nouveau compteur =0002" and what I need is to get 2 as a parameter for the next step.
Re. -
Need information/training material regarding SAP CRM Functional
Hello,
I am a SD Consultant.
I want to learn SAP CRM (Functional) on my own without going to any training institute or some thing.
Therefore, can anyone help me in forwarding the link(s) or document(s) with which I can learn about SAP CRM (Functional).
I want information/training material regarding SAP CRM 7.0 (on system/software working, not the general information, for example- why CRM, where CRM, etc)
For example, about org data, org structure, possible scenarios, etc.
Thanks in advance for spending your valuable time for me.
Regards,
T. ChaitanyaHi ,
In the SDN lot of documents are there search in the WIKI.check the standard sap doc cr100. -
Reading TXT file to SAP table.
Hi everyone,
my task is to read data from chosen text file into table I created.
Text file look like this:
ID_ASK|DATA_OD|DATA_DO|
1234|20140517|20140824|
ID_MAG|ID_ASO|ID_KAT_ASO|SOURCE|NAME|
12|23|34|600156|TEST NAME1|
ID_MAG|ID_ASO|ID_KAT_ASO|SOURCE|NAME|
23|24|54|600156|TEST_NUMR2|
Header "ID_ASK|DATA_OD|DATA_DO|" occurs only once, while header "ID_MAG|ID_ASO|ID_KAT_ASO|SOURCE|NAME|" can occur many times.
I want to insert those values (except of headers, of course) into my SAP table:
Table Fields
Fields from file
ZIDASK
ID_ASK
ZIDMAG
ID_MAG
ZIDASO
ID_ASO
ZIDKAT
ID_KAT_ASO
ZZRCEL
SOURCE
ZDAOD
DATA_OD
ZDADO
DATA_DO
ZKATNAM
NAME
I want user to choose file from browser and I am using F4_FILENAME function.
1. To avoid reading header into table I think I'll use something like this (in loop, of course):
IF (lv_linecounter MOD 2) = 1.
CONTINUE.
ELSE.
SPLIT something AT '|' INTO those_fields.
2. What should be next function to call?
3. Is declaring separate types for those two headers a good idea?
TYPES: BEGIN OF ty_output_hdr,
id_ask type zask-zidask,
data_od TYPE zask-zdaod,
data_do TYPE zask-zdado,
END OF ty_output_hdr.
TYPES: BEGIN OF ty_output_pos,
id_mag TYPE zask-zidmag,
id_aso TYPE zask-zidaso,
id_kat_aso TYPE zask-zidkat,
source TYPE zask-zzrcel,
name TYPE zask-zkatnam,
END OF ty_output_pos.
With kind regards,
BartlomiejHello Bartlomiej,
His logic for processing (item 1) is correct and you can do the processing in this way without any problems.
Regarding item 2, after the process of SPLIT, you can assign information to a structure and then insert the contents in the table individually.
SPLIT gs_line
AT '|'
INTO gv_fieldA
gv_fieldB
gv_fieldC.
gs_data-fieldA = gv_fieldA.
gs_data-fieldB = gv_fieldB.
gs_data-FieldC = gv_fieldC.
INSERT FROM ZTABLE gs_data.
Regarding item 3, a separate statement, however it manages more lines, is the best method that can be applied, allowing a subsequent maintenance will not affect other component.
Regarding F4_FILENAME object, you can use it on AT SELECTION-SCREEN event of report:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = '
IMPORTING
file_name = p_file.
Tks
Renato Bertizini -
Hi!
can any one help me regarding SAP SCRIPT. i unable to write a print program for sap script . can any one can send me sample code using ITCSY structure.
Thanks in advance.
Thanks & Regads,
DurgaPrasad.kHi,
refer this to write print program:
<b>The Print Program</b>
Structure of a print program
OPEN_FORM function
CLOSE_FORM function
WRITE_FORM
START_FORM function
END_FORM function
CONTROL_FORM function
The print program is used to print forms. The program retieves the necesary data from datbase
tables, defines the order of in which text elements are printed, chooses a form for printing and
selects an output device and print options.
<b>Function modules in a printprogram:</b>
When you print a form you must used the staments OPEN_FORM and CLOSE_FORM. To combine
forms into a single spool request use START_FORM and END_FORM.
To print textelements in a form use WRITE_FORM. The order in which the textelements are printed,
is determined by the order of the WRITE_FORM statements. Note: for printing lines in the body, you
can also use the WRITE_FORM_LINES function module.
To transfer control command to a form use CONTROL_FORM.
<b>Structure of a print program</b>
Read data
Tables: xxx.
SELECT *
FROM xxx.
Open form printing - Must be called before working with any of the other form function modules.
Must be ended with function module CLOSE FORM
call function 'OPEN_FORM'.....
To begin several indentical forms containing different data within a single spool request, begin each
form using START_FORM, and end it using END_FORM
call funtion 'START_FORM'.....
Write text elements to a window of the form
call function 'WRITE_FORM'.....
Ends spool request started with START_FORM
call funtion 'END_FORM'.....
Closes form printing
call function 'CLOSE_FORM'...
OPEN_FORM function
Syntax:
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = ' '
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b>Some important parameters:</b>
FORM Name of the form
DEVICE PRINTER : Print output using spool
TELEFAX: Fax output
SCREEN: Output to screen
OPTIONS Used to control attrubutes for printing or faxing (Number of copies, immediate output....
The input for the parameter is structure ITCPO.
CLOSE_FORM function
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Paramerters:
RESULT Returns status information and print/fax parameters after the form has been printed.
RESULT is of structure ITCPP.
WRITE_FORM function
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = ' '
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Some important parameters:
ELEMENT Specifies which textelement is printed
WINDOW Specifies which window is printed
TYPE Specifies the output area of the main window. This can be:
TOP - Used for headers
BODY
BOTTOM - Used for footers
FUNCTION Specifies whether text is to be appended, replaced or added
Example of how to use the WRITE_FORM function module together with a script.
Form layout of the MAIN window
/E INTRODUCTION
Dear Customer
/E ITEM_HEADER
IH Carrier, Departure
/E ITEM_LINE
IL &SBOOK-CARRID&, &SPFLI-DEPTIME&
/E CLOSING_REMARK
<b>The print program</b>
Writing INTRODUCTION
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'INTRODUCTION'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Writing ITEM_HEADER
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Set ITEM_HEADER into TOP area of main window for subsequent pages
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'SET'
TYPE = 'TOP'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Write ITEM_LINE
LOOP AT .....
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_LINE'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8.
ENDLOOP.
Delete ITEM_HEADER from TOP area of main window
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'DELETE'
TYPE = 'TOP'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Print CLOSING_REMARK
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'CLOSING_REMARK'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
START_FORM function
CALL FUNCTION 'START_FORM'
EXPORTING
ARCHIVE_INDEX =
FORM = ' '
LANGUAGE = ' '
STARTPAGE = ' '
PROGRAM = ' '
MAIL_APPL_OBJECT =
IMPORTING
LANGUAGE =
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
SPOOL_ERROR = 6
OTHERS = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END_FORM function
CALL FUNCTION 'END_FORM'
RESULT =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SPOOL_ERROR = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CONTROL_FORM function
The CONTROL_FORM function module alows you to create SapScript control statements from within
an APAB program.
Syntax:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command =
EXCEPTIONS
UNOPENED = 1
UNSTARTED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Example:
Protecting the text element ITEM_LINE
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'PROTECT'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
TEXELEMENT = 'ITEM_LINE'.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'.
rgds,
latheesh
Message was edited by: Latheesh Kaduthara -
can any one explain me about sap accounting tables(accounting information stored in tables).i want the important tables for fi.
thanks in advance.Dear Rajini:
Here is the link for SAP FICO Tables. To know more about the tables, got to se11, input the table name and click on display, it will show the details of the table and purpose of it.
http://www.erpgenie.com/abap/tables_fi.htm
Please let me know if you need more information.
Assign points if useful.
Regards
MSReddy
Maybe you are looking for
-
I've installed and reinstalled iTunes 11.1.1 for Vista 64-bit yet keep getting the message "iTunes was not properly installed. If you wish to import or burn CDs you need to reinstall iTunes." I meticulously removed all traces of iTunes before reinsta
-
Use of raise in exception handling block
what is the use of raise in exception handling block for eg. declare a number; b emp.empno%type; begin begin SELECT empno INTO a FROM emp where 1=2; exception when others then dbms_output.put_line('inner'); raise; end; exception when no_data_found th
-
Creating Invoices with Numbers exporting as PDF
I'm using numbers to create my invoices. Using sheets/tables to create the Customer information section 2 columns and a few rows for their Name, Address, Email, Etc Then I use the invoice table chart to put their products and a service charge on ther
-
Hi, Please let me know how to resolve error status 63 in idocs. Regards , Shankar GJ Edited by: Shankar GJ on Mar 11, 2008 5:45 AM
-
My ipod wont play the music that isn't bought in the itune's store
I went to put one song onto my 5th Gen Ipod, and it updated to the latest version, next thing I know, it has deleted everything that wasn't bought over Itunes. So all the CDs that I imported no longer show up on the device. But if I look at the devic