Data entry in LINK table
Hi All,
Can anyone please suggest me to enter data in SAP tables like - LINK and LINV.
Is there any transaction for the same.
Thanks & Regards,
Anuj Saraswat
Hi Anuj.
I would like to suggest,
These some related transactions to Tables - LINK and LINV
CX3F6 - Method for uploading inventory data
GJ93 - JV Goods receipt inventory orders
LD10 - Clear decentralized inventory diff.
LI12 - Change inventory count
LI12N - Change inventory count
LI15 - Evaluation of quant inventory
LM58 - Sys. guided dynamic inventory count
LN05 - Number ranges physical inventory
LX35 - Archived system inventory records
MI21 - Print physical inventory document
O4LB_OI - Loc Bal opening inventory calc
O4TB_PHYS - To update physical inventory figures
OMMG - Number ranges physical inventory
S_SO6_65000789 - Excise duty inventory check report
WVFD - Process phys. inventory doc. further
LS27 - Display quants for storage unit
LS28 - Display storage units / bin
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
Similar Messages
-
Transport data entries along with table
How can we transport data entries along with table?
Do I need to declare of specific type??
Thank you,
APHi,
If you have created a table maintenance..
You can use SM30..
Press maintain button..
In the menu..Table view -> transport...Then select the entries include them in the CR.
If the transport menu is not enabled..
Go to SE11..
In the table maintenance generator...Choose the radio button which says "Standard recording routine" and then save..
Now the transport menu option will be enabled..
Thanks,
Naren -
How to set order of data entry in a table?
a simple question, i know, but i cannot seem to find out how to do it...
if i want to enter data in a two column table, how do i force Numbers to move the data entry box in a specified way on "enter", so i want to enter data in a1, b1, a2, b2, a3, b3 etc and want the correct cell is active after hitting enter. in excel, you just highlight the area you want to fill. this doesnt seem to work in numbers. any ideas?
TIA
niccoi rechecked that, yes, i must have been using enter.
but still 2 keys on opposite sides of the keyboard -
Why data change in linked table in Access - link from Oracle DB
Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
Here is the problem:
In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
For example:
Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
What I have in my system:
1- Oracle 9.2 client
2- Oracle driver
3- Access 2003
4- Jet - SP 8Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
Here is the problem:
In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
For example:
Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
What I have in my system:
1- Oracle 9.2 client
2- Oracle driver
3- Access 2003
4- Jet - SP 8 -
CALL RFC DATA FROM TWO LINKED TABLES IN EXCEL VBA
Hi,
I am using Excel VBA to call information from tables in SAP.
This is working correctly, however I now need to be able to call information from another table where the two tables are linked by a common data field.
Example.
The first table I have lists all items in stock and contains an article number. The second table contains all article numbers and their descriptions.
I want to be able to call the first table but to have the article codes description on there aswell.
Here is the code I am currently using.
Sub GetTable()
'Connect to SAP
Dim sapConn As Object 'Declare variant
Set sapConn = CreateObject("SAP.Functions") 'Create ActiveX object
sapConn.Connection.System = "QA2"
sapConn.Connection.client = "900"
sapConn.Connection.user = "mbrough"
sapConn.Connection.Password = "st34lh"
sapConn.Connection.Language = "EN"
If sapConn.Connection.Logon(1, False) <> True Then 'Try Logon
MsgBox "Cannot Log on to SAP"
End If
'Define the table specifics
Dim objRfcFunc As Object
Set objRfcFunc = sapConn.Add("RFC_READ_TABLE")
Dim objQueryTab, objRowCount As Object
Set objQueryTab = objRfcFunc.Exports("QUERY_TABLE")
objQueryTab.Value = "LQUA"
Set objRowCount = objRfcFunc.Exports("ROWCOUNT")
objRowCount.Value = "15000"
Dim objOptTab, objFldTab, objDatTab As Object
Set objOptTab = objRfcFunc.Tables("OPTIONS")
Set objFldTab = objRfcFunc.Tables("FIELDS")
Set objDatTab = objRfcFunc.Tables("DATA")
'Set the condition and refresh the table
objOptTab.FreeTable
objOptTab.Rows.Add
objOptTab(objOptTab.RowCount, "TEXT") = "LGTYP BETWEEN 'K01' AND 'K06'"
'Set fields to obtain and refresh table
objFldTab.FreeTable
'Then set values to call
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "LGNUM"
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "MATNR"
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "WERKS"
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "LGTYP"
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "LGPLA"
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "GESME"
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "VERME"
objFldTab.Rows.Add
objFldTab(objFldTab.RowCount, "FIELDNAME") = "MEINS"
If objRfcFunc.Call = False Then
MsgBox objRfcFunc.Exception
End If
Dim objDatRec As Object
Dim objFldRec As Object
For Each objDatRec In objDatTab.Rows
For Each objFldRec In objFldTab.Rows
Cells(objDatRec.Index, objFldRec.Index) = _
Mid(objDatRec("WA"), objFldRec("OFFSET") + 1, objFldRec("LENGTH"))
Next
Next
End Sub
The table which contains the article descriptions is called 'MAKT' and this table also contains the column 'MATNR' which is the article field.
Many thanks,
MikeIs there no way of connecting the tables within the code.
IT won't give me access to SE11
Thanks,
Mike -
Hi All,
I havae a scenario..
I have one ztable with the foloowing fields:
1. enum
2. Ecnum
3. Add
4. Date
5. erole
what I did is I made enum and ecnum fields as the key fields in the table and rest I didn't make as key fields. Now when I tried to enter data in this table using sm30....I am facing a problem...I tried putting the following record:
1st rec.
123
012
xyz
010101
1
2nd record.
321
011
abc
020202
1
Now as soon as I enter the second record it says the record is already there..
so can you tell me what's the problem...I mean I didn't make erole as the key field but then also I ma having this error...
Thanks,
Rajeev
Edited by: Rajeev Gupta on Oct 3, 2008 4:09 PMHi Rob,
I did not mean that you should always define 1 key field in the table always
I was refering to the scenario he wants to create.
i.e the key field should not be repeated for another entry even if there are 2 key fields in the table.
It's is possible to achieve this with table maintenance modification events, But I guess the best way to restrict this would be to only define one key field for the table.
regards,
Advait -
Problem in data entry in Z tables
Hi
I have created a Z table and when I try to enter the data in it, it says ' create a data processing function module ' at the bottom bar.
please help thnksHi,
Check the below links,
[http://sap.ittoolbox.com/groups/technical-functional/sap-basis/data-processing-function-module-vkoa-error-1891065]
[http://help.sap.com/saphelp_di46c2/helpdata/EN/dc/6b7df143d711d1893e0000e8323c4f/content.htm] -
Power Pivot Data Model with Linked Table
Can anyone provide me with some suggestions as to how to accomplish the following in Power Pivot?
I have the following Pivot Table fields. I'm trying to create a data model to allow me to filter all of the projects by the selected Fiscal Year. The Fiscal Year table is a dimension I created to group the data by.
I'm considering separating Projects into multiple tables such that 1 table is for Year1 information, another table is for Year2 information (includes Year2FiscalYear, Year2BudgetCAP, etc.).
I think what I need to do is create a measure to allow me to filter the records by fiscal year. Anyone have any ideas?
Thanks,
RolandHi Greg,
The data is coming from Project Online (OData feed) and SharePoint lists (all within Project Online). I'm creating an Excel Report.
The reason I can't use Power Query is because refreshing a report that is built using Power Query is not supported via browser. Power BI is needed to do this. On the other hand if I build an excel report using Power Pivot only, the browser refresh functionality
works.
The Year1FiscalYear, Year2FiscalYear, etc. are all enterprise custom fields in Project Online. Therefore I have some control in being able to change the format of the data. I'm looking into what are some options on my side to configure Project Online or
SharePoint lists to make building the model simpler...
Thanks,
Roland -
Data Entry into customized table
Hi All,
I have created a z-table and selection screen with four fields. Whenever I enter the data into these four fields, the data should go to the z-table through my report.
Will you please send me how to do this?
Thanks in Advance,
RamanaHi KCR,
You can do this by program or by generating a table maintanence generator using SM30.
IF you want to do this through program declare internal table with the same structure as that of your table and populate it with details as per the selection screen data and use "INSERT INTO <table name> FROM TABLE ITAB".
OR
Goto se11 give your table name change, in the attributes tab select display and maintanence allowed and then select menu path UTILITIES > Table maintanence generator . IN the next screen displayed
give Authorization groups as &NC& (if you dont want any auth check) Function group as your table name( you can give any name starting with Z), select maintanence type one step and give single screen as 100 ( you can give any number you want) and then select create button(located left top corner). this will generate a table maintanence for you.
After doing above steps go to sm30 and give your table name and select maintain which will display a nice table control with the table fields where you can maintain as many records as you want and click on save.
Thats it.
Reward if helpful.
Regards,
Kalyan. -
Linked tables, stored procedures, and locking
I'm working on an interface between two Oracle systems. I don't know if they're on the same server or not, but they are definitely two different database instances. The plan for this interface is that when a record is created on one of the systems, it will call a stored procedure on the other system to create the record there as well. I believe the relevant information will be passed via parameters to the stored procedure (not by querying the data in the first system). The ID number created on the second system gets passed back to the first system via an output parameter.
A concern was raised about whether something like this might cause "rev-locking". Similar issues were raised on a different interface, but that interface used a linked table between the two systems. The original design for that interface had a stored procedure initiated from the second system, and it was to update data via the linked table in the first system. But this caused some locking issues. So a different interface was written, that only used the linked table as read-only.
So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? And a better question is, is there a document or white paper out there somewhere that describes the locking issues between linked databases, and presenting the "best practices" for this type of coding?
Any help is appreciated!
Christine Wolak
[email protected]So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? I'm not aware of any issues with updates across databases. can you post a more detail version of what exact issues did you encounter when updating tables across database using database links?
when you update a row in a table, from the same database or another one, a lock on that row will be placed for the duration of the transaction. Others will be able to read that row but not update it till the end of the local (or the remote) transaction.
What issue(s) did you encounter? -
Discoverer - Condition on linked table causes error
When I apply a condition (Cust_ID = 'P6872') on a linked table all of the records are returned...however, some of the data from the linked table is blank.The condition appears to work but not on all of the records. Any ideas why this might happen?
Thanks for taking the time to read this....
Message was edited by:
MichaelBThe best soultion would probably be to create a database function and register it through Discoverer Administration edition. You can then call the funciton in your condition, to replace the need for a sub-query
-
Creating a Data Entry Form combining 2 or more tables like a Master Detail
I have a client requirement to create a data entry form which shows fields from 3 different tables joined by linking key. The data entry form should allow the user to enter a new record details. This should populate into 1 or more tables.
Example: User table with userid,username. userRoles with userid,roleid. The user can have one or more roles. There are 4 roles and possibility of expanding. The data entry form should show userid, username and all the possible roles fetching from a look-up table roles_lookup which has role_id, role_description. When a new user is created with 4 roles selected the system should create one user record and r userRoles records.
What is the best approach.
Thanks in advance.
SatyaI found the solution. We can create a database routine to which we pass all the values and in the routine we create two different insert statements. Based on the number of roles selected we can control the loop to create number of records in role table.
Satya -
How to populate data in the same table based on different links/buttons
Hi
I'm using jdeveloper 11.1.4. I have a use case in which i need to populate data in the same table based on click of different links.
Can anyone please suggest how can this be achieved.
ThanksI have a use case in which i need to populate data in the same table based on click of different linksDo you mean that you need to edit existing rows ?
What format do you have the date in - table / form ? -
Unable to display data no entry in the table without using Model clause
Hi,
I've an urgent requirement described below :
The previously posted Question has been answerted using Model Clause:
Is there any way out to solve it without using Model clause:
I've a table named as "sale" consisting of three columns : empno, sale_amt and sale_date.
(Please ref. The table script with data as given below)
Now if I execute the query :
"select trunc(sale_date) sale_date, sum(sale_amt) total_sale from sale group by trunc(sale_date) order by 1"
then it displays the data for the dates of which there is an entry in that table. But it does not display data for the
date of which there is no entry in that table.
If you run the Table script with data in your schema, then u'll see that there is no entry for 28th. Nov. 2009 in
sale table. Now the above query displays data for rest of the dates as its are in sale table except for 28th. Nov. 2009.
But I need its presence in the query output with a value of "sale_date" as "28th. Nov. 2009" and that of "total_sale" as
"0".
Is there any means to get the result as I require?
Please help ASAP.
Thanks in advance.
Create table script with data:
CREATE TABLE SALE
EMPNO NUMBER,
SALE_AMT NUMBER,
SALE_DATE DATE
SET DEFINE OFF;
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE('12/01/2009 10:20:10', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE('11/30/2009 10:21:04', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE('11/29/2009 10:21:05', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE('11/26/2009 10:21:06', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(100, 1000, TO_DATE('11/25/2009 10:21:07', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 5000, TO_DATE('11/27/2009 10:23:06', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 4000, TO_DATE('11/29/2009 10:23:08', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 3000, TO_DATE('11/24/2009 10:23:09', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(200, 2000, TO_DATE('11/30/2009 10:23:10', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 7000, TO_DATE('11/24/2009 10:24:19', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 5000, TO_DATE('11/25/2009 10:24:20', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 3000, TO_DATE('11/27/2009 10:24:21', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 2000, TO_DATE('11/29/2009 10:24:22', 'MM/DD/YYYY HH24:MI:SS'));
Insert into SALE
(EMPNO, SALE_AMT, SALE_DATE)
Values
(300, 1000, TO_DATE('11/30/2009 10:24:22', 'MM/DD/YYYY HH24:MI:SS'));
COMMIT;
Any help will be needful for me
Regards,select sale_date,sum(sale_amt) total_sale
from
select empno,0 sale_amt,(sale_date + ao.rn) sale_date
from
select empno,sale_amt,sale_date ,(t.nxt_dt - t.sale_date) diff
from
select empno
,sale_amt,trunc(sale_date) sale_date
,trunc(nvl(lead(sale_date) over (partition by 1 order by sale_date),sale_date)) nxt_dt
from sale
) t
where (t.nxt_dt - t.sale_date) >1
) rec,(select rownum rn from user_objects where rownum<=200) ao
where ao.rn <=(rec.diff-1)
union all
select empno,sale_amt,trunc(sale_date) sale_date
from sale
group by sale_date
order by 1;
~~~~Guess this will serve the purpose...
Cheers Arpan -
No data in report after auto linking tables
Hi All,
I m new to Crystal Reports 2008 and I have a report that takes data from multiple database tables. The problem is that the report is not returning any data. On the Links tab in Database Expert, I checked that the tables are linked. I removed all links and added the links back one-by-one to see where I get the problem of not getting data in the report. I have pointed out the link, but I dont know how to fix the problem of not getting the data in the report because i need data from that table which means that I would need to select it and link it in the report.
Please help me with this.
Thank you.You know your data and what you want to get out of it, typically it's the join type, Left Outer etc. or possibly using Unions and SELECT's in SELECTS. Lots of ways to accomplish the results but without knowing your data structure I can't be specific.
Possibly if you list the fields you want to use and the tables you get the info from it would help to suggest how. If Jason Long see's this post and you give the info he will likely suggest something also, he's a SQL GURU....
Need to know what type of DB also.
Another great source is looking at our sample reports:
https://smpdl.sap-ag.de/~sapidp/012002523100005852352008E/cr_xi_xtreme_rep_smpl_en.zip
Don
Maybe you are looking for
-
Switching from PC sync to MacBook Pro Sync
I have been syncing and backing up my iPhone on my PC. I am now ready to migrate everything to my MacBook Pro (13"). I tried to sync today with the Mac but I lost part of my calendar from the iPhone and lost most of my applications. I retrieved every
-
Problems with showing all the text in pdf file
Hi All, I have this problem. When I upload a pdf file to our company website as a link and then when I open it from the link, most of the text in the file is like symbols. The pdf file is a brochure and is exported from CorelDraw. The brochure consis
-
Design a network for voip over wan
Hi all, I need your valuable suggestions how to design a network of voip using voip. Suppose there is a Site A and Site B and you are using different service providers and creating different vlans in each site for voice and data.Lets say
-
I am trying to setup a new WRT160N. I can connect on the internet and see other pcs' on the network, however I can not complete the installation of the software that came on the cd, and when I try to access the web interface, it takes forever just to
-
Reg : User Exit for IA05 - Operation Overview
Hi Team, I have a requirement in IA05 in the operation overview we have a field called Std Text field(PLPOD-KTSCH) , Where the user gives the text field in the screen, So based on the text key i need to populate work,duration, in the same screen as