BAPI_GOODSMVT_CREATE no change pointer

We have an interface that uses the BAPI "BAPI_GOODSMVT_CREATE" to create movements and the associated purchase order items get the delivery complete checked.  But it doesn't add change pointers to the CDHDR table and the view item changes is not updated.
I read the documentation and searched around but I can't find any information on this...  Any help would be greatly appreciated.
Thanks

Commit the work ..
This code might help u
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
      goodsmvt_header       = wa_header
      goodsmvt_code         = wa_gm_code
    IMPORTING
      goodsmvt_headret      = tbl_export
      materialdocument      = matdoc
      matdocumentyear       = year
    TABLES
      goodsmvt_item         = tbl_item
      goodsmvt_serialnumber = tbl_serial
      return                = return.
  WRITE AT 10 'STATUS OF BAPI UPLOAD' COLOR 2 INTENSIFIED ON .
  SKIP 2.
  LOOP AT return ASSIGNING <fs_return>.
    IF <fs_return>-type EQ 'E'.
      WRITE AT 10 'Error in function:' COLOR 6 INTENSIFIED OFF.
      WRITE AT 28 <fs_return>-message .
      SKIP 1.
      err_flag = 'X'.
    ELSE.
      WRITE AT 10 <fs_return>-message .
      SKIP 1.
    ENDIF.
  ENDLOOP.
  IF err_flag IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    IF sy-subrc NE 0.
      WRITE:/ 'Error in updating'.
      EXIT.
    ELSE.
      WRITE:/
'Number of Material Document created through BAPI:',tbl_export-mat_doc.
      WRITE:/ 'Material Document Year':, tbl_export-doc_year.
    ENDIF.
  ENDIF.

