Maintaining a table...
Hi Everybody...
I want to know whether an SAP table such as J_1IRSNCODEM can be maintained using SM30...
Regards,
Varadharajan.S
Hi,
Transaction SE11.
In View, enter ZV_J_1IRSNCODEM.
Create view.
Select Maintenance View
Enter J_1IRSNCODEM in the Table tab.
Then, in the View Flds tab, enter all fields you are interested in.
Save.
Finally, go in Utilities-> Table Maintenance Generator and generate it.
After activation, you should be able to modify, delete, insert entries in SM30.
Best regards,
Guillaume
Similar Messages
-
Error while maintaining a table in SM30
Hi experts,
Im getting the following error when trying to add entries (Maintain) in table T5ASRAUTHMETHOD in SM30 transaction.
The error is " The maintenance dialog foor T5ASRAUTHMETHOD is incomplete or not defined".
Pls tell me how to correct this error.Hi Shanthi,
the Delivery Class, and the existence of a tablemaintenance dialog,
and the "recording routine" setting. All of this would
be visible through SE11.
Regards,
Md Ziauddin -
How can I maintain two tables content at the same time with SM30
Hi all,
I created two customizing tables that I would like to link together for maintenance in SM30. Table 1 is the header and table 2 can have multiple detail records.
They are linked via the ID key field. I would like to run the Table Maintenance Generator on the first table in SE11 and be able to maintain both table data at the same time in SM30.
How can I do that without any ABAP programming? Should I use Append or Include structure or else?
Thank you for giving as much detail as possible.
Regards,
SylvainHi,
You cant do it w/t abap programing.
You can code in "EVENT" to achive the same.
Open table maintainance generator of first table through se56 or se11.
follow the path: environment>Modification>Event.
Select sutaible event from drop down like Before Save... and do coding.
In this way data will be saved in second table automatically when you save in first table.
In case of any query, please revert.
regards,
Dhan -
In LSMW how to maintain Internal table?
Hiii
In lsmw data uploading.. it need to maintain internal table manually or it maintaind by SAP ?
Thanks & Regards
AryaHI
how to update the existing entry in Ztable through LSMW
/message/5906806#5906806 [original link is broken]
Regards
Pavan -
Maintain separate table for these fields
I want to maintain separate table for this fields.
1. Sales order number
2.item number
3.material
4.qty pricing date price change date if u user changes price manually.
5. Order price
6.sales value
Where will we get these fields from which table.Hi,
1. Sales order number = VBAK-VBELN
2.item number = VBAP-POSNR
3.material = VBAP-MATNR
4.qty pricing date price change date if u user changes price manually.
Qty from VBAP-KWMENG
Price date = VBKD-PRSDT
Change Date = VBAK-AEDAT
5. Order price = VBAK-NETWR
Thanks,
Mandar -
Insert value to field automatically when maintaining db table
Hi,
I am maintaining Z table in sm30.
The first field is the material code and the second field is the material description (and there are other fields).
The requirement is inserting the description of the material automatically after inserting manually the material code.
How can this requirement be implemented ?
Best Regards.
OfirUse event No 5 In table maintenance generator.
Table maintenance Generator -> Environment -> Modification -> Events -> New entries => select event no 5. & do required coding
Regards
Vinod
Edited by: Vinod Kumar on Apr 21, 2010 5:26 PM -
How to maintain HRESSAPPROVER table
Hello, everyone.
I have some problems with leave approvers. Here are my questions:
1. I need to change or even delete some records from HRESSAPPROVER table. But it is mot maintainable. How can I do it.
2. How the data gets into HRESSAPPROVER table?When an employee applies for leave or a leave cancellation, the
leave application stores the approver, in case the one defaulted
by role resolution of the workflow task, has been modified / overridden.
The entry in table HRESSAPPROVER is deleted by the ESS leave
scenarios, when the leave requester reinstates / resets the the
approver to the one proposed by the by role resolution of the workflow
task.
The table HRESSAPPROVER therefore cannot be directly
accessed / maintained by a user, but happens in the background.
In case its data needs to be maintained, it could be done by the
administrator, who would be having the rights to modify the field
contents of the table.
Unfortunately there does is no option to maintain this table via the
portal.
The approver is then saved to HRESSAPPROVER table only in case where
the approver is not same as the 'default approver' provided by Org
Management.
Just read the Note 822589, it will help.
If you want to delete entries write a small abap program to do so.
ALso check your customisation using PTARQ for leave request WD, ie if you are using this one. -
How to maintain BNKA table.
Hi,
I have a requirement to Maintain the table BNKA, where i can able to change the selected entries of the table.
This we can do normally by creating the maintainance view for the table. This case we cannot as this is a standard table.
Could you please let me know a solution to change the selected entries of the table. Is updating the BNKA table using Zprogram is preferable.
Will highly appreciate the solution.
Thanks,
Phani Kumar.Hi Pani,
please check this
http://sap.ittoolbox.com/groups/technical-functional/sap-hr/bnka-table-values-1501810
https://forums.sdn.sap.com/message.jspa?messageID=7242137
https://forums.sdn.sap.com/message.jspa?messageID=8581624
standard report-RFBVALL_0
Hope there is some clue
No Worries
KG -
Hi Experts,
Can anyone please tell me how to maintain IMPR table?
Requirement: In IMPR table under field PRNAM, we have data for MY00,SG00,AU00. Now, we want to
maintain data for TW00. We don't have TW00 in this field.
Please help.
Thanks in advance.
Regards,
PrakashYou need to create Investment program postion in via IM11 for new or Change existing Investment Position with requried description in IM12 than it will get reflected there.
With Regards
Nitin P. -
Hello,
We noticed that the Unit Of Measurement field is not populated for certain objects in 'COKA' table.
How to maintain this table. Is there a way thro the configuration.
Thanks. MuraliYou need to create Investment program postion in via IM11 for new or Change existing Investment Position with requried description in IM12 than it will get reflected there.
With Regards
Nitin P. -
HCM Form and Process ERROR No error agents maintained in table T5ASRERRORAG
Hi All,
I am setting up HCM form and Process and I am done with Setting up new scenario and form and workflow steps. When I do the check consistency for Processes I get these 4 error below and not sure what do i do about these error
No error agents maintained in table T5ASRERRORAGENTS
Case type for Step Object H_SO is not defined
Case type for Scenario Obj. H_FO is not defined
Case type for Process Object H_PO is not defined
Any help will be appreciated.
Thanks,
-AshwaniSome elaboration would help here a LOT! Would it be possible to get some more info about it?
I am following this tutorial: http://help.sap.com/saphelp_erp60/helpdata/EN/42/f273461e5132c3e10000000a1553f6/frameset.htm
and didn´t find any "sub-chapters" about this. am I missing something? Or could you tell me the number of the tutorial step which I performed in a wrong way or did NOT performed?
Thank you, cheers Otto -
Maintain HR table: TWPC_OBJSEL and TWPC_OBJSELRULE
Hi experts,
I tried to maintain these HR tables ( TWPC_OBJSEL and TWPC_OBJSELRULE ) by SM30 but failed.
Could you please suggest me how to maintain these tables?
Thanks,
KhanhHi Rahul Ghosh,
V_TWPC_OBJSEL and
VC_TWPC_OBJSELRULE
Thanks,
Khanh -
Which standard SAP programs access parameters maintained in table TVARV?
Hello,
There is a table TVARV which contain parameters that are used in several SAP standard programs. I need to find out which programs access the parameters maintained in table TVARV. Can anybody tell me how to go about finding which programs access parameters in table TVARV?
Thank you!Hi Rae,
There is a nice program developed by DYLAN HACK which is developed to know what jobs are affected by individual TVARV variables.
Matt, As per the forum rules, I have written the name of the author as well.
Kindly find the program on below link :-
[http://searchsap.techtarget.com/tip/0,289483,sid21_gci862489,00.html#]
Regards
Abhii
Edited by: Abhii on Dec 11, 2009 5:20 PM -
Date delimit functionality when maintaining Z table
Hi all,
I have Begin date and End date fields in a Z table and i want to achieve automatic date delimit functionality.
So i have the subscreen area in my screen and called a std program and screen inside the subscreen. I have writen the below coding in the PBO event of my screen.
MODULE DATE_D0001_IF_EXP.
CALL SUBSCREEN DATELIMITS INCLUDING 'SAPLSVIM' '0001'.
" DATELIMITS - name of my subscreen
But when maintaining the table in SM30, the BEGDA and ENDDA field headings are displayed. But those date input fields are not getting displayed.
Can someone tell me why the date fields from the std program, screen are not displayed inside my screen?
Edited by: Shanthi on May 2, 2011 1:59 PMHi,
There are some imports being done in the program for screen 0001. Based on these values, the screen fields are made visible and invisible etc.
IMPORT d0001_field_tab
d0001_status
x_header TO xheader
current_date
date_to_delimit
date_to_posit
vim_begdate_name
vim_enddate_name
FROM MEMORY ID vim_memory_id_2.
So try doing your validation with the events available in table maintenance,.
Regards,
Harish -
Hi Experts,
The below procedure is scheduled using DBMS_JOB.
I want to maintain log table for the actions performed by this procedure
and as well as the job information.
CREATE OR REPLACE PROCEDURE load_proc (P_ID IN NUMBER)
IS
CURSOR C
IS
SELECT GROUP_ID, tablename, target_table
FROM temp_table
WHERE GROUP_ID = p_id;
BEGIN
FOR I IN C
LOOP
EXECUTE IMMEDIATE 'INSERT INTO '
|| I.target_table
|| '(SELECT * FROM '
|| I.tablename
|| ' WHERE '
|| 'last_dt<=SYSDATE-500'
|| ')';
EXECUTE IMMEDIATE 'DELETE FROM '
|| I.tablename
|| ' WHERE '
|| 'last_dt<=SYSDATE-500';
COMMIT;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
DBMS_OUTPUT.PUT_LINE (
'An error was encountered - ' || SQLCODE || ' -ERROR- ' || SQLERRM
END load_proc;
DECLARE
X NUMBER;
BEGIN
SYS.DBMS_JOB.SUBMIT
( job => X
,what => 'ARP.load_proc(1);'
,next_date => to_date('20/01/2013 00:00:00','dd/mm/yyyy hh24:mi:ss')
,interval => 'TRUNC(SYSDATE+1)'
,no_parse => FALSE
SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
COMMIT;
END;
/I want to capture the below information in the log table.
SNO RECORDS_INSERTED RECORDS_DELETED JOBID JOB_START_TIME JOB_END_TIME JOB_LAST_RAN_ON JOB_STATUS
1 2000 records inserted into 2000 records deleted from 1 20/01/2013 00:00:00 20/01/2013 02:30:00 20/01/2013 02:30:00 completed successfully
table WEDB_EMPLOYEE table WEDB_EMPLOYEE
2 1 21/01/2013 00:00:00 21/01/2013 01:00:00 Failed: error message
3 1 NULLIf the job is not started on the particular day NULL value has to be inserted in the JOB_LAST_RAN_ON column.
If the job is not failed in the middle on a particular day FAILED: ERROR MESSAGE value has to be inserted in the JOB_STATUS column.
Script for log table creation.
CREATE TABLE log_load_proc
(sno NUMBER,
records_inserted VARCHAR2(4000),
records_deleted VARCHAR2(4000),
jobid NUMBER,
job_start_time TIMESTAMP,
job_end_time TIMESTAMP,
job_last_ran_on TIMESTAMP,
job_status VARCHAR2(4000));Please help me on this.
Thanks in advance.973205 wrote:
>If the job is not started on the particular day NULL value has to be inserted in the JOB_LAST_RAN_ON column.
If the job is not failed in the middle on a particular day FAILED: ERROR MESSAGE value has to be inserted in the JOB_STATUS column.
Thanks for posting the Procedure, Job and Table Details.
How do you want to represent the data in Log table, if you are processing Multiple Tables in a Single Job Run?
Certainly, to comply with your First requirement, you will have to setup another job that does the Logging for you.
Or, Calling of Job procedure has be modified like below
DECLARE
X NUMBER;
BEGIN
SYS.DBMS_JOB.SUBMIT
( job => X
,what => 'ARP.some_procedure(1);' ----------> some_procedure will call Log Procedure, followed by load_proc(1) and further followed by Log procedure to indicate success/failure of Job;
,next_date => to_date('20/01/2013 00:00:00','dd/mm/yyyy hh24:mi:ss')
,interval => 'TRUNC(SYSDATE+1)'
,no_parse => FALSE
SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
COMMIT;
END;
/Below is a sample code, which you can modify according to your requriements:
create or replace procedure log_load_job
p_rec_inserted varchar2,
p_rec_deleted varchar2,
p_job_id number,
p_start_date date,
p_end_date date,
p_job_status varchar2
is
declare
pragma autonomous_transaction;
begin
insert into log_load_job (records_inserted, records_deleted, job_id, start_date, end_date, last_run_date, job_status)
values (p_rec_inserted, p_rec_deleted, p_job_id, p_start_date, p_end_date, decode(instr(p_job_status, 'ERROR'), 0, p_end_date, null), p_job_status);
--> Decode to check if Job Status is Error, do not enter Last Run Date
commit;
exception
when others then
null; ---> Failure of LOGGER must not interrupt the normal execution.
end log_load_job;
CREATE OR REPLACE PROCEDURE load_proc (P_ID IN NUMBER)
is
v_inserted varchar2(4000);
v_deleted varchar2(4000);
v_start_date date;
CURSOR C
IS
SELECT GROUP_ID, tablename, target_table
FROM temp_table
WHERE GROUP_ID = p_id;
begin
v_start_date := sysdate;
FOR I IN C
LOOP
EXECUTE IMMEDIATE 'INSERT INTO '
|| I.target_table
|| '(SELECT * FROM '
|| I.tablename
|| ' WHERE '
|| 'last_dt<=SYSDATE-500'
|| ')';
v_inserted := sql%rowcount || ' records inserted into ' || i.tablename;
EXECUTE IMMEDIATE 'DELETE FROM '
|| I.tablename
|| ' WHERE '
|| 'last_dt<=SYSDATE-500';
v_deleted := sql%rowcount || ' records deleted from ' || i.tablename;
log_load_job(v_inserted, v_deleted, p_id, v_start_date, sysdate, 'Completed');
--COMMIT;
v_inserted := null;
v_deleted := null;
end loop;
commit; ---> Commit After Entire Tables have been Deleted and Inserted.
EXCEPTION
WHEN OTHERS
then
log_load_job(v_inserted, v_deleted, p_id, v_start_date, sysdate, 'Error :: ' || sqlerrm);
ROLLBACK;
end load_proc;
/Untested piece of code. -
Interface Program for maintaining a table
Hi Experts,
I am having a requirement,.,cud u please tell me how to proceed.
1. We have a table and maintaining manually.
2. we need a Interface to do it.
3. If i create a record with " Create with a template ..user id and a date field in the table should be disabled to change and others can be changed.
in betwen i need to check some conditions in methods .
after checking this ..the method gives the number of records that are getting affected in the final table.
Please let me know if some one has faced this kind of issue.
Thanks,
VarunHi,
generate table view. Own form routines to disable rows or setting defaults values can be added. Pelase refer to SAPDOCU:
ABAP Workbench (BC-DWB)/ BC Extended Applications Function Library / BC Extended Applications Function Library
for details.
Kind regards,
HP
Maybe you are looking for
-
Looping Cfdocument to produce a multiple page doc
Can anyone point out where I can find information on producing a multiple page cfdocument (pdf) using a database to include unique information? I have a customer that wants mailers that have the customers name and special offer. I want to use CF to g
-
how do I change the order of the songs from a specific artist in my music library?
-
Firefox 3.6.8 hanging in Windows 7 X64
I have used Firefox 3.6.8 with Windows 7 X64 without problems about many months. Misteriously Firefox stop working. It load in task manager "firefox.exe *32" but dont open the browser window. I try to reinstall, delete profile and I try the new beta
-
QUANTITY OF MATERIAL IN PRODUCTION ORDER
CAN THE QUANTITY OF MATERIAL CONSUMED DURING THE CONFIRMATION OF PRODUCTION ORDER BE MORE THAN THE REQUIREMENT QUANTITY OF IN COMPONENT OVERVIEW?
-
Hi , I bought a SD card for my Nokia Lumia 620 because the storage is full , actually I Surprised that I can't save app and games on it , is that a problem in my phone ? Solved! Go to Solution.