Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change pointers

Former Member
0 Likes
1,257

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,122

Table is EDIDS for Idoc status.

PLease reward if useful.

7 REPLIES 7
Read only

former_member194669
Active Contributor
0 Likes
1,122

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®

Read only

Former Member
0 Likes
1,123

Table is EDIDS for Idoc status.

PLease reward if useful.

Read only

Former Member
0 Likes
1,122

Table is BDCPS for Idoc status.

PLease reward if useful.

Read only

GauthamV
Active Contributor
0 Likes
1,122

hi,

generally the tables that r trigerred in change pointers method are CDHDR,CDPOS.

if u want to know the status then check EDIDC.

Read only

Former Member
0 Likes
1,122

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

Read only

rainer_hbenthal
Active Contributor
0 Likes
1,122

ZRBDMIDOC is a customer report. Just have a look inside, nobody outside can tell what this report is doing.

Read only

Former Member
0 Likes
1,122

edit..

same code 2 times..

Edited by: Adibo A on Jun 25, 2008 1:38 PM