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

BDC screen issue

Former Member
0 Likes
1,050

hi all

In my DC i am trying to pass one value(001) to one screen but it is not picking it up. Below is that piece of code, please take a look once and help me

PERFORM bdc_dynpro USING 'SAPLCLCA' '0602'.

PERFORM bdc_field USING 'BDC_CURSOR'

'RMCLF-KLART'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=ENTE'.

PERFORM bdc_field USING 'RMCLF-KLART'

'001'.

PERFORM bdc_dynpro USING 'SAPLCLFM' '0500'.

PERFORM bdc_field USING 'BDC_CURSOR'

'RMCLF-CLASS(01)'.

PERFORM bdc_field USING 'BDC_OKCODE'

'/00'.

Thanks!

5 REPLIES 5
Read only

Former Member
0 Likes
945

Hi

Let's know the transaction else how we can help you?

Max

Read only

0 Likes
945

oh sorry i missed that. Its MM02

Read only

0 Likes
945

Sorry

I suppose you can try to change the classification, but I can't simulate it in my system: can you say me what are you doing to go there?

Max

Read only

0 Likes
945

I am working on to modify a MM02 BDC.

In basic 1 i need to change MATKL for one particular characteristic of material. As soon as I add that piece of code Screen 0602 doesn't pick up value 001. Otherwise it is working fine.

  • PERFORM bdc_dynpro USING 'SAPLMGMM' '4004'.

  • PERFORM bdc_field USING 'BDC_OKCODE' '/00'.

*

  • PERFORM bdc_field USING 'BDC_CURSOR' 'MARA-MATKL'.

  • perform bdc_field using 'MARA-MEINS'

  • UOM.

  • if FLAMBLE = 'Y' .

  • perform bdc_field using 'MARA-MATKL'

  • '12131600'.

  • else.

  • perform bdc_field using 'MARA-MATKL'

  • '01'.

  • endif.

Read only

0 Likes
945

Resolved. Thanks everyone to have a look at it.