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

dont make skip first screen

Former Member
0 Likes
555

i have this type :

begin of my_string,

invoice LIKE vbrp-vbeln,

vbeln LIKE veda-vbeln,

keydate LIKE vbrp-erdat,

END OF my_string.

but when i click on this data in ALV grid

i get the next transaction but whitout the number

this is the code

" ELSEIF rs_selfield-fieldname EQ 'INVOICE'.

  • READ TABLE mdeqp_alv INDEX rs_selfield-tabindex.

SET PARAMETER ID 'INV' FIELD mdeqp_alv-invoice.

CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN .

ELSEIF rs_selfield-fieldname EQ 'VBELN'.

  • READ TABLE mdeqp_alv INDEX rs_selfield-tabindex.

SET PARAMETER ID 'VL' FIELD mdeqp_alv-vbeln.

CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN .

ENDIF.

"

1 ACCEPTED SOLUTION
Read only

furlan
Participant
0 Likes
529

Hi,

For transaction VA43, I use the follow parameter ID: KTN. Try this code:

SET PARAMETER ID 'KTN' FIELD mdeqp_alv-vbeln.

CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN.

For transaction VF03, I use the follow parameter ID: VF. Try this code:

SET PARAMETER ID 'VF' FIELD mdeqp_alv-invoice.

CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.

I hope this help you.

Remember to reward and close this topic if this solve your issue.

See you!

Furlan

i have this type :

begin of my_string,

invoice LIKE vbrp-vbeln,

vbeln LIKE veda-vbeln,

keydate LIKE vbrp-erdat,

END OF my_string.

but when i click on this data in ALV grid

i get the next transaction but whitout the number

this is the code

" ELSEIF rs_selfield-fieldname EQ 'INVOICE'.

  • READ TABLE mdeqp_alv INDEX rs_selfield-tabindex.

SET PARAMETER ID 'INV' FIELD mdeqp_alv-invoice.

CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN .

ELSEIF rs_selfield-fieldname EQ 'VBELN'.

  • READ TABLE mdeqp_alv INDEX rs_selfield-tabindex.

SET PARAMETER ID 'VL' FIELD mdeqp_alv-vbeln.

CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN .

ENDIF.

"

3 REPLIES 3
Read only

Former Member
0 Likes
529

Yehiel,

Use the method get_select_rows of the class cl_gui_alv_grid.

Sample Coding:

<b>mygrid->get_selected_rows(

importing

et_row_no = iRowIndex ).</b>

<b> read table mdeqp_alv index waRowIndex-rowid. </b>

SET PARAMETER ID 'INV' FIELD mdeqp_alv-invoice.

CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN .

Like wise, follow for the others.

Thanks

Kam

Read only

furlan
Participant
0 Likes
530

Hi,

For transaction VA43, I use the follow parameter ID: KTN. Try this code:

SET PARAMETER ID 'KTN' FIELD mdeqp_alv-vbeln.

CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN.

For transaction VF03, I use the follow parameter ID: VF. Try this code:

SET PARAMETER ID 'VF' FIELD mdeqp_alv-invoice.

CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.

I hope this help you.

Remember to reward and close this topic if this solve your issue.

See you!

Furlan

Read only

Former Member
0 Likes
529

Hi Yehiel,

The documentatin says that

The document number can be proposed from a user parameter.

The following parameters are available for the individual document types:

AFN - Inquiry number

AGN - Quotation number

AUN - Order number

LPN - Scheduling agreement number

KTN - Contract number

AMN - Assortment number

Since VA43 is for contracts, use KTN as Parameter ID.

And for VF03 the parameter ID is VF.

Regards,

Ravi