Function module to find table entries associated with transport request
Hi all,
I have requirement, like we have created a table and maintenance view for that table - and made entries in that table.
now we want to know all the entries made in the table are associated with transport request or not.
how to do it programmatically?? is there any function module which gives the result for transport object associated with the table entries ?????
Thanks
Sathish
Hi,
Use the table <b>E071K</b>
in se16 give :
request number in TRKORR
Table name in OBJNAME
in the filed TABKEY u will get the <b>values of the key fields</b> in the table
by comparing the key fields u can find out the enrties related to the request number
Please let me know if i am not clear
---Patil
Message was edited by:
Santhosh Patil
null
Similar Messages
-
Function module to add some table entries to a transport request
Hi All,
I need a FM using which I can add the entries of a table to a customizing Transport request.
For ex: I have a TR : TRxxxxxx , and I want to add an entry of Zxy table to it so that it can be transported,
Kindly let me know how to pass values to this FM.
I think I have to pass values something as:
pgmid: r3tr
object: tabu
objname: zxy
objfunc : K
TIA.Just goto the table zxy in change mode change some desc or something and save, It will ask transport number and give one transport number
Else you can select the workbench transport requret in SE10, goto menu -> Request/Task -> Object list -> Include objects -> Select freely select objects
Regards
Sasi
Edited by: sasikumar palanichamy on Dec 30, 2008 6:29 PM -
Functional module to get table entries in another system
Hi all,
Is there any functional module with which we can get the data of a table which
belongs to another system(Using RFC calls)
Thanks and Regads, PradeepHi Pradeep
you can acess another table in the database directly .Follow this way.
1 transaction code : dbco : configuration about database that you would like to connect
2.tell basis team to set system file (example Oracle ) to know the database.
3.coding , you can use code below to select the data from another database by native SQL .
PARAMETERS dbs TYPE dbcon-con_name default 'SDB'.
DATA carrid_wa TYPE scarr-carrid.
DATA lv_int TYPE i.
*Types
data: begin of ty_equi,
equipment(25) type c,
SERIALENERGY(25) type c,
end of ty_equi.
*Internal Tables
data it_equi like table of ty_equi.
data wa_equi like line of it_equi.
DATA dbtype TYPE dbcon_dbms.
SELECT SINGLE dbms
FROM dbcon
INTO dbtype
WHERE con_name = dbs.
IF dbtype = 'ORA'.
TRY.
EXEC SQL.
CONNECT TO :dbs
ENDEXEC.
IF sy-subrc <> 0.
RAISE EXCEPTION TYPE cx_sy_native_sql_error.
ENDIF.
EXEC SQL.
OPEN dbcur FOR
SELECT
EQUIPMENT,
SERIALENERGY
FROM emd.meter
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT dbcur INTO :wa_EQUI
ENDEXEC.
IF sy-subrc <> 0.
EXIT.
ELSE.
WRITE: /
wa_equi-equipment,
wa_equi-SERIALENERGY.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE dbcur
ENDEXEC.
EXEC SQL.
DISCONNECT :dbs
ENDEXEC.
CATCH cx_sy_native_sql_error.
MESSAGE `Error in Native SQL.` TYPE 'I'.
ENDTRY.
ENDIF.
Best Regards
wiboon -
Assigning table entries to a transport request
Hi,
How can I assign table entries to a request after I have created them?
Regards,
Vinod.1. Use SE09 to
Either create a new workbench request
or goto the old request (Objects Tab)
2. Press Edit button
3. Enter the following in the row:
Prog Id = R3TR
Obj Type = TABU
Obj Name = MyTableName
Then Press ENTER
4. A Key Button will come on the Right column.
Press it. A New screen will come.
5. In table name enter : MyTableName
In Table Keys enter : KeyFields*
Save the request and transport.
I hope it helps. -
Attaching a table entry to a transport request by a program
Hi,
I need to create an entry in a database table through my program and at the same time I have to attach the same in a transport request. The Table is client independent.
I am able to create a transport using BAPI_CTREQUEST_CREATE. But does not know how to add the table entry to it.
Please help.
Regards,
HimanshuHi Himanshu,
there are two ways to put table entries in request.
one is if you have table maintenace generator for that table then the table entries will automatically store in the request.
second way using the tcode se16 execute the entries. select the entries by check box, from menu table entry -> transport entries.
using this two ways you can transport the table entries.
Regards,
Ravibabu. A -
Table Name or Function Module to find out all the Screens & Subscreens for
Hello Experts,
Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
Helpful Answer will b rewarded
Arif ShaikHi Balaji,
But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
Any other which U know -
Function module for finding number of records in table
Do we have any function module to find number of records in a table?
Thanks,
Shwetause the EM_GET_NUMBER_OF_ENTRIES. You just have to write your table name into the input table IT_TABLES in the TABNAME field
-
How to find the function module for standard tables.
Hi
Could any one please tell me how to find the standard function module to update the standard tables
Thanks & Regards
SowmyaHi sowmya,
To find the function modules for standard tables you go for a where used list of that particular table and check only function module interfaces checkbox...
and more over you can go for DB_UPDATE_TABLE will be the function module for updating database table..
Hope this information would help you
Regards
Narin Nandivada -
Function module to find out the changed values from tables
What is the standard function module to find out the changed values (the old & new values) from tables in SAP ?
Hi Harish,
Please elaborate your requirement...
Please have a look on CDHDR AND CDPOS tables... it contains changed data... but all chages are not being tracked using it..
Try Below FMs as well..
For Header Level...
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
date_of_change = cdhdr-udate
objectclass = cdhdr-objectclas
objectid = cdhdr-objectid
time_of_change = cdhdr-utime
username = cdhdr-username
TABLES
i_cdhdr = icdhdr
EXCEPTIONS
no_position_found = 1
OTHERS = 2.
For Item Level
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
changenumber = icdhdr-changenr
IMPORTING
header = cdhdr
TABLES
editpos = icdshw
EXCEPTIONS
no_position_found = 1
OTHERS = 2.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
Function Module to find out the release value in contract
Dear All,
I have to upload the contract with new accoutn assignment without changing the existing contract. For that i have to download all the existing contract data with value.
In that case i have some issues regarding the value.
For example : In the system old contract is created with value 1000 and the released value as 500.
In that case i have to uload the new contract with all the details of existing contract with value of 500 (1000-500=500).
How can i get the value (500) and from which table.Is there any functional module to find out the release value in contract.
Thanks and regads,
PM
Edited by: PM on Jan 21, 2010 8:40 AM
Edited by: PM on Jan 22, 2010 9:48 AMHi
You need to link the table VBFA and VBAK.
For a contract you can check all the subsequent document (which you can filter whether you want to see Order / delivery / Billing) in VBFA and then from there pick the subsequent document no. and then from VBAK you can pick the Net value of these subsequent documents, and so you will have both the values (value of Contract and value in subsequent document) and you can determine the balance value.
Regards
Amitesh Anand -
Need to know schema name and table name associated with a column-URGENT
Hi folks,
I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that
Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
Thanks
AngelinaAngelina,
Your question has been discussed several times previously in this forum. Search this forum's archives for "getTableName". Oracle JDBC driver does not implement this (because "it is not feasible" -- according to Oracle).
First of all, I would suggest that you could probably change your application's logic so that you would not need this functionality (but I guess that is not feasible either, right :-)
Alternatively, you could try querying the Oracle database data dictionary.
Good Luck,
Avi. -
Function Module to find the Difference between two times.
Hi All,
Wud you plz let me know the Function Module to find the Difference between two times.
Input Time1( Hours:Minutes) Time2 ( Hours:Minutes)
Need Output in Hours:Minutes only . ( No seconds Needed )
Ex :
Input :
06:00 to 18:00 Output : 12:00
and 20:00 to 06:00 Output: 10:00 with +ve sign only. No -ve sign.
Thanks,
N.L.Narayanacheck this .
data : p_timel like sy-uzeit,
p_timeh like sy-uzeit,
diff like sy-uzeit,
di(8) type c .
p_timel = '200000'.
p_timeh = '060000'.
diff = p_timeh - p_timel.
concatenate diff+0(2) ':' diff+2(2) into di.
write:/ di.
also check for this.
p_timel = '060000'.
p_timeh = '180000'.
see if this can be implemented in ur code .
or else u can try with Fm L_TO_TIME_DIFF passing startdate enddate starttime endtime with UOM as MIN
hope this helps regards,
vijay -
Function module to find both sold and ship to party
Is there any function module to find both sold-to-party and ship-to-party based on the sales Area.
That is if i give sales org , distribution channel , division as input . I must get Sold-to-party and Ship-to-party as output.
Regards,
S.VelsankarHi,
You can find sold to and ship to party customer from KNVP Table as below:-
SELECT KUNNR
FROM KNVP
INTO w_sold_to_party
WHERE VKORG = YOUR SALES ORG
AND VTWEG = dist channel
AND SPART = division
AND PARVW = 'SP'. "Sold to party depneds of how its configured in your system
Check TPAR table for description Sold to part and pass the PARVW value.
Similarly for ship to party
SELECT KUNNR
FROM KNVP
INTO w_sold_to_party
WHERE VKORG = YOUR SALES ORG
AND VTWEG = dist channel
AND SPART = division
AND PARVW = 'SH'. "Sold to party depneds of how its configured in your system
Regards,
Subhashini -
Function Module to find Fully Invoice PO
Hi all,
Is there any function module to find Fully Invoice PO?
Or
Tell me the tables from where can i get the details of Fully Invoiced PO?Hi,
My requirement is like this.
I have a company code on selection screen.
I have to take PO's based on company code.
Then I need to check whether that PO is fully invoiced or not.
Initial i was checking EKKO table. But I found that is not the correct table to find out. -
Function module to find category Guid
Hi all,
I need a Function Module to find the 'Category Guid' using 'Category Id' and 'Logical System Name', from table 'COMM_CATEGORY', to update category Guid in the database table ZSRM_BBP_DET_ACC. Please Help.
Regards,
Abhinay.Hello,
In SRM7.0 release, you have BBP_CATEGORY_GET_GUID function module.
Regards.
Laurent.
Maybe you are looking for
-
Oracle Text omitting the words as, is, do, or etc in searches
I am trying to do a search using Oracle Text for the country code for Dominican Republic and I get no hits back. This is also the case for some other countries: IS (Iceland), NO (Norway), IT (Italy). Here is my where clause: where contains(tablename,
-
When syncing my Ipod. I now do not get the Podcasts that I have had in the past. They are on my computer but when syncing do not download to the IPOD. Any Idea's?
-
Getting this error(ListenerRfc: unknown interpreter) while displaying graph
hi guys, I am working on webreports , while displaying graphs i am getting an error:Error When Calling Up IGS (ListenerRfc: unknown interpreter) Please help me in this regards , its urgent Regards Hiren IBM-India
-
Oracle Designer Problem Please help me
Sir, 1) I created a database 2) Run>cd d:\Oracle_home\repadm61\admin\@ckqa @ckparams.txt @ ckvalqa @ ckcreate 3)Opened Repository Administration Utility Log in as 'repos_manager/repos_manager@orcltest' Installed Repository. 4) Opened Oracle 9i Design
-
Can anyone give me a quick guide how to do split-screen i.e. the left half of one clip joined to the right half of another clip? Thanks