cancel
Showing results for 
Search instead for 
Did you mean: 

Syclo:Mobile IM:Adding a field to BAPI export structure

Former Member
0 Kudos

I need to add bin location to the cycle count screen in SAP Mobile Inventory Management 4.2.1.  The BAPI is /SMERP/MM_DOPHYSINVDOC_GET and the export structure for the ET_ITEMS table is /SYCLO/MM_ISEG_STR.  Looks like I need to :

  1. Add the LGPBE field (from MARD) to the /SYCLO/MM_ISEG_STR structure
  2. Update the BAPI to read the value from MARD based on the ISEG (material document lines) field material and storage location.

There' s no append structure for the table and no apparent BADI / enhancement point for the BAPI.  Typically how is this done.

Thanks

Stewart

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Stewart,

You can append the new Z structure to /SYCLO/MM_ISEG_STR, the Z structure will have the field for LGPBE. The enhancement category for structure  /SYCLO/MM_ISEG_STR is set to can be enhanced so you can append the new structure.

To read the value from MARD based on the ISEG field, if BADI is not available then you can create a subclass inheriting from standard syclo super class and then only redefine the respective method where you can perform the logic to populated the new field.

Hope this will help.

Regards,

Abhishek Wajge

Former Member
0 Kudos

Thanks so much for the guidance ... worked perfectly.

Stewart

Answers (0)