Regarding RESB table changes
Hi..
I m working on one interface, in which i hav RESB extraction process. For the initial run of this interface all the records should be downloaded .But on subsequent execution i need only the changed records. The problem is there is no means for me to keep track of the changes in RESB, as these are not getting reflected in change tables CDHDR and CDPOS. Also there is no CREATED/CHANGED date fields in RESB table. Does anyone know any alternative for fetching the changed or newly records from RESB table based on date?
Hi Cynthia,
In the runtime we can check for the changes that are made in a table by using the mirror tables. there would be XRESB and YRESB tables in runtime which would hold the mirror images of the table contents before change and after change. so we have to perform a check of the fields from both the table at runtime. If there is a change perform the required action accordingly.
<b>
Reward points if this helps,</b>
Kiran
Similar Messages
-
Error on RESB table changing planning order using BAPI_PRODORD_CHANGE
Hallo.
In my custom program ZINTERFACE_ORDER, I use BAPI 'BAPI_PRODORD_CHANGE' to change multiple production order (quantity / start date/ end date).
CALL FUNCTION 'BAPI_PRODORD_CHANGE'
EXPORTING
number = wk_ordine
orderdata = wk_orderdata
orderdatax = wk_orderdatax
IMPORTING
return = bapi_return.
First order change works right, but the second order generate the error:
TYPE: E
ID : CO
NUMBER : 888
MESSAGE: Internal: Error when reading document table RESB
The error is generated by COXT_BAPI_ORDER_CHANGE , called internally from the above BAPI_PRODORD_CHANGE
And I have to exit from my custom report and reprocess the second order to work.
It seems that there is a lock on RESB table.
Could you
help me?
Thanks a lot
GiancarloYou need to find the lock that is being set. After your BAPI Commit, you need to test that the lock is cleared. If not, do a wait for 1 sec and retest.
Unlock (and lock) are queued objects that do not occur until after the commit is complete. Because they are queued, they can get slow. Especially when a background process is going to try to work with multiple in a short period of time.
Neal -
hai,
is it possible to count the no of records by year wise in resb table and in that table 16 millions records are present.if it is possible means, tell me the solution as soon as possible.
with regards,
r.dhinesh raj.hi,
write a query like,
data: ws_cnt type i,
ws_gjahr type gjahr.
select count(*) gjahr into (ws_cnt, ws_gjahr)
from bkpf GROUP BY gjahr.
write: ws_cnt, ws_gjahr.
endselect.
regards,
Subramanian -
I want to get data from only RESB table without loss of any deltas
i have to fetch the reservation details for the production orders.
we are using descrete manufacturing method to keep track the Work in process and cost .
for addition of components manually in the production order we can track thru change date i.e From AUFK table with field name AEDAT. for each time when we are adding the components the system will create a new line item In tableRESB-OBJNR(field)
i need very few fields from RESB table to be pulled into SAP BW.
how should i proceed creating a generic exractor without any loss of deltas.
i want to get data from only resb table into sap bw.
how should i proceed with Generice extractor with single table RESB and what would be the delta field . could any one throw some light .
all answers would be rewarded with pointsI have few reports for BOM data is to be pull into bw
all the reports contain the same tables Mentione below
MAST- material to BOM LINK
STKO- BOM header
STPO- BOM ITEM
STAS- BOM ITEM SELECTION
how should i create ageneric datsource satisfying that all the data comes from these tables without fail of deltas,
my doubts.1. Do i have to create a separate data sources (generic) for all these individually and load into separate ODS'S AND CLUB THEM into single ODS further.?
if i create i dont know what should be delta field that has to be picked for each datasource
2. Do i have to create a view on all these tables and create a generic datasource.if created what would be the delta field i have to select.
could you pls let me know how should i pull the data without loosing any deltas
could you pls let me know the flow with delta fields mentioned
regards,
P -
Performance issue with RESB table
Hi,
User want to improve the performance of a standard program RLLL07SE in which a RESB table data is fetched and take much time on it.
The select querry for RESB is,
SELECT * FROM RESB WHERE
MATNR = MATNR AND
WERKS = WERKS AND
XLOEK = SPACE AND "Löschkennzeichen
KZEAR = SPACE AND "endausgefaßt
XWAOK = CON_X AND "Warenausgang erlaubt
LGNUM = LGNUM AND
LGTYP = LGTYP AND
LGPLA = LGPLA.
whereas the table index is created on following fields of RESB,
MATNR
WERKS
XLOEK
KZEAR
BDTER
What possible can be done in this respect as the program is a standard one we can change only in Table Inxex I guess..or what else can be done?
Can we add LGNUM LGTYP LGPLA into the particular index apart from the existing fields?Hi,
Instead of creating the Index, Get Data from RESB with the where clause having the entire key of the index and then loop to the internal and delete the unwanted entries as shown below.
loop at itab.
if itab-LGNUM = LGNUM AND
itab-LGTYP = LGTYP AND
itabLGPLA.
else.
delete itab index sy-tabix.
endif.
endloop.
As u r getting data with entire index fields the performance will surely increase. Also avoid Select * and retrieve whatever fields u require.
As you r not having value to the field BDTER, you can pass a range or select-options for this field which has empty valuee.
Regards,
Satya -
Purhcase order is archived and reservatins are still open in RESB table
Hi Experts,
The purchase order has been archived and reservations to this order is still open in table RESB - KZEAR. There is no reservations display in MD04. The mateial is in subcontracting scenario.
We can clear this reservation technically by updating the table in pre-production. But the problem arised in production environment. We cannot do any technical changes.
My question is: How can we clear these reservations functionally??
Pl give your valueable suggestions.
Best answers will be rewarded.
Regards,
Surya.Hi
The final issue indicator in RESB table is shown as blank. If we select 'x' Indicates that a reservation item is completed.
How can we get functionally the indictor is to be 'x' as the PO is archived?
Thanks & Regards,
Surya -
PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED"
HAI EVERYBODY,
PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED" during the material master replication by using middleware parameters.
step1 : i have taken SRM client 810 and named it as CHINNISRM
step2 : i have taken r3 client 810 and named it as CHINNIR3
step3: During material master replication i maintained tables like crmconsum,crmrfcpar,crmparoltp in r3 and smofparsfa in srm client and filtered the objects and loaded the objects through r3ac3,r3ac1,r3as.
step4 : And later i have checked in r3 queues to activate the objects,but i have seen a message like "LOGICAL SYSTEM CHANGED:SEE 588701".according to the oss instructions i have checked in CRMPRLS table in se16 in R3 .there i found out there is one logical client named with T90CLNT810.
oss :588701
Solution
There are different cases in which different forms of processing are
required or where several options exist:
- The logical system name of an R/3 Backend client was changed in
current operation. In this case, the data hangs in the outbound
queues of the R/3 Backend system as specified under point 1 of
the symptom. In this case, the logical system name must be
changed back to the original value. Then the outbound queues
can be reactivated. If no data was transferred to the EBP/CRM
server before the change, also a correctioin of the check table
is possible.
- The same logical system name was used again in a new client of
an R/3 Backend system that was linked to the EBP/CRM server. In
this case, the data is in the inbound queue of the EBP/CRM
server with the exception GUID_FOR_LOGSYS_CHANGED. In this
case, the queue entries which have status SYSFAIL must be rejected, however, not the entire queues. If the new client of the R/3 Backend system you have linked has exactly the same
data as the old client and if it is meant to replace the old
client (that is, this was deactivated), also a correction of
the check tables is possible. In this case, the inbound queues
can be reactivated after the correction.
oss:765018
1. If the situation in your system corresponds to the situation described
under "Reason and Prerequisites" and if symptom 1 occurs, you can
delete the table entry from table CRMPRLS table (there is just one
entry). Since there is no maintenance dialog for this table and you
cannot maintain it using transaction SE16, you must use a report to
delete it. This report is attached to this note as correction
instructions.
Create the report ZZ_DELETE_CRMPRLS in your system and copy the source
code from the correction instructions. You cannot implement this
source code using transaction SNOTE.
You can use the report in every plug-in or plug-in basis system, even
if it is not specified in the validity section.
After you have run the report, you can trigger existing queues again
in transaction SMQ1.
2. If the situation in your system corresponds to the situation described
under "Reason and prerequisite" and if symptom 2 occurs, you can
delete the entry from table CRMMLSGUID (there is just one entry).
Since there is no maintenance entry for this table and you cannot
maintain it using transaction SE16, you must use a report to delete
it. This report is attached to this note as correction instructions.
If they do not yet exist, add the following messages to message class SMOF in your logon language:
Message Message short text
303 User &1 is not allowed to change table &2.
304 User &1 IS not allowed to display table &2.
305 Logical system &1 was not found in table &2.
306 System error! The current client was not
found in table T000.
Create the report ZZ_DELETE_CRMMLSGUID in your system and copy the
source code from the correction instructions. You cannot implement
this source code using transaction SNOTE.
You can use the report for every release of the CRM system, even if it
is not specified in the validity section. The only exceptions are CRM
releases with Support Package versions that are too low such as CRM
Release 3.0 with Support Package 12.
After you have run the report, you can trigger existing queues again
in transaction SMQ1 of the R/3 back-end system or transaction SMQ2 of
the CRM system.
so what should i do to do the replication.please suggest me .untill and unless i solve my problem i cant move to the further activity.i hope you people can solve my problem.thanks in advance.
thanks and best regards,
n.chakradharHi chakradhar,
Did you find a solution to your issue? We are facing a similar issue and looking to figure out how this can be resolved.
BR// 420 -
Deleting Reservation from RESB Table
Hi Experts,
I have reservations of child component in RESB table which are resulted from the parent component in Subcontracting Scheduling Agreement.
All Delivery Schedules lines are completed (GR Made.) Still reservations exist for child component.
Please suggest how to remove these reservations from RESB Table.
Regards,
Shravan.Hi Sharvan,
To delete entry from Table
Run trx SE16n (preferable) or SE16.
Enter the Table RESB.
Enter the reservation number.
Now in the command window (Where you type the T Codes) type &sap_edit. And press enter.
A message such "SAP editing function is activated" will flash.
Execute
Delete the entry.
Regards,
Shyamal -
Subcontract Reservations in RESB Table
Hi Experts,
I have reservations of child component in RESB table which are resulted from the parent component in Subcontracting Scheduling Agreement.
All Delivery Schedules lines are completed (GR Made.) Still reservations exist for child component.
Please suggest how to remove these reservations from RESB Table.
Regards,
Shravan.There is only one solution in this case if all efforts fail.
You have to write an ABAP code which will flag the Final issue indicator in RESB table for perticular reservation. In this case you have to flag exact reservations and close that chapter not to be opened again. in future.
Regards,
Rahul Puranik. -
How can we improve the performance while fetching data from RESB table.
Hi All,
Can any bosy suggest me the right way to improve the performance while fetching data from RESB table. Below is the select statement.
SELECT aufnr posnr roms1 roanz
INTO (itab-aufnr, itab-pposnr, itab-roms1, itab-roanz)
FROM resb
WHERE kdauf = p_vbeln
AND ablad = itab-sposnr+2.
Here I am using 'KDAUF' & 'ABLAD' in condition. Can we use secondary index for improving the performance in this case.
Regards,
HimanshuHi ,
Declare intenal table with only those four fields.
and try the beloe code....
SELECT aufnr posnr roms1 roanz
INTO table itab
FROM resb
WHERE kdauf = p_vbeln
AND ablad = itab-sposnr+2.
yes, you can also use secondary index for improving the performance in this case.
Regards,
Anand .
Reward if it is useful.... -
Hi All,
We are working on ERP 6.0. Recently Basis team has been asked to activate the table changes logs in Production system. Accordingly we activated the rec/client parameter for Production system client. We are also required to click the log changes tab in the table for which the logs are to be activated.This is to be done through t code SE13. While trying to do so, I have found that our Production system is not allowing to make changes directly as it is configured in non modifiable stage. I have also tried to make changes in devp clinet and then transport it to quality an Production,however it is not working.
Kindly let me know the exact method by which I can activate the tab in the table.
Thanks,
Prasad ThakurHello Prasad,
This is strange. It is understandable that the table content changes is not getting recorded in case rec/client (in default profile) is not set along with recclient="XXX" (in transport profile) but table logging activation not getting reflected in QA is a bit weird.
Are you sure that the transport carried correct contents. Can you list the contents of the transport. It should have an entry related to DD09L.
Is the table showing as activated ? Just try to activate/generate it.
For more info on recording please check OSS notes 1916 and 84052.
With Regards.
Ruchit Khushu. -
Table changes in database are not captured in ODI model level
Hi All,
Can any one help me how to fix the bug in ODI.
Table changes in database are not captured in ODI model level.
Thanks in advanceI created the interface which is running successfully.
Now i did some changes in target table(data base level).
I reversed the updated table in model section. Till here its ok
The table which is updated in the model section is not automatically updated in the interface.
I have to drop the existed datastore in the interface and and re do the entire process of bringing the updated datastore, mapping,etc..
Please tell the any alternate way.
Regards
suresh -
Hi folks,
I've made changes to a custom table in SE11(including keys and add new fields). Question is, if these changes are being transported to QA system, will the current table in QA system will be overwritten? how about the current content of table? will it be overwritten as well? do we need to adjust the table again in QA?
Thanks,
TremontiHello Karchy,
You will not loose the data in your QA table once you move the Table changes. The conversion will be managed through a temporary table at the back end. You can expect a few dumps in your QA system while the transport is being imported, if there are programs accessing this table during that time. Basically the DB system will use one of ALTER TABLE or table conversion methodology to adjust your table (as you have data in it). Only if the table is empty, its dropped and re-created (fastest method).
Once the transport is imported, its better to confirm the status of the table in SE14. If required "Activate and Adjust" the table and look out for issues in the logs.
When you move this table to the productive environment, do so in a quite time (when the system is least active).
Regards,
Jinesh. -
Hello All,
Can anyione help me on this. I am not able to understand what control table changes mean. I know what Table controls are but not known to control table.
And they are different from each other.
Can anyone please help me on this.
Regards
anuhi,
WELCOME TO SDN.
*Control Tables
The search indexes for address data, as well as the address data itself, are client-dependent. There can now be other differentiations within a client. These are called "Index pools".
The division reflects the fact that multiple areas of master data are involved, which differ from the business embedding in the SAP System and from the technical implementation.
Two such index pools are currently defined in table TSADRVGRP with a technical key derived from control table TSADRV:
For More details
http://help.sap.com/saphelp_nw04/helpdata/en/81/23a63a8e1d1e49e10000000a11402f/content.htm
Hope this will help you.
Rewrd points, if found helpful
Regards
ANVER -
Table changes to TBSL...
How do I find table changes ? I want to find the table changes done to table TBSL.
Regards,
Rajesh.Check the table DBTABLOG:
Pass the name of your table TBSL to the field: TABNAME to get the log of changes done to your table.
Regards,
Ravi
Maybe you are looking for
-
Working with libraries/catalogs in Photoshop Lightroom
So, you have a question or two or three about Lightroom Libraries/Catalogs. Not to worry, Adobe have provided a TechNote , which is aimed at addressing questions such as: Note: with the introduction of Lightroom version 1.1 Adobe have replaced the t
-
I'm looking for a good (i.e., able to be understood by a non-programmer) resource on PS scripting. I'm not even sure what I want to do is possible. I'd like to generate a script that will do a batch Merge to HDR Pro. I'd like to point the script a
-
My workplace have been cs6 subscribers for several months now but as of yesterday they are still on cs6 and not been upgraded to cc. The update facility also shows no new updates available. Any ideas?
-
Show quantity discounts only for wholesale
I have consumer and wholesale pricing set up. Wholesale has quantity discounts which work when you login and add a quantity to the field. The problem is the way I have it now you can't see what those price breaks are. My question is, how do I display
-
Loss style when overriding the function 'set data' for a TileList
Hi! In a TileList, I set the itemRenderer for a components from where I override the function set data like in this example: but, by doing this, I'm loosing all the built-in CSS behavior. The onMouseOver effect the change the backgroundColor and the