BOM delete entries
Hi,
I am working on cs02. my requirement is to get the details of deleted entries in BOM. i have now got the details of changed values. only the deleted values are left.
i have seen :
CS01 CREATE
CS02 CHANGE
CS03 DISPLAY
EXTRAS CS28 ARCHIVING
CS20 MASS CHANGES
EVALUATION/BOM CS11 BOM MULTILEVEL
EXPLOSION/MATERIAL CS12 STRUCTURE MULTILEVEL
BOM CS13 SUMMURISED BOM
How to get the details of history of deleted BOM componentes. even a tcode will help
thanks in advance guys
Hi Devrath....
when you used CS02 for BOM and delete any component from there and save it...
then this delete entry's record will be inserted in table CDPOS....
you can see the value as D - deleted, U - updated, I - inserted in the CHNGIND field of table CDPOS...
so when you see the value of CHNGIND as D then that component is deleted from your BOM and can get the value of
deleted components....
hope this will help you...
Nipul shah...
Edited by: Nipul.Shah on Mar 1, 2012 4:57 PM
Similar Messages
-
Hello All,
Deleted a BOM (ALT 1) containing a only document item in it, ALT 2 is still available. Now we are again in need of the that BOM but when tried to re-create ALT 1 system gave error message that "ALT 1 BOM already exist for the material and plant"
When use to display using CS03, system says BOM for material and plant is not exist in the system.
After invistation it has been noticed, ALT 1 BOM was got deleted physically only and not logically as BOM table entries (MAST, STPO, STKO etc) for ALT1 still exist in the system.
Our need to create ALT1 BOM is immense and inescapable.
Please suggest how to delete the BOM logical entries so that ALT1 can be recreated (Table maintenance SE11 option is not feasible).
Thanks you.Hi Dgirme,
your question is Deletion Inconsistency yeap.
Ok here are the steps to Delete the BOM CS02----> open the BOM and goto -
> on the top MATERIAL BOM clikck it -
> there will be Option DELETE.
If you click on it (DELETE) there will be a message displayed in the bottom that materials are been allocated again press ENTER then the BOM will be DELETED.
Come back to CS01 and give the same material maintain the particulars you will able to create the alternate BOM 1 with the same items in the BOM.
I hope you can try it.
Regards,
Madhu.G -
Hi folks,
I have delete program to delete entries from a custom table and has only one feld in it.
tables: ZABC
selection-screen begin of block B1 with frame title text-110.
select-options: P_KOSTL for ZABC-KOSTL.
selection-screen end of block B1.
delete from ZABC where KOSTL in P_KOSTL.
Upon executing I am entering certain cost center ids on the selection screen to delete them from the table.It did not work.
what is it I am missing?
Thanks,
SKHi,
Try this sample code..Replace ZABC with your table..
TABLES: ZABC.
selection-screen begin of block B1 with frame title text-110.
select-options: P_KOSTL for ZABC-KOSTL.
selection-screen end of block B1.
START-OF-SELECTION.
* Delete the records from the table.
DELETE FROM ZABC where KOSTL IN P_KOSTL[ ]. " [] for the select-options.
IF sy-subrc <> 0.
ROLLBACK WORK.
ELSE.
COMMIT WORK.
ENDIF.
Thanks,
Naren -
Unable to delete entries from queue (SMQ2)
Hi
I am unable to delete entries from inbound queue due to number of entries are too high (Approximately 160,000). Deletion in dialog mode producing timeout error...Is there any way to delete these entris in background mode or any other idea about this situation..
Your valuable time & annswer appreciated.
Thanks
RakeshHi Rakesh,
Check these threads on SMQ2. It may give some help to you:
Queue issue
deleting the inbound queue tc smq2
Also check this file:
http://help.sap.com/saphelp_nw04s/helpdata/en/d9/b9f2407b937e7fe10000000a1550b0/frameset.htm
Regards,
Subhasha Ranjan -
Is there any BAPI or function module to delete entries from a table (VBAK)
Hi Everybody,
this is my first thread in SDN...
my problem follows...
A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
tables:
VBAK sales document: header data
selection fields:
VBAK-LIFSK ≠ <BLANK>
VBAK-ERNAM = userID used by e-Sales / IVE
(EP-BATCH / EAI-BATCH)
VBAK-ERDAT <= Current system Date
VBAK-ERZET <= Current system Time - 20 minutes
These orders should be deleted from SAP system.
This report should be scheduled to run regularly every 10 minutes.
my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
best replies will be rewarded....
regards
ReddyHi Vasanth ,
thanks for your reply.
i tried in the same manner what u mentioned.
but how to pass only one parameter to the functionmodule..
here in this case we have to pass only update flag as 'D'..
i did the same it giving dump..
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "ORDER_HEADER_INX".
Although the currently specified field
"INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.
my pgm :
*& Report YNEW_ORDER_DELETION
REPORT ynew_order_deletion.
TABLES:vbak.
PARAMETERS:
p_lifsk LIKE vbak-lifsk DEFAULT '02'.
SELECT-OPTIONS:
s_lifsk FOR vbak-lifsk DEFAULT '10',
s_ernam FOR vbak-ernam,
s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
s_erzet FOR sy-uzeit.
*PARAMETERS:
p_erzet LIKE sy-uzeit.
s_erdat like vbak-erdat,
s_erzet like vbak-erzet.
DATA:
BEGIN OF int_final OCCURS 0,
w_vbeln TYPE vbak-vbeln,
END OF int_final.
DATA:
int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
DATA:
wf_time TYPE sy-uzeit.
INITIALIZATION.
s_ernam-low = 'KULKARMA'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
s_ernam-low = 'EAI-BATCH'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
wf_time = sy-uzeit - 1200.
p_erzet = sy-uzeit - 1200.
p_erzet-low = wf_time.
APPEND s_erzet.
int_order_header_inx-updateflag = 'D'.
APPEND int_order_header_inx.
START-OF-SELECTION.
SELECT vbeln FROM vbak
INTO TABLE int_final
WHERE lifsk EQ p_lifsk
AND ernam IN s_ernam
AND erdat IN s_erdat
AND erzet IN s_erzet.
IF sy-subrc = 0.
LOOP AT int_final.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = int_final-w_vbeln
ORDER_HEADER_IN =
order_header_inx = int_order_header_inx
SIMULATION =
BEHAVE_WHEN_ERROR = ' '
INT_NUMBER_ASSIGNMENT = ' '
LOGIC_SWITCH =
NO_STATUS_BUF_INIT = ' '
TABLES
return = int_return
ORDER_ITEM_IN =
ORDER_ITEM_INX =
PARTNERS =
PARTNERCHANGES =
PARTNERADDRESSES =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
SCHEDULE_LINES =
SCHEDULE_LINESX =
ORDER_TEXT =
ORDER_KEYS =
CONDITIONS_IN =
CONDITIONS_INX =
EXTENSIONIN =
ENDLOOP.
LOOP AT int_return.
WRITE:/ int_return-type,
int_return-id,
int_return-number,
int_return-message.
ENDLOOP.
ENDIF.
please help me ..its a very urgent issue to be solved...
am waiting for ur reply...
regards
gangareddy -
How to get the latest and valid BOM item entry from STPO
hi,
may i know with what condition we can get the latest and valid BOM item entry from STPO table?
i have STLNR and IDNRK as a input. But i realized that it would return multiple entry due to the combination of valid-from and valid till date.
can i use stlnr,idnrk and stpoz (with the latet counter) to get the latest and valid BOM entry?
thank you.Hi
You can get the latest BOM either by using the latest valid from date DATUV or latest internal counter STPOZ
Regards
Shiva -
How to delete entries in the T030 table with LSMW?
Hi all,
I need to delete 600 entries from T030 table (Fix account table), Tcode OBYG, and I want to use a legacy for this,
but I don´t know how or if is possible delete entries from a table with a legacy.
Thanks in advance!You Can Use SCAT instead.
-
Delete entries in "Installed Updates" log
Is there anyway to delete entries in the "Installed software updates" log?
I want to reinstall a firmware patch but although the patch downloads and says it has installed successfully it doesn't actually update anything... However, it shows up in the "installed updates" log.
Any one any ideas how to delete entries in the "Installed software updates" log?Why do you want to delete an entry from the log?
What do you think that will achieve?
How do you know it doesn't actually update anything?
Why do you think you need to reinstall the patch?
If you reinstall the patch but it doesn't need to be reinstalled
then I would not expect anything to change.
Dave -
Delete entry or change entry in sap table
Hi Gurus,
i want to change or delete entry in VBEP.
points sure!
Rahulhi guys ,
its very easy ,
go for se16 , fetch all the records which are required to delete ( use only se16 lay out)
after fetching the records just enter ' /H ' in the command bar
and then double click on any of the enter , then u fill go to debugging screeen and then just press F7
u will find the following code
form set_status_val tables ntab structure x031l
using code name next for_lines.
field-symbols: .
refresh exclude_tab.
if code = 'SHOW'.
set titlebar 'TAB' with name 'anzeigen'(100).
elseif code = 'EDIT'.
set titlebar 'TAB' with name 'ändern'(101).
elseif code = 'INSR'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'ANVO'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'DELE'.
then just click on CODE and pass value as DELE and press F8
AND THEN U CAN DELETE ALL THE ENTRIES -
How to delete entries in COSP table?
Dear experts
How to delete the transactions posted in COSP table from my testing client.
The reason is user has created wrong cost element and posted the transactions. But they don't want this as cost element.
I have deleted entries in COEP table by running the program RKACOR20.
After that I tried to delete the cost element. Now it is showing that "Deletion is not possible (dependent records exist in table COSP)"
Now the question is how to delete these transaction posted to COSP table.
Regards
KiranHi Experts,
I'm facing exactely the same issue on a customer system
COEP line deleted via RKACOR20
COSP total amount stil exist, need to be cleaned.
Does it exist a program that read COEP to update COSP ?
Any update ?
Thanks a lot for your help.
Best regards,
Jean -
Delete entries from Database table t71inp1
Hi,
I want to Delete entries from Database table t71inp1. Its a H R Table. I want to know the exact code.
i saw the cide delete bkpf where usnam = p_name.
Will it work the same here. Also.
Please let me know.
I hope to get reply from you soon.
where should i write the code. i.e. Tcode SE38 and directly deeleting write the code.
Please give me some inputs. I am new to H R ABAp
Shivakumar K B
919886920258hi
You can write a program in se38.
create a program.
use delete from t71inp1 where<condition> command in it. -
Delete entries over 1 month old in parent and child tables
Hi guys,
Im new to oracle (2days old) and im struggling to find out how to delete all entries over 1 month old in a database but also delete entries from the child table. I have read about delete cascading etc but im really strugging at the moment. Any tip or ideas? thank youYou just need to delete data in parent table using the right WHERE clause that requires some timestamp column that stores data age. If the foreign key constraint is created with ON DELETE CASCADE child rows are automatically deleted.
Assuming P is the parent table and C the child table and the timestamp column is stored in the parent table here is an example.
SQL> create table p(px int primary key, d date);
Table created.
SQL> create table c(cx int, cy int references p on delete cascade);
Table created.
SQL>
SQL> insert into p values(1, '01/01/2011');
1 row created.
SQL> insert into p values(2, '15/01/2011');
1 row created.
SQL> insert into p values(3, '31/01/2011');
1 row created.
SQL> insert into c values(10,1);
1 row created.
SQL> insert into c values(20,2);
1 row created.
SQL> insert into c values(30,3);
1 row created.
SQL> commit;
Commit complete.
SQL>
SQL> delete p where months_between(sysdate, d) >= 1;
2 rows deleted.
SQL>
SQL> select * from p;
PX D
3 31-01-2011
SQL> select * from c;
CX CY
30 3
SQL>Edited by: P. Forstmann on 15 févr. 2011 13:45 -
Source system appearing in BI folder : Not able to delete entry RSBASIDOC
Hi all,
Iam creating source system connection from ECC to BI system.
But the source system appearing in BI folder all the time, i found one note 1087980 and tried deleting an entry with SRCTYPE = M from RSBASIDOC table with FM RSAP_BIW_DISCONNECT , but the system shows error message OTHER_ERROR and the entry does not get deleted.
For this SAP recommended to check a valid RFC connection between ECC and BI system , i have checked it and the RFCs are working fine for it also.
Please help.
Regards,
Akash.follow this steps:
In the source sytem
SE37 e launch the FM RSAP_BIW_DISCONNECT
you will find the BIW and OLTP log on the RSBASIDOC
So run the FM.
IF you find the OTHER_ERROR, may you have to check the RFC connection. (If the source system was been refreshed, you have to create a RFC to PROD).
You should encounter this error ( Not able to delete entry RSBASIDOC), when you try to restore the DS: in this case infact, is the IDENTIFIER (TSPREFIX) that creates problem (so you have to delete the relevant entry from the table).
CIao,
Cristian -
How to retrive the deleted entries in the ztable
please let me know how to retrive the deleted entries in the ztable.
>
Naseer uddin wrote:
> Hi,
>
> While creating a table have u activated the buffering (full).
> if not then it is not possible to retrive the lost data, and if u have activated the full buffering of table then it is possible to retrive data, up to some extent, using transaction Code se14.
Complete Nonsense.*
buffering doesn't mean that it will buffer the records back in database ,once you deleted.it means it will allow the buffer the table to memory only while read access. -
How to retrieve the deleted entries
Hi all
I deleted some standard entries in the sand box related to item category determination in sand box.They are not stored in a change request. How can I revert back those deletd entries back into the system.
Thanks
SonaliNo . I dont have IDES.
I want to get back those deleted entries.
Any help is appreciated.
Thanks
Sonali
Maybe you are looking for
-
Help required in accessing a file on shared path
Hi, I am trying to access a file present in a shared location using a custom component. When i run my Java code the file is accessible. But when i deploy the same code on livecycle as a custom component, the code is not able to access the file. The l
-
Hi Friends we are facing a issue ,please help me from getting out from this when ever idoc created in R/3 and it has status of 01, 30 03,29,01,30,03,finally 41.when i monitored in XI IDX5 we foind the same IDOC 2 times ,can some one explain what migh
-
Query About the SAP ABAP Module
Hello My name is Anuj Chaturvedi. I have doing a MCA Course(VITH semester). I want to do a SAP ABAP Module. So Please suggest me that ii is gud for me? Also tell me something more about the ABAP Module. Kindly reply me soon. Thanks Anuj Chaturvedi
-
Deliverables for non-Java clients
I'm trying to write my first web service. My server code can be in Java but the client system cannot use Java anything. I'm looking at the Java web services tutorial provided by Sun and it seems to assume a Java client. Do I need to go elsewhere for
-
White strokes disappear when I save for web
I have white stroked lines in my document. when I try to save for web and devices the white lines are gone Illustrator CS3