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: 

How to Call Screen By Passing Values Which dosen't have Parameter ID.

Former Member
0 Kudos

Hi Experts,

I want to Call Transaction F110 by passing the values

RunDate (REGUV-LAUFD)

Identification (REGUV-LAUFI)

But since Parameter Id is not there for these fields so i am not able to call this tcode with parameters.

Please suggest me some other way to achieve this.

Regards,

Dheepak

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

try this

DATA: bdcdate(8), kill_id(5).

bdcdate0(4) = payrdate4(4).

bdcdate4(4) = payrdate0(4).

kill_id = payriden.

PERFORM bdc_dynpro USING 'SAPF110V' '0200'.

PERFORM bdc_field USING 'BDC_CURSOR' 'F110V-LAUFI'.

PERFORM bdc_field USING 'BDC_OKCODE' '=VODE'.

PERFORM bdc_field USING 'F110V-LAUFD' bdcdate.

PERFORM bdc_field USING 'F110V-LAUFI' kill_id. PERFORM bdc_dynpro USING 'SAPLSPO1' '0100'.

PERFORM bdc_field USING 'BDC_OKCODE' '=YES'.* perform bdc_dynpro using 'SAPF110V' '0099'.

CALL TRANSACTION 'F110' USING bdcdata MODE 'N' UPDATE 'S'

Hope this solves your issue.

4 REPLIES 4

Former Member
0 Kudos

hi,

try this

DATA: bdcdate(8), kill_id(5).

bdcdate0(4) = payrdate4(4).

bdcdate4(4) = payrdate0(4).

kill_id = payriden.

PERFORM bdc_dynpro USING 'SAPF110V' '0200'.

PERFORM bdc_field USING 'BDC_CURSOR' 'F110V-LAUFI'.

PERFORM bdc_field USING 'BDC_OKCODE' '=VODE'.

PERFORM bdc_field USING 'F110V-LAUFD' bdcdate.

PERFORM bdc_field USING 'F110V-LAUFI' kill_id. PERFORM bdc_dynpro USING 'SAPLSPO1' '0100'.

PERFORM bdc_field USING 'BDC_OKCODE' '=YES'.* perform bdc_dynpro using 'SAPF110V' '0099'.

CALL TRANSACTION 'F110' USING bdcdata MODE 'N' UPDATE 'S'

Hope this solves your issue.

0 Kudos

hi Kamaya,

Thank You for your Reply.I want to call this tcode in workflow method so, only this code will do or should i write the whole BDC code in my workflow method in order to archive this.

Regards,

Dheepak

Edited by: dheepak on Jun 17, 2009 12:40 PM

0 Kudos

Hi,

You need to write the full code for BDC

However I would suggest to create a FM and write the BDC code inside that

call that FM in your WF method.

Regards

Bikas

former_member212005
Active Contributor
0 Kudos

Deepak...it has to be through BDC's as mentioned in the earlier post....

You can...record a transaction using the SHDB transaction...then you will have an idea!