Skip to Content
avatar image
Former Member

How to create a Change request for Customer through Code???? Like we create a Change request for customer in NWBC transaction.

Hi Experts,

I am trying to create a Change Request in ABAP Code for Customer Creation.Generally we create it using NWBC transaction but my requirement is to create it through Code.

Here are the steps i am doing.

1)      CALL METHOD cl_usmd_crequest_api=>get_instance

        EXPORTING

          iv_crequest          =  gv_crequest

        IMPORTING

          et_message           = lt_message1

          re_inst_crequest_api = lo_crequest_api1.

 

     2)  CALL METHOD LO_CREQUEST_API1->CREATE_CREQUEST

        EXPORTING

*          IV_EDITION       =

          IV_CREQUEST_TYPE =  'ZCUSTCRE'

          IV_CREQUEST_TEXT = 'C4C change request'

        IMPORTING

          EV_CREQUEST_ID   = crequest_id

          ET_MESSAGE       = msg

Please suggest if i am following correct steps or some other way i should procced?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 09, 2015 at 11:43 AM

    Hi,

    Better use Governance API for this.Refer to MDG API guidehttp://scn.sap.com/docs/DOC-45127

    for more details.

    Regards,

    Raghu

    Add comment
    10|10000 characters needed characters exceeded