‎2007 Oct 16 2:07 PM
Hi experts,
I am recording the transaction VL02n to update the item text for material.
After entering to item text ,for one of items i updated text as "test123" and saveed the document.After finishing the recording i have trasnfered that to SE 38 program.
I tested from se38.It is working fine.But in the code in SE38 i am not able to see the text "test123" which i have passed. If i want to change that i need to pass one more value thru program.But that value is not trapped.Can any body let me know how to resolve this?
Regards
‎2007 Oct 16 2:19 PM
‎2007 Oct 16 2:19 PM
‎2007 Oct 16 2:26 PM
See the code:
report ZTEST_BDC_VL02N
no standard page heading line-size 255.
include bdcrecx1.
start-of-selection.
perform open_group.
perform bdc_dynpro using 'SAPMV50A' '4004'.
perform bdc_field using 'BDC_CURSOR'
'LIKP-VBELN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LIKP-VBELN'
'80028812'.
perform bdc_dynpro using 'SAPMV50A' '1000'.
perform bdc_field using 'BDC_OKCODE'
'=ITEX_T'.
perform bdc_field using 'LIKP-BLDAT'
'17.07.2007'.
perform bdc_field using 'BDC_CURSOR'
'LIPS-POSNR(01)'.
perform bdc_field using 'LIKP-WADAT'
'17.07.2007'.
perform bdc_field using 'LIKP-WAUHR'
'00:00:00'.
perform bdc_field using 'LIKP-BTGEW'
'26,240'.
perform bdc_field using 'LIKP-GEWEI'
'KG'.
perform bdc_field using 'RV50A-LIPS_SELKZ(01)'
'X'.
perform bdc_dynpro using 'SAPMV50A' '3000'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 108 25'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV50A' '3000'.
perform bdc_field using 'BDC_OKCODE'
'=SICH_T'.
perform bdc_transaction using 'VL02N'.
perform close_group.
I think it is not from LIPS-ARKTX
‎2007 Oct 16 2:42 PM
hi ravi,
instead of writing the text in that item text,wat u do is u double click on the blank space provided for the text,it will take u to a different screen,there u fill up the details.
also this will be reflected in ur recording and the code in se38
‎2007 Oct 16 3:12 PM
‎2007 Oct 16 2:19 PM
Hi Ravi,
you have to fill:
perform bdc_field using 'LIPS-ARKTX(01)'
<b>record-ARKTX_01_007</b>.
look also to the ather values of table record.
Regards, Dieter