cancel
Showing results for 
Search instead for 
Did you mean: 

Applicant data with batch input. fields are not filled PB10 - IT22

timo_ehl3
Participant
0 Kudos

Hi,

im pssing pb10 with bdc. First screen is filled correctly. But in second screen (depending on Infotype 22) i'm not able to fill with data. So mandatory check gives an error. Any idea?

PERFORM: bdc_dynpro      USING 'SAPMPAP4' '0100',
           bdc_field       USING 'BDC_OKCODE' '=UPD',
           bdc_field       USING 'PSPAR-BEGDA' d_beginn,
           bdc_field       USING 'Q4000-WERKS' '0001',
           bdc_field       USING 'P0001-BTRTL' '0001',
           bdc_field       USING 'Q4000-APGRP' '1',
           bdc_field       USING 'Q4000-APTYP' aptyp,
           bdc_field       USING 'Q0002-ANREX' anrex,
           bdc_field       USING 'P0002-VORNA' vorna,
           bdc_field       USING 'P0002-NACHN' nachn,
           bdc_field       USING 'Q0002-GBPAS' d_gbpas,
           bdc_field       USING 'P0002-SPRSL' sprac,
           bdc_field       USING 'P0002-NATIO' natio,
           bdc_field       USING 'P0006-LAND1' land1,
           bdc_field       USING 'P0006-STRAS' stras,
           bdc_field       USING 'P0006-PSTLZ' pstlz,
           bdc_field       USING 'P0006-ORT01' ort01,
           bdc_field       USING 'P0006-TELNR' telnr,
           bdc_field       USING 'EMAIL' stamm-email,
           bdc_field       USING 'P4001-SPAPL' aptyp,
 
*IT22
           bdc_dynpro      USING 'MP002200' '2000',
           bdc_field       USING 'BDC_OKCODE' '=UPD',
           bdc_field       USING 'P0022-BEGDA' d_beginn,
           bdc_field       USING 'P0022-ENDDA' '31129999',
           bdc_field       USING 'P0022-SLART' 'XX',
           bdc_field       USING 'P0022-INSTI' 'FH Irgendwo',
           bdc_field       USING 'P0022-SLABS' '50',
           bdc_field       USING 'P0022-EMARK' '1.7',
           bdc_field       USING 'P0022-SLAND' 'DE',
 
           bdc_dynpro      USING 'SAPMPAP4' '0100',
           bdc_field       USING 'BDC_OKCODE' '/EEBAC'.
 
 
  CALL TRANSACTION 'PB10'  USING bdcdata
                           MODE 'E'
                           MESSAGES INTO messtab.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I'm wondering if IT22 is not subtype mandatory ... check in T582A if "Subtype obligator" isn't ticked. Therefore you are obliged to fill the field SUBTY in your BDC.

regards

Hadrien