Similar Messages

  • Change pointer for HR master data is not getting generated in table BDCP

    Hi,
    I have done all the required configuration for change pointer for HR master Distribution and it was working fine few days back. Now suddnly it has stopped working.
    Can anyone assist me on how should i debug it.
    Thanks
    Sunil Singh

    Hi Shital,
    Thanks for your Reply.
    I am not able to find that path in SPRO
    Basic Functions-> application Area
    And Also My change pointer configuration was working properly and it suddenly stopped working.
    I mean to say all the required settings was done previously.
    Anyways kindly let me know how should i proceed.
    Thanks
    Sunil Singh

  • After successful install, all my adobe cc docs, when open, change pointer arrow, i-beam and window to oversize. When doc closes all return to normal size. I'm on a PC. Screen res set to medium 1920x1200. Any ideas how to fix?

    After successful install, all my adobe cc docs, when open, change pointer arrow, i-beam and window elements to oversize. When doc closes all return to normal size. I'm on a PC. Screen res set to medium 1920x1200. Any ideas how to fix?

    Ok thanks Linxup I would recommend posting in the respective forums for each of those software titles as opposed to the Creative Cloud Download & Install forum.  The relevant forums are as follows:
    InDesign - InDesign
    Illustrator - Illustrator

  • Suppress Non Changed Fields in change pointer triggered IDOC

    I have a requirement to clone message type MATMAS as ZMATMAS. This ZMATMAS is the message type I used to create change pointer triggering outbound idoc for change/create of materials.
    When i change a material, all fields are sent instead of the fields only changed(of course key fields should be sent as well). Is there a way via configuration that I can suppress fields which are not changed? Or do i need to clone FM MASTERIDOC_CREATE_SMD_MATMAS and suppress the fields via program
    Thanks in Advance!

    i'll clarify the requirement again.
    Let say i changed a field BRGEW in the material master.
    Currently, all the segements which contains BRGEW is sent, but these segements contains other data which are not changed in the material master.
    How do i suppress it?
    Thanks,

  • EXCHANGE_RATE with change pointer

    Hello Experts,
    I saw that there is no  option to define the message type EXCHANGE_RATE for change pointer
    My question is: how can I get a partial idoc when there is a change in the exchange rate?
    Is it possible?
    Thank you,
    Boaz

    Hi Jignesh,
    "It is ideal that we dont change the Exchange Rate at the time of POsting Invoice to accounts."
    How you have addressed the issue. could you explain.
    Thanks & Regards
    Sri

  • Issue with the change pointer  for the reduced message type ZMATMAS

    Hi All,
    I have created reduced message type ZMATMAS for the MATMAS to create a Idoc when change or insert material master data fields( MARA-LAENG, MARA-BREIT, MARA-HOEHE) . My Problem is that the Idoc is generated with the status (03) but the fields(LAENG, BREIT,HOEHE)  are not getting fill with the values. They are always filling with the values  '/'). I have done the following steps to create idoc for the change pointer. Please check whether i have missed some steps.
    1.     Create reduction maintenance ZMATMAS  (Tcode BD53)
    keep the default selected segments E1MARAM, E1MAKTM
    2.     Add following data to maintain table view for the message type ZMATMAS  (Tcode BD52)
    Object      Table Name     Field Name
    MATERIAL       MARA      KEY
    MATERIAL     MARA     LAENG
    MATERIAL     MARA     BREIT
    MATERIAL     MARA     HOEHE
    3.     Activate particular change pointer in BD50
    Message Type       Active
    ZMATMAS         yes
    4.     Activate change pointers u2013 Generally (Tcode BD61).
    5.     Assign Segment fields to change document fields (Tcode BD66 )
    Segment Type     Field Name     Object     Table Name     Field Name
    E1MARAM     BREIT     MATERIAL     MARA     BREIT
    E1MARAM     HOEHE     MATERIAL     MARA     HOEHE
    E1MARAM     LAENG     MATERIAL     MARA     LAENG
    6. I have done the distribution model settings (BD64) and  the idoc configurations
    1.     Logical System
    2.     RFC destination
    3.     Create port
    4.     Create partner profile
    7. I changed the fields in material master data(Tcode MM02)  and I executed the Tcode BD21.
    Idoc is generated but the fields are not getting fill with the values
    (Note: some fields  are filled with values e. g material number, material description)
    I checked the Idoc data segment E1MARAM (WE02)
    Fld name   Fld cont.
    LAENG       /
    BREIT       /
    HOEHE      /
    Can you please let me know the issue
    Prad

    Issue is solved when I select the segments and the fields in the segments (Tcode :BD53)
    Prad

  • ALE change pointer error - master data

    Hi friends,
    While loading master data (customer,material and order number) all delta,we faced the error "ALE change pointers are not set correctly".
    In the discussions posted earlier,it was said that the change pointer in BD61 activation would solve the issue.
    If i do that now,whether my other delta loads will be affected or it doesnt have any relation to my other transactional deltas.Pls clarify me.
    Also explain me the reason fot this error.
    Thanks & Regards
    Ragu

    thanks ajay for your input
    regards
    ragu

  • How to find - Customer Master IDoc was created Manually or by Change pointe

    Hi all,
    I have an IDoc(Customer master) number (which I have taken from the payload in SXMB_MONI).  I would like to know whether this has been created by a user manually(BD14) or by a change pointer.
    Please help.
    Cheers
    danus

    Hi Vardharajan,
        Yes I agree with you. What I mean by IDoc created by change pointer is - 'IDoc generated because a change(pointer) is tracked by the system', in other words, due to some change made to the data.
    As you know, the other option of creating IDoc is by BDxx transaction. This option is usually used to push (unchanged) data.
    So in essence, what I am interested to know is , has the IDoc been generated because someone made a change using say, VD02 / XD02 or pushed the data manually.
    Please do ask, if anything is not clear.
    cheers
    danus

  • Change pointer perfomance issue(bd22)

    Hi,
    we are using message type HRMD_A to transfer the employee change data using the program RBDMIDOC. we are checking two table BDCP n BDCPS, but because of large number of data we r facing a perfomance issue here. I read in one forum about transaction BD22 which deletes the change pointer from these tables, but is it safe to use? and also what is the obsolete change pointer?
    Thanks in advance for ur inputs.

    Hey,
    It is advisable to reorganize change pointer tables at regular intervals for better performance of programs accessing the BDCP* tables.
    BD22 is a standard report delivered by SAP and it is absolutely safe to run this report. It also has o test run option. You could always run the report in test mode to analyze the data the report had selected for deletion.
    Obsolete change pointers are those which have been created up to the specified date and time. In BD22, if this checkbox is marked, obsolete change pointers will be reorganized regardless of whether they have yet been processed.                                                           
    Processed change pointers are those which have been processed in the specified period (date and time). If this checkbox is marked, the processed change pointers are reorganized.                          
    -Kiran
    *Please mark useful answers

  • Idoc trigerring with change pointer under conditions

    Hello dear experts
    Could you please tell me how can i trigger an outbound idoc using the change pointer ( RBDMIDOC program)?
    I have to generate the ARTMAS outbound idoc ONLY when the material status which is the table MARA is set to a certain value.
    I can manage to trigger the outbound idoc but i did not manage to restrict this triggering according to the value of the material status fields.
    Thanks for all your answers.
    Best Regards.
    Yannick

    I tested using filter on Dist Wh and change pointers - for us, Dist Wh filter for material set on plant.  When we made change to matierial, only if change to plant was made, so plant was included in idoc segment, did the filter work.  If change material description, plant not on idoc segment so was sent .  Looking for alternative...

  • Activate change pointer for a new screen field in MM42/41

    Hi,
      I created a new screen field for Article master(MM41/42/43) under basic data. If there are changes made to this new field how will the system create a corresponding IDOC? does this have something to do with the change pointer thing?
    Thanks,
    Jeff

    Hi Jeffrey,
    first of all got transaction SALE :
    ALE
    -> Modeeling and Implementing
    -> Master Data Distribution
    -> Replication
    -> Activate Change Pointer generally
    Check if Changepointers are generally on.
    Then goto BD50 and activate change pointers fpr message type.
    Finally goto BD52 and check if your field is "watched".
    After that you can generate idocs from BD21.
    Hope it helps.

  • Vendor Master IDOC (CREMAS) and change pointer activation..

    Hi Guys..
                    I am using CREMAS idoc to transfer Vendor Master data to 3rd party system..
    I configure the change pointer in SALE..
    BDCP
    BD61
    BD50
    BD52
    But when I make changes in vendor master.. its not creating the idoc immediately.. I have to run RBDMIDOC manually.. to create the idoc..
    How to make it create immediately.. ?
    Also if I make a change in Email.. its not creating idoc at all.. !
    Thanks for Ur time..

    posting it in data transfer forum..

  • Need help in Change pointer creation

    Hi Guys ,
    I have one issue ..Change pointer getting created for Vendor if i create it from the Custom Program But it has some problem while Using LSMW ..
    I just want to Know whether is there any Config issue with LSMW,,
    Please advice me how to slove this issue ..
    Thanks in advance.
    Prabhu.

    hi
    good
    go through this link ,hope this ll help you to solve your problem
    http://sap.niraj.tripod.com/id51.html
    reward point if helpful.
    thanks
    mrutyun^

  • Update Terminated change pointer ID already exists

    Hi  All,
    While we are creating the article or purchase info record creation.
    When I checked the SM13 i got this error.
    Update was terminated
    System ID.... RDP
    Client....... 510
    User..... PRASH
    Transaction.. XK01
    Update key... 4993DEF56A574020E1000000AC19005E
    Generated.... 12.02.2009, 19:22:54
    Completed.... 12.02.2009, 19:22:55
    Error Info... B2 050: Change pointer ID already exists
    Please suggest.
    Regards,
    Prashant

    Hi Prashant,
    Can you share with me, how you solve this problem? I'm encounter the same thing when using Tcode: FK02 to change master data, with same error message. Thanks.

  • Change pointer + user exit + condition records

    Hiii
    When creation or modifying condition record that status blank i don't want a change pointer to be generated?
    Note that the KBRST field for status is not present in the BD52 transaction thus filtering cannot be done so as for change pointer to not be generated when condition record with status blank.
    Please advise if this can be done on a user exit?
    Thanks

    Hi,
    your question is not understandable.
    Pls provide more details.
    Cheers,
    André

