2007 Dec 27 9:18 AM
hello,
there is two fields for VORNA,NACHN i.e. firstname and last name i want to upload the data for this two fields through BDC, kindly let me know how to do the same through BDC.
i am the beginner, this two fields i am using for testing prupose, please let me know the same in step by step with screen short then i can easily pickup.
please do the needful at your earliest please.
somebody already send me the sample programme of bdc i could not understanding the same, therefore please explain me in details please.
please rreply me soon and oblige.
thanks
sujatha
hello,
there is two fields for VORNA,NACHN i.e. firstname and last name i want to upload the data for this two fields through BDC, kindly let me know how to do the same through BDC.
i am the beginner, this two fields i am using for testing prupose, please let me know the same in step by step with screen short then i can easily pickup.
please do the needful at your earliest please.
somebody already send me the sample programme of bdc i could not understanding the same, therefore please explain me in details please.
please rreply me soon and oblige.
thanks
sujatha
2007 Dec 27 9:52 AM
Hi,
First of all, i don't think that we can post screen shots in SDN!! you should send over your mail address for that purpose.
For BDC, do a transaction recording through transaction SHDB to simulate whatever processing you want to do in BDC. You will get table with values similar to the program below. please adapt according to your requirements
Try this sample code for BDC for transaction VB03,
*Work Areas for call transactions
data :wa_bdcdata type bdcdata ,
i_bdcdata like standard table of bdcdata .
clear :wa_bdcdata.
refresh:i_bdcdata.
move: 'SAPMV13A' to wa_bdcdata-program,
'0401' to wa_bdcdata-dynpro,
'X' to wa_bdcdata-dynbegin.
append wa_bdcdata to i_bdcdata.
clear wa_bdcdata.
move: 'BDC_CURSOR' to wa_bdcdata-fnam,
'RV13A-KNUMA_BO' to wa_bdcdata-fval.
append wa_bdcdata to i_bdcdata.
clear wa_bdcdata.
move: 'BDC_OKCODE' to wa_bdcdata-fnam,
'/00' to wa_bdcdata-fval.
append wa_bdcdata to i_bdcdata.
clear wa_bdcdata.
move: 'RV13A-KNUMA_BO' to wa_bdcdata-fnam,
'126' to wa_bdcdata-fval.
append wa_bdcdata to i_bdcdata.
****************************************************
clear wa_bdcdata.
move: 'SAPMV13A' to wa_bdcdata-program,
'0410' to wa_bdcdata-dynpro,
'X' to wa_bdcdata-dynbegin.
append wa_bdcdata to i_bdcdata.
clear wa_bdcdata.
move: 'BDC_CURSOR' to wa_bdcdata-fnam,
'KONA-BONEM' to wa_bdcdata-fval.
append wa_bdcdata to i_bdcdata.
clear wa_bdcdata.
move: 'BDC_OKCODE' to wa_bdcdata-fnam,
'=BUMS' to wa_bdcdata-fval.
append wa_bdcdata to i_bdcdata.
*******************************************************
clear wa_bdcdata.
move: 'SAPMSSY0' to wa_bdcdata-program,
'0120' to wa_bdcdata-dynpro,
'X' to wa_bdcdata-dynbegin.
append wa_bdcdata to i_bdcdata.
call transaction 'VBO3' "Crt Outb.Del. w\Order Ref.
using i_bdcdata "structure BDCDATA
mode 'E'.
if sy-subrc = 0.
endif.
Thanks and Regards,
Sooness
2007 Dec 27 10:07 AM
HI Sujatha,
Go to transaction SHDB , select new recording give a recording name and the transaction code click and enter , it would take u to the screens of the transaction code . Just enter the details need to be uploaded , it will take u to the screen transaction recorder.
Just save the recording by pressing the save button.
It recording name u created would appear in ur main screen of the transaction SHDB , just select it and click the program button in the screen by entering a new program name and choose the radio button transfer from recording and just enter.
U will get a pop up screen asking for title and choose the source code button and save it.
u can execute the program by generate transaction are call transaction method..
U try doing until this if u got stuck some where kindly let me know...
Regards,
Malathi.
2007 Dec 27 10:12 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |