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

Problem Batch Input SAPLSLVC_FULLSCREEN 0700

Former Member
0 Likes
1,348

Hi experts,

I have a problem during my batch input recording. The requirement I have is to maintain the communication type TLX (Télex) when i´m creating a new vendor. I'm creating a BDC for XK01, and when i´m trying to input the "other communication" details for the vendor, recording stop. I saw on SDN similar problems: ( ) But i don´t see the solution.

My code is like this:

PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.

PERFORM bdc_field USING 'BDC_CURSOR' 'RF02K-KTOKK'.

PERFORM bdc_field USING 'RF02K-KTOKK' i_sol-ktokk.

PERFORM bdc_field USING 'RF02K-BUKRS' i_sol-bukrs.

PERFORM bdc_field USING 'RF02K-EKORG' ekorg.

PERFORM bdc_field USING 'BDC_OKCODE' '/00'.

PERFORM bdc_dynpro USING 'SAPMF02K' '0111'.

PERFORM bdc_field USING 'BDC_CURSOR' 'ADDR1_DATA-REGION'.

PERFORM bdc_field USING 'ADDR1_DATA-NAME1' i_sol-name1.

PERFORM bdc_field USING 'ADDR1_DATA-POST_CODE1' i_sol-pstlz.

PERFORM bdc_field USING 'ADDR1_DATA-STREET' i_sol-stras.

PERFORM bdc_field USING 'ADDR1_DATA-NAME2' i_sol-name2.

PERFORM bdc_field USING 'ADDR1_DATA-SORT1' i_sol-sort1.

PERFORM bdc_field USING 'ADDR1_DATA-SORT2' i_sol-sort2.

PERFORM bdc_field USING 'BDC_OKCODE' '=$MCO'.

PERFORM bdc_dynpro USING 'SAPLSLVC_FULLSCREEN' '0700'.

PERFORM bdc_field USING 'BDC_OKCODE' '=%_GC 117 3'.

PERFORM bdc_dynpro USING 'SAPLSZA6' '0500'.

PERFORM bdc_field USING 'BDC_CURSOR' 'ADTLX-TLX_NUMBER(01)'.

PERFORM bdc_field USING 'ADTLX-TLX_NUMBER(01)' i_sol-telx1.

PERFORM bdc_field USING 'BDC_OKCODE' '=CONT'.

I think the problem is that the cursor in dynpro 700 appears in first position (Fax) and i want to put it on the télex position, but any codes i try resolved it.

Thanks in advanced.

Edited by: Noaser on Aug 19, 2010 11:47 AM

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,076

Read [Note 653536 - Recording communication data cannot be processed|https://service.sap.com/sap/support/notes/653536], there is the list of the ok_code to use in your recording (don't use any double-click)

Use =$TLX for telex and not =$MCO for Other communication, remove code for dynpro 700.

Regards,

Raymond

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,077

Read [Note 653536 - Recording communication data cannot be processed|https://service.sap.com/sap/support/notes/653536], there is the list of the ok_code to use in your recording (don't use any double-click)

Use =$TLX for telex and not =$MCO for Other communication, remove code for dynpro 700.

Regards,

Raymond

Read only

0 Likes
1,076

Hello Raymond,

Your answer is very helpfull for me. I read the 653536 Note and understand it, but i am not be able to write a correct code for my recording and I can´t save the telex number , and when i look for in XK03 doesn´t appears. Can you tell me the exact code that I need?

Thanks.

Read only

0 Likes
1,076

Hello,

Solved problem, I changed my code:

PERFORM bdc_dynpro USING 'SAPMF02K' '0111'.

PERFORM bdc_field USING 'BDC_OKCODE' '=$TLX'.

PERFORM bdc_field USING 'BDC_CURSOR' 'ADDR1_DATA-REGION'.

PERFORM bdc_field USING 'ADDR1_DATA-NAME1' i_sol-name1.

PERFORM bdc_field USING 'ADDR1_DATA-POST_CODE1' i_sol-pstlz.

PERFORM bdc_field USING 'ADDR1_DATA-STREET' i_sol-stras.

PERFORM bdc_field USING 'ADDR1_DATA-HOUSE_NUM1' i_sol-house_num1.

PERFORM bdc_field USING 'ADDR1_DATA-CITY1' i_sol-ort01.

PERFORM bdc_field USING 'ADDR1_DATA-COUNTRY' spras.

PERFORM bdc_field USING 'ADDR1_DATA-REGION' i_sol-regio.

PERFORM bdc_field USING 'ADDR1_DATA-LANGU' i_sol-spras.

PERFORM bdc_field USING 'ADDR1_DATA-NAME2' i_sol-name2.

PERFORM bdc_field USING 'ADDR1_DATA-SORT1' i_sol-sort1.

PERFORM bdc_field USING 'ADDR1_DATA-SORT2' i_sol-sort2.

PERFORM bdc_field USING 'ADDR1_DATA-REMARK' i_sol-comentarios.

PERFORM bdc_field USING 'SZA1_D0100-TEL_NUMBER' i_sol-telf1.

PERFORM bdc_field USING 'SZA1_D0100-FAX_NUMBER' i_sol-telfx.

PERFORM bdc_field USING 'SZA1_D0100-SMTP_ADDR' i_sol-email.

PERFORM bdc_field USING 'SZA1_D0100-MOB_NUMBER' i_sol-mob_number.

PERFORM bdc_dynpro USING 'SAPLSZA6' '0500'.

PERFORM bdc_field USING 'BDC_CURSOR' 'ADTLX-TLX_NUMBER(01)'.

PERFORM bdc_field USING 'ADTLX-TLX_NUMBER(01)' i_sol-telx1.

PERFORM bdc_field USING 'BDC_OKCODE' '=CONT'.

PERFORM bdc_dynpro USING 'SAPMF02K' '0111'.

PERFORM bdc_field USING 'BDC_OKCODE' '/00'.

Regards.

Read only

Former Member
0 Likes
1,076

While recording, Don't check "Not a batch input session".

Now during recording, You will find that the telex number field is available where you can enter directly.

When you check "Not a batch input session", when you click on the other communication, it calls the list which can't be recorded ( Only screens can be recorded ).

Hope it helps.

Sujay

Edited by: Sujay Venkateswaran Krishnakumar on Aug 19, 2010 12:07 PM

Read only

0 Likes
1,076

Hello Sujay,

My program version before the requirement was doing the recording just like you say, and i was writing the telex number ok calling dynpro 'SAPMF02K' '0110', but requirement wants to do it in a "Not a batch input session" and the recording call dynpro 'SAPMF02K' '0111'.

Thanks for your reply.