2005 Nov 10 12:58 PM
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.
"
2005 Nov 10 1:19 PM
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
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
2005 Nov 10 1:11 PM
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
2005 Nov 10 1:19 PM
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
2005 Nov 10 1:25 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |