$TMP table transport
Hi,
I have made changes to a table that I want to transport, but it is assigned to $TMP package.
From se80 and se03 I cannot reassign it to Z package because:
Diagnosis
The object TABL /BIC/PZIDXVGT belongs to namespace /BIC/. The object cannot be assigned to development class ZBDF, since it does not belong to the same namespace.
System Response
The function is terminated.
Procedure
Assign the object to a package whose name begins with /BIC/.
If you want to create the object as a test object, you can also assign it to a local package (begins with $) or a test package (begins with T).
Please help!
Br,
Sonni
no..dont add field to table..rather add it in the InfoObject in the attribute tab.
Goto the InfoObject maintainence -> attribute tab and add a new infoObject.
Normally, adding field striaght away to /bic/p table is not a good pratice. You add the attributes in the attribute tab, this will automatically addes field in the base table. Otherwise, if you could explain whats your requirement, then probably we can give you correct solution.
Regards,Vj
Similar Messages
-
Insert rows from l_qte_rec in to tmp table
xxx_pre_update_userbook(p_service_request_id number, p_sr_type_id number, p_status_id number,
p_resolution_code varchar2, p_bill_to_customer_id number,
p_bill_to_cust_account_id number, p_bill_to_customer_site_id number,
p_contract_id number, p_contract_line_id number,
p_resolution_summary varchar2,
x_status out varchar2, x_mesg out varchar2) as
l_proj_incident_type_id number;
l_isr_incident_type_id number;
l_tac_incident_type_id number;
l_status varchar2(10) := 'S';
l_sr_closing_flag number;
l_mesg varchar2(3000) := null;
err_mesg varchar2(3000) := null;
L_SO_ID NUMBER;
L_LINK_REC CS_INCIDENTLINKS_PUB.CS_INCIDENT_LINK_REC_TYPE;
L_OBJECT_VERSION_NUMBER NUMBER;
L_RECIPROCAL_LINK_ID NUMBER;
L_LINK_ID NUMBER;
l_QTE_REC ASO_QUOTE_PUB.qte_header_rec_type;
l_control_REC ASO_ORDER_INT.control_rec_type;
l_Order_Header_Rec ASO_ORDER_INT.Order_Header_Rec_Type;
l_Order_Line_Tbl ASO_ORDER_INT.Order_Line_Tbl_type;
l_Return_Status VARCHAR2(30);
l_Msg_Count NUMBER;
l_Msg_Data VARCHAR2(3000);
l_Msg_INDEX_OUT NUMBER;
l_OUT_MESSAGE VARCHAR2(3000);
l_proj_flag number;
l_quote_status_id number;
l_orders_created number;
l_chargeable_sr_flag number;
l_sr_close_flag number;
l_invalid_outage_info number;
begin
l_status := 'S';
l_mesg := null;
-- MO_GLOBAL.INIT('CS');
-- Get the Project Service Request Id
select incident_type_id into l_proj_incident_type_id
from cs_incident_types_tl
where name like 'XXX TAC Project'
-- and language = 'US'
and rownum < 2;
-- Get the ISR Service Request Id
select incident_type_id into l_isr_incident_type_id
from cs_incident_types_tl
where name like 'XXX TAC ISR'
-- and language = 'US'
and rownum < 2;
-- Get the TNT TAC Service Request Id
select incident_type_id into l_tac_incident_type_id
from cs_incident_types_tl
where name like 'XXX TAC Service Request'
and rownum < 2;
-- and language = 'US';
select nvl((select 1
from dual
where exists( select incident_status_id
from cs_incident_statuses_b
where incident_status_id = p_status_id
and close_flag is not null
and close_flag = 'Y')
and ( p_resolution_code is null
or (p_resolution_code NOT IN ('CS_SR_CLOSED_AS_DUP', 'XXXXX_SR_CXL', 'XXXXX_SR_INFO', 'XXXXX_SR_MGMT')
and p_sr_type_id in ( l_isr_incident_type_id )),0) into l_chargeable_sr_flag
from dual;
select nvl((select 1
from dual
where exists( select incident_status_id
from cs_incident_statuses_b
where incident_status_id = p_status_id
and close_flag is not null
and close_flag = 'Y')
and ( p_resolution_code is null
or (p_resolution_code NOT IN ('CS_SR_CLOSED_AS_DUP', 'XXXXX_SR_CXL', 'XXXXX_SR_INFO', 'XXXXX_SR_MGMT')
),0) into l_sr_closing_flag
from dual;
if ( l_sr_closing_flag = 1 and ((p_resolution_summary is null) or (p_resolution_summary = FND_API.G_MISS_CHAR)) ) then
x_status := 'F';
--x_mesg := 'Resolution Summary can not be empty while closing Service request';
fnd_message.set_name ('XXXXX', 'MISSING_RESOLUTION_SUMMARY');
-- fnd_message.set_token ('MESG_PARAM', err_mesg || '::' || l_mesg);
fnd_msg_pub.ADD;
end if;
-- Check whether outage information is complete at the time of closure.
if ( l_sr_closing_flag = 1 ) then
l_invalid_outage_info := 0;
select nvl((select 1
from dual
where exists ( select 1
from cs_incidents_ext cie, ego_fnd_dsc_flx_ctx_ext grp1
where incident_id = p_service_request_id
and grp1.application_id = 170
and grp1.descriptive_flexfield_name like 'XX_SR_CONTEXT'
and grp1.descriptive_flex_context_code like 'XXXXXOutageTab'
and cie.attr_group_id = grp1.attr_group_id
and ( c_ext_attr1 is null or c_ext_attr2 is null or c_ext_attr3 is null or
c_ext_attr4 is null or c_ext_attr5 is null or c_ext_attr6 is null or
c_ext_attr7 is null or n_ext_attr1 is null or n_ext_attr2 is null or
n_ext_attr3 is null or n_ext_attr4 is null or n_ext_attr5 is null or
d_ext_attr1 is null or d_ext_attr2 is null or d_ext_attr3 is null)
-- if all of them are null then we should ignore
and NOT ( c_ext_attr1 is null and c_ext_attr2 is null and c_ext_attr3 is null and
c_ext_attr4 is null and c_ext_attr5 is null and c_ext_attr6 is null and
c_ext_attr7 is null and n_ext_attr1 is null and n_ext_attr2 is null and
n_ext_attr3 is null and n_ext_attr4 is null and n_ext_attr5 is null and
d_ext_attr1 is null and d_ext_attr2 is null and d_ext_attr3 is null))), 0) into l_invalid_outage_info
from dual;
if ( l_invalid_outage_info = 1 ) then
x_status := 'F';
fnd_message.set_name ('XXXXX', 'MISSING_OUTAGE_INFORMATION');
fnd_msg_pub.ADD;
end if;
end if;
if ( (p_sr_type_id in ( l_isr_incident_type_id )) and (l_chargeable_sr_flag = 1) ) then
if ( ( p_bill_to_customer_id is null or p_bill_to_cust_account_id is null or
p_bill_to_customer_site_id is null )) then
x_status := 'F';
--x_mesg := 'Bill to customer name/account/site is empty';
fnd_message.set_name ('XXXXX', 'ISR_INVALID_BILL_TO');
-- fnd_message.set_token ('MESG_PARAM', err_mesg || '::' || l_mesg);
fnd_msg_pub.ADD;
else
select count(*) into l_orders_created
from cs_incident_links
where subject_id = p_service_request_id
and subject_type = 'SR'
and object_type = 'ORDERS';
/* If orders are not created for this SR then create the order */
if ( l_orders_created = 0 ) then
/* Create Order */
err_mesg := 'Got the Incident Types and Incidents Status flag';
select nvl((select quote_status_id
from aso_quote_statuses_tl
where language = 'US'
and upper(meaning) = 'ENTERED'), 0) into l_quote_Status_id
from dual;
err_mesg := 'Got the Quote Status Id';
l_qte_rec.party_id := p_bill_to_customer_id;
* l_qte_rec.party_id := p_bill_to_customer_id;
* l_qte_rec.cust_party_id := p_bill_to_customer_id;
* l_qte_rec.cust_account_id := p_bill_to_cust_account_id;
* l_qte_rec.INVOICE_TO_CUST_PARTY_ID := p_bill_to_customer_id;
* l_qte_rec.INVOICE_TO_CUST_ACCOUNT_ID := p_bill_to_cust_account_id;
* l_qte_rec.INVOICE_TO_PARTY_SITE_ID := p_bill_to_customer_site_id;
* l_qte_rec.INVOICE_TO_PARTY_ID := p_bill_to_customer_id;
* l_qte_rec.quote_status_id := l_quote_status_id;
* l_qte_rec.quote_status_code := 'ENTERED';
* l_qte_rec.quote_status := 'ENTERED';
* l_control_rec.book_flag := 'N';
* err_mesg := 'set the Quote Header';*
* select nvl((select transaction_type_id*
* from oe_transaction_types_v*
* where name like 'Service Order'), 0 ) into l_qte_rec.order_type_id*
* from dual;*
* err_mesg := 'Got Order Type';*
* l_qte_rec.currency_code := 'USD';
how to insert rows in tmp table from rec_type which is in bold text .... i want to insert after the last statement .this is for debugging after executing the procedureNo version number and lots of other missing information.
That said look at the example here:
http://www.morganslibrary.org/reference/insert.html
under "RECORD INSERT." -
ABEND RS_EXCEPTION (105): Error in BW: error creating tmp table
Hello Experts,
We have recently upgraded to EHP1 from BI 7.0. After that I have applied executed the report SAP_DROP_TMPTABLES as per the note 1139396.
When we run reports, we are getting error "ABEND RS_EXCEPTION (105): Error in BW: error creating tmp table
MSGV1: error creating tmp table".
Please let me know if any one faced the same problem.
Thanks,
VenkateshHello Colum,
Thanks for the reply. I have done recommendations the issue resolved.
But few reports giving the below error.
ABEND RSBOLAP (000): Program error in class SAPMSSY1 method :
UNCAUGHT_EXCEPTION
MSGV1: SAPMSSY1
MSGV3: UNCAUGHT_EXCEPTION
Can you please help to resolve the issue?
Thanks,
Venkatesh -
How to find the no of tmp table used in the db object
Hi all,
I have a big sp of 5K lines, which uses some 15 odd tmp tables in it. I would like to find how many and which are the tmp used by this stored procedure; with out looking line by line of code.
Is it possible.
RegardsNeilCSE wrote:
Hi all,
I have a big sp of 5K lines, which uses some 15 odd tmp tables in it. I would like to find how many and which are the tmp used by this stored procedure; with out looking line by line of code.
Is it possible.
RegardsDefinitlly, if the code , is well written, they might have used some terminolgies while creating temporary tables (for ex TMP_tablename) Search for those tables in all_source view,
SELECT TEXT from all_source where upper(text) like '%TMP_%'Hope this helps.
Regards,
Achyut -
Custom table Transport Request
Hi,
I have created a ztable and assigned a package and tranport request, then I have created table maintennance generator for the same table but saved the table maintenance generator under $TMP. As the table maitenance generator is not allowing to change the object directory entry, I have deleted the table maintenance generator and then freshly created the TMG for that table, this time I have given the package for TMG and the system haven't prompted any Transport request for my TMG and my TMG got saved(I guess it stored under the table request, but not sure).
My doubt is, does my transport request will have the table and the table maintenace generator in it or not..... if I transport the request will everything goes fine into the other system or not.
Thanks
Raju....Hello Raju,
Why are you asking this question here ?
Did you check the TR in SE10 ? Was the Function Group you have given in the TMG included in the TR ?
If yes, it should be OK.
@ Other posters: Do you guys have access to the OP's system ?
BR,
Suhas -
Regarding Table Transport request
Hi,
I have created a table in local. Now i Like to move into a transport rerquest How?
Please tell me.
venkatuse se03 tcode
click on change object dirctory entries
tick the check box of R3TR TABL and enter table name
in below further restrictions
enter package as $tmp
then execute
click on ur table name and click on objects menu-->change object directory and enter the package name
and then activate ur table then it will ask TR no
so u can assign a Transport request no now -
Urgent..FI-SL table transport
when anew table is created in FISL what all should be transported.
Any help is highly appreciated.
Thank youWhen you create a table group You have to make sure if have all the dependent objects of that table has to go through. IF you have create any custom data elements for that then those need to go. once you have transported the table group make sure u run this program RGZZGLUX so that it can update all the structures associated with it
Assign points if helpful -
Reg. table transport.....have ur points.
Hi all,
As we know we can't directly put data in table in production server, I've a z table on development server. I used it for validation purpose. So when i'll transport it...how i will put data in production server..
Pleas assist me.
Have ur point.sPlease check the code ..
First create table maintaince.
now create program and add table name in list.
select one of the radio button ,it will take you sm30 and when you create record at Sm30 -> then it will ask request #.
so you can transport the data.
Table diclaration
tables: tvdir.
Selection screento table View
selection-screen skip 2.
parameter p_tabnm(30) as listbox visible length 30 obligatory.
selection-screen skip 1.
selection-screen begin of block s1 with frame title text-001.
parameter: p_radio1 radiobutton group g1,
p_radio radiobutton group g1.
selection-screen end of block s1.
Add values to list box
at selection-screen output.
type-pools: vrm.
data: name type vrm_id,
list type vrm_values,
value like line of list.
name = 'P_TABNM'.
refresh list.
<b>value-key = 'Table name'. " Add your table name</b>
value-text = text-002. "'Table description'.
append value to list.
call function 'VRM_SET_VALUES'
exporting
id = name
values = list.
start-of-selection.
Get flag of corresponding table view
select single tabname flag from tvdir into tvdir
where tabname = p_tabnm.
Set flag of corresponding table view
if p_radio1 eq 'X'.
if tvdir-flag ne 'X'.
update tvdir set: flag = 'X'
where tabname = p_tabnm.
endif.
endif.
if p_radio eq 'X'.
if tvdir-flag eq 'X'.
update tvdir set: flag = ''
where tabname = p_tabnm.
endif.
endif.
Execute View/Table
call function 'VIEW_MAINTENANCE_CALL'
exporting
action = 'U'
view_name = p_tabnm
exceptions
client_reference = 1
foreign_lock = 2
invalid_action = 3
no_clientindependent_auth = 4
no_database_function = 5
no_editor_function = 6
no_show_auth = 7
no_tvdir_entry = 8
no_upd_auth = 9
only_show_allowed = 10
system_failure = 11
unknown_field_in_dba_sellist = 12
view_not_found = 13
others = 14.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Reset flag of corresponding table view
update tvdir set: flag = tvdir-flag
where tabname = p_tabnm.
Thanks
Seshu -
hi experts, please solve my problem.
i want to know the detailed steps (if possible screen shots) needed to transport a table along with data from dev to quality/production server.
Edited by: dickybud on Oct 6, 2009 5:21 PM
Moderator message - Please see Please read "The Forum Rules of Engagement" before posting! HOT NEWS!! before posting - post locked
Edited by: Rob Burbank on Oct 6, 2009 11:30 AMHi Martin,
As already stated, if you table maintenance dialog has "standard recording" switched on, then all changes made through SM30 will be recorded in a change request which you can transport.
To manually transport the entries you already have, add an entry to your change request (or create a new one) with R3TR TABU ZWERKSCONFIG.
If you double click on this entry it will prompt you which keys you wish to transport. If you want all, then just specify the client and then * to take all values (if you double click again, it will show you the actual key names to help you specify more precisely what should be transported).
Cheers,
Brad -
i am in a real fix, i want to know the proper way of transpoprting table entries from dev server to q/a, prod
i came across 2 ways
first way
se11 => ztable.
menu => transport entries
assign it to a req no.
check in se09 /10
release.
(i am giving the link)
Link:[http://sample-code-abap.blogspot.com/2008/06/transporting-table-entry.html]
second way
table: ztable.
go to se10 =. display => workbench request.
dbl clk the req number.
now in change mode in 'objects' tab => object name = ztable. clk on 'functions' key.
a new screen appears => dbl clk on the first empty line.
provide the table entries to be transported.
select the radiobutton 'entire table / table contents as per req / table contents by current key '.
save.
which of the above is correct and wats the diff ? pls suggest. which one shud i follow?Hi,
both procedures have the same result but unfortunately both have the same restrictions and lead to the same errors.
Tables which need transportation should always be defined and maintained in a way that the transport integration is ensured. This includes the correct table type (e.g. C table for customizing), maintenance only via maintenance view (generated or own defined) and transport integration activated (TCode SCC4). This is the only way the consistency between the systems is ensured. If you only put the table entries into a transport from time to time you only send the current table lines but deletion of lines won't be transported so you will end with more / outdated lines in qa and prod system. So if your z table contains customizing information you should define it as table type C, generate a maintenance view and maintain it e.g. via T-Code SM30. So every time someone changes the entries a transport request pops up automatically.
While this all does not seem to difficult to handle for small developments, propper transport integration and table definition is important if you head into greater projects perhaps with delivery to multiple customers. In such scenarios it is very important for the software logistic guys that the developers keep the basic rules for table definition as no S type table w/ client field, never put an integer type field into table key, never put asterisks in customizing transport (except langu field), never use the wrong transport type by manually adding table entries in workbench transports which belong in customizing ones and so on. It's really no fun if one year of development w/ some thousand man days of work can't be delivered because one of 2k tables was not defined properly.
Kind regards
Roman -
Hi All,
1.How can i transport a particular table contents from one system to another system?
2.How can i import the transport request with in the same system?
Thanks in AdvanceHi Sanjeeva,
You should fill "Program Id" and "object type" fields with "R3TR" and"TABU" and table name that will be transported into the "Object name" field. Then double click on table name that you just determined on the screen. At the upcoming screen, you'll see key fields of the table. Double click on an empty line in the list, popup will be appeared. By doing so, you can easily enter keys that belongs to records, you want to transport. Save your changes and export the transport request.
For the second answer, as far as I understand, you want to import this file into the system. Since perform this operation, you should execute "tp addtobuffer" and "tp import" at the OS level.
Best regards,
Orkun Gedik -
dear all ,
i have copied a table and activated and used it in a program and transported both program along with tables to quality
. i got error RC = 8.(some domains and data elements not activated). i have again checked and activated all fields and data elemnts and domains , assigned it to a new request and transported again.
i got the same error. RC = 8.
what might be the problem and any altenate solutin becouse there are more than 200 fields in these tables,any help wud be gratefull.
regards,
narenWith complex developments you have to be very accurate about your transport requests, so that all relevant objects make it into the next system in the landscape.
1) import transport request(s)
2) if RC = 8 or worse, scan the transport logs for all errors
3) correct the errors in DEV, create new transports containing missing objects, etc.
4) go back to 1)
Sometimes there are circular dependencies between objects, then it can help to import all relevant transport requests again at once. If the number of transports becomes too large, you can combine all objects in those transports into a single one via tx SE03.
Good luck.
Thomas -
Refreshed BA codes table transport
I just refreshed the table with BA codes through a load program , and its in dev . I dont have a transport for it . The table as we know is TBRCT and TBRC tables which has the BA codes or the industyry codes. Now that the codes have been loaded , I would like to know how do I transport theses to the QAT to take effect there. I dont have atransport generated in thgis . How do I create a transport to carry these codes to the QAT. Kind help will be greatly appreciated.
thanks
AaravCan anyone please let me know how do I generate a transport for this. I tried generating a tarnsport through spro in the define industry code , in DEV i have a complatee list and then generated this transport but I dont get the elemenst attached in the transport , it has just customising task in the transport, no tables has been attached with it . HOw do I generate a transport for the industry code to QAT .
Thanks -
Inconsistent custom table transport movement
Hi All,
I have appended new records in two custom tables and moved it from development client to quality client using one transport request. Changes to one custom table are reflected whereas the other did not in quality client. What might have caused this issue?
And if i use a new transport request to correct the issue might create an other problem. Please suggest a fix for the issue at the earliest.Max,
Thank you for the reply.
I have generated the TR by manually placing the values in TR. This is a workbench request. The delivery class is "A" and data class is USER. I was able to insert values in table using a maintenance view but was not able to include the table changes into TR.
The other custom table where values were transported properly has delivery class "A" and data class APPL1. I was able to manually maintain and attach values to a TR and it transported perfectly to quality client. -
About customize table transport
Hi All,
I changed a customize table Zxxx,added a field to it.Then transported it to the PRD system,but in the PRD system, this table was not active,and the change did not implement fully.In the DEV system,the table works well.Was there any problem of my transport? There is two option in the STMS(I did not check them when I transport): Overwrite originals,Overwrite objects in unconfirmed repairs.
What do they mean? Do I need to check these option when I transport?
Thanks very much!
PoleHi,
If you add a field to a table which has data in it you may have to run database utility to convert and activate the table . You can run database utility on DEV system and transport to Production. But there are chances of data loss if you chnage key of a table. I assume you added a field at the end and a non key field .
Cheers.
Maybe you are looking for
-
Dynamic Items - Restoring values on error
I've got a page with some dynamic items. When I display a error on the page the values do not restore to reflect changes that the user made, rather the values stored in the DB. This makes sense as my code does not check to see if a error occurred. I'
-
How to Create Shared Storage using VM-Server 2.1 Red Hat Enterprise Linux 5
Thanks in advance. Describe in sequence how to create shared storage for a two guest/node Red Hat Linux Enterprise using Oracle 2.1 VM Server on Red Hat Linux Enterprise 5 using command line or appropriate interface. How to create Shared Storage usin
-
How do I watch nba league pass on iPad I have logged on successfully but no game
Everything setup correctly to no avail.
-
Load Photoshop in a Laptop in addition a the main computer
I have Photoshop 5S and 6 in my Apple Desktop. I would like to use anyone of these 2 programs in my MacBook Pro. What should I do?
-
10g Personal Edition Installation hangs on XP at 2%
I am a student in an Oracle 10g SQL class. We are using the Oracle 10g SQL book by Joan Casteel. The book comes with CD's for installing Oracle Database 10g. I'm trying to install on my Windows Media Center with SP3 laptop. When I tried the install t