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 number (CC01) object assignment using BAPI

Former Member
0 Likes
3,818

Hi,

I am using BAPI 'CCAP_ECN_CREATE' to create Change number with the input parameters, i am able to create a Change number successfully, during creation of this change number i want to assign OBJECTS like Material and Material BOM ...etc.

can some one help me with sample example / code.

Regards,

Prasad S.

1 REPLY 1
Read only

Former Member
0 Likes
1,973

Hi Prasad

Fill out the following fields on the BAPI 'CCAP_ECN_CREATE';

using external ECN number range;

CHANGE_HEADER  

  • CHANGE_NO                 800000000010
  • STATUS                         01
  • AUTH_GROUP
  • VALID_FROM                 25.08.2015
  • DESCRIPT                     STY TEST
  • RANK                             00
  • RELEASE_KEY              00

OBJECT_BOM

  • ACTIVE                         X
  • LOCKED
  • OBJ_REQU                    X
  • MGTREC_GEN              X
  • GEN_NEW                     X

OBJECT_BOM_MAT

  • ACTIVE                         X
  • LOCKED
  • OBJ_REQU                    X
  • MGTREC_GEN              X
  • GEN_NEW                     X

OBJECT_MAT

  • ACTIVE                         X
  • LOCKED
  • OBJ_REQU                    X
  • MGTREC_GEN              X
  • GEN_NEW                     X

FL_COMMIT_AND_WAIT =     X

Tables:

OBJMGREC

fill out the fields with

CHG_OBJTYP               1

BOM_CAT                      M

BOM_USAGE                 1

CHGTYPEOBJ               000

MATERIAL                     80870084

PLANT                          1350

PVS_GUID                    00000000000000000000000000000000