2008 Jun 25 12:21 PM
Hi Gurus,
Just had some queries:
Once the program ZRBDMIDOC has run the change pointers picked by the program are in processed status. Where exactly this status is maintained. I mean which table has these details ?
Can the program ZRBDMIDOC use already processed change pointers ? If yes, then are the Idocs generated are with errors or they are like the freshly created ones.
Main purpose behind all these questions is that, I have a huge no. of change pointers in the source client which are to be sent to the target client so that 2 clients R/3 and SRM remain in sync and this program ZRBDMIDOC has not run since 1 year.
The table used in the FM, used in this program, has the run date as 23rd May 2007 and I have to move all the change pointers created after this date to SRM.
How to accomplish that ?
Its really urgent.
Please reply,
Binay.
2008 Jun 25 12:28 PM
2008 Jun 25 12:27 PM
Please check for table BDCPS and field PROCESS this contains the processced flag.
you can check thru view BDCPV
and also check fm CHANGE_POINTERS_STATUS_WRITE & READ
a®
2008 Jun 25 12:28 PM
2008 Jun 25 12:28 PM
2008 Jun 25 12:31 PM
hi,
generally the tables that r trigerred in change pointers method are CDHDR,CDPOS.
if u want to know the status then check EDIDC.
2008 Jun 25 12:37 PM
Hi,
I use this code to delete (set field process to X) change pointers of MATMAS..Tables that I use have detail of change pointer status!
DATA: lt_bdcp TYPE STANDARD TABLE OF bdcp,
wa_bdcp TYPE bdcp.
DATA: lv_time TYPE cpcretime,
lv_process TYPE process.
DATA: lv_datum TYPE sy-datum,
lv_date(14),
lv_day(2),
lv_month(2),
lv_year(4).
lv_datum = sy-datum.
lv_year = lv_datum+0(4).
lv_month = lv_datum+4(2).
lv_day = lv_datum+6(2).
CONCATENATE lv_year lv_month lv_day '000000' INTO lv_date.
SELECT * FROM bdcp
INTO TABLE lt_bdcp
WHERE cdobjid = i_matnr
AND CRETIME >= lv_date.
IF NOT lt_bdcp[] IS INITIAL.
LOOP AT lt_bdcp INTO wa_bdcp.
SELECT SINGLE process
INTO lv_process
FROM bdcps
WHERE cpident = wa_bdcp-cpident
AND mestype = i_mestyp
AND process NE 'X'.
IF sy-subrc = 0.
UPDATE bdcps SET process = 'X'
WHERE cpident = wa_bdcp-cpident
AND mestype = i_mestyp.
ENDIF.
ENDLOOP.
ENDIF.
Adibo
2008 Jun 25 12:37 PM
ZRBDMIDOC is a customer report. Just have a look inside, nobody outside can tell what this report is doing.
2008 Jun 25 12:37 PM
edit..
same code 2 times..
Edited by: Adibo A on Jun 25, 2008 1:38 PM