Skip to Content
avatar image
Former Member

BAPI_QUALNOT_MODIFY_DATA : Problem in updating the material no

This message was moderated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jan 08, 2015 at 08:57 AM

    Hi,

    Are you passing the parameter value NOTIFHEADER_X-MATERIAL as 'X'?

    Regards,

    Ron

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2015 at 10:42 AM

    HI Ron,

    Yes. I am passing the material number in the NOTIFHEADER-MATERIAL  and 'X' in NOTIFHEADER_X-MATERIAL

    Regards,

    Sonam

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sonam

      Put a breakpoint before CALL FUNCTION 'BAPI_QUALNOT_SAVE' and have a look in messages in lt_bapiret2.


      Should give you a clue.


      I suspect you might have to do:


        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

          EXPORTING

            input  =  ls_notif_header-sales_ord

          IMPORTING

            output = ls_notif_header-sales_ord.

      and


        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

          EXPORTING

            input  = ls_notif_header-material

          IMPORTING

            output =  ls_notif_header-material.


      Regards,



      Ron

  • avatar image
    Former Member
    Jan 12, 2015 at 06:26 AM

    Hi Sonam,

    Please make  a SY-SUBRC check before using COMMIT WORK.

    For eample :

    IF lt_bapiret2-type CA 'EA'.

    ROLLBACK WORK.                            '  Errors are made declining

    MESSAGE ID '''26''' TYPE '''I''' NUMBER '''000'''  WITH lt_bapiret2-message.

    ELSE.

    COMMIT WORK.             'Changes are confirmed

    ENDIF.

    Thanks & Regards,

    Seshadri.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 12, 2015 at 06:47 AM

    Hi

    try in se37 standalone by by passing values and check.

    there will one standard structure for Qm02 , VIQMEL in this structure matnr should change

    Thanks

    Vamsi

    Add comment
    10|10000 characters needed characters exceeded