on 10-24-2011 9:05 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
111 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.