Application Development 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: 

bdc

Former Member
0 Kudos

hi all

can you please clarify my dout in perform bdc

example: what is meaning

1.POPO:

2.POSI

3.PVER

4 '=T\16'.

5 '=PZKU'

6.'/EBACK'.

7.=ZZIB'.

8.=PDE3'.

9. '=SICH'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=POPO'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=POSI'.

PERFORM bdc_field USING 'RV45A-POSNR'

wa_pos-posnr.

PERFORM bdc_field USING 'BDC_OKCODE'

'=PVER'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=PZKU'.

ENDIF.

ENDLOOP.

points will be added for the use full answer

thanks

4 REPLIES 4

Former Member
0 Kudos

Hi perform is used to fill the BDCDATA table.

this table has 5 fields as dynpro,fnam,fval,program,dynbegin..

all these values are filled with the help of perform.

Former Member
0 Kudos

Hi

These are all the tabs that are clicked during the recording of the transaction:

So, when u execute the BDC, the subroutine will click on the particular tab and then the data is entered into the field:

1.POPO:
2.POSI
3.PVER
4 '=T\16'.
5 '=PZKU'
6.'/EBACK'.
7.=ZZIB'.
8.=PDE3'.

This comes when u save the transaction after the recording:
9. '=SICH'.

Regards,

Vishwa.

Former Member
0 Kudos

Hi,

in the dynpro where u use the okcode 'POPO', choose System -> Status inthe

menu. You find the actual status (the last field in the left box, field

'GUI-Status').

Next, go to tcode SE80, choose the program (f.ex. SAPMV45A, also foundin

System -> Status) and choose GUI-Status. Double-click on it (for ex.Status

'U'). Choose Goto -> Function list. Here u find that 'POPO' is'Position

cursor (to Position)'.

What are the consequences of the okcode? Again in SE80, choose Screens->

f.ex. 4001 -> doubleclick, and in the flow logic go down to module

fcode_bearbeiten (the exit-commands in module funktion_ausfuehren at

exit-command.)

Former Member
0 Kudos

Hi,

All these are internal SAP OK codes which are used during creating a BDC program.

Ok codes are nothing but function codes that are raised when the user does any operation, like he clicks on some button or on some tab or if he presses enter. Well the best example is given above, when clicks on the save button..

For different operations different function codes are generated ,....

To know more about how to create and run a BDC program it is best you use the ABAPDOCU transaction.

Regards,

Pramod