Skip to Content
0
May 20, 2010 at 03:43 PM

Error No batch input data for screen SAPMM06E 0514

744 Views

Hello all, I am creating contracts in SRM (GOA documents).

When I try to distribute them to backend system, IDOCS are generated with errors.

Error is: No batch input data for screen SAPMM06E 0514

I have this data in the IDOC segments:

E1EDK14 009 I have purchasing group

E1EDK14 014 I have purchasing organization

E1EDK14 013 I have document type GCTR

E1EDK14 011 I doesn´t have nothing (I think must appears company code here).

The code for BADI BBP_CTR is this:

method IF_EX_BBP_CTR~MODIFY_IDOC_DATA_CTR.

constants: c_lc_e1edp01(7) type c value 'E1EDP01'," Constant to hold E1EDP01

c_lc_e1edk14(7) type c value 'E1EDK14'," Constant to hold E1EDK14

c_lc_e1edp19(7) type c value 'E1EDP19'," Constant to hold E1EDK14 " Vendor Consignment Logic ->

c_lc_orgid(3) type c value '011'. " Constant to hold value 011

Declaration for Local Work Areas

data: wa_ls_t001k type t001k, " W.A for t001k

wa_ls_edidd type edidd, " W.A for idoc

wa_ls_e1edp01 type e1edp01, " W.A for segment e1edp01

wa_ls_items type bbps_ctr_mm_item. " W.A for communication structure

Declaration for Local Variables

data: ws_c_lv_bukrs type bukrs. " Variable too hold comp.code

data: ws_i_lv_index type i. " Variable for integer

Declaration for Field Symbols

field-symbols: -sdata+3(4) = ws_c_lv_bukrs.

endif.

endloop. "LOOP AT ct_blaord

endif. "IF NOT ws_c_lv_bukrs

endif. "IF sy-subrc EQ 0.

endmethod.

The problem is this:

In the code I am taking BUKRS from WERKS in segment E1EDP01 and when I check this segment in my IDOC I don´t have this parameter. Why? Where take this segment this data? From customizing or from material's plant?

I saw another thing in the customizing. I am using purchasing organization 0011 and in the customizing this purchasing organization is not linked with any company code. Can be it the problem?

Thanks

Rosa Rodríguez

Edited by: Rosa Rodriguez on May 20, 2010 11:14 AM

Edited by: Rosa Rodriguez on May 20, 2010 11:15 AM

Edited by: Rosa Rodriguez on May 20, 2010 11:16 AM