Maybe you are looking for

  • Bridge To Nowhere - Try Xnview

    Constant freeze-ups, lock-ups-- and not just of Adobe Bridge either, the darned thing locks up my entire PC about every fourth or fifth time I switch previews of short WMV video clips, or even simply switch the application focus: from Bridge to the D

  • Buy iPhoto book

    During the process of buying a iPhoto book, the system ask the delivery contact information, where it doesn't accept the phone number. So I can't finish the order process! Is there a solution for this problem. Already try to create a new Apple ID wit

  • CDATA in xml file

    Hi everybody Can anyone tell me the best way to transform parts of my xml file as CDATA ? For some part of my xml file i need the '&lt' '&gt' instead of < and > . Thanks for your help

  • Duplicate/phantom folders in Bridge

    I'm having a little trouble believing this is a Bridge problem, but its the only place these show up, so... Windows 7, 64-bit, CS6 13.0.1, LR4, Bridge 5.0.2.4 I do my organizing in Lightroom 4.  And recently, I've reorganized some files in folders, a

  • Safari crashing! YouTube videos not loading! Message and email not loading! HELP!!!

    So a week or so after the newest update came out for the iPod touch 4 (IOS 5.1.1) my safari stoped working along with YouTube and email. When I tap on the safari app, it shows the search bar and just a blank open page from anywhere from less then a s