2010 Apr 15 2:38 AM
Hi . Expert.
I want to call transaction from the SAP query.
The receiver program has one parameter which parameter ID is 'BLN'
Sender SAP query has the parameter
but the receiver program is not able to receive the parameter from sender .
What should I check?
Edited by: jake on Apr 15, 2010 3:39 AM
Edited by: jake on Apr 15, 2010 3:52 AM
2010 Apr 15 5:14 AM
Set parameter id 'BLN' field <fieldname> should be what you have to add to your code... If the transaction called has a selection screen with a field with that parameter id, the value should be there....
One usually does:
set parameter id <name> field <field name>.
call transaction xxxxx and skip first screen....
search for exact syntax if my memory is exactly correct...
Set parameter id 'BLN' field <fieldname> should be what you have to add to your code... If the transaction called has a selection screen with a field with that parameter id, the value should be there....
One usually does:
set parameter id <name> field <field name>.
call transaction xxxxx and skip first screen....
search for exact syntax if my memory is exactly correct...
2010 Apr 15 5:14 AM
Set parameter id 'BLN' field <fieldname> should be what you have to add to your code... If the transaction called has a selection screen with a field with that parameter id, the value should be there....
One usually does:
set parameter id <name> field <field name>.
call transaction xxxxx and skip first screen....
search for exact syntax if my memory is exactly correct...
2015 Jul 28 3:20 PM
I´m currently facing the following issue and don´t really know how to resolve that.
My query is based on a Infoset which shows information about purchase orders. Therefore it has the field EKKO-EBELN and EKPO-EBELNP.
Furthermore I´ve added a custom field into the Infoset with another purchase order number. This field is defined as CHAR(10), it gets filled by some lines ABAP from the infoset and is called "EMPTIE_PO".
According to this thread, I´ve created a small caller program for MIGO. See following code snipped.
It works only for the normal PO / item. When I double click the EMPTIE_PO field, it calls MIGO with the usual PO. How do I get the reference of the new field? If I change my caller program, it complains during the syntax check that EMPTIE_PO is an unknown field?!
REPORT Z_CALL_MIGO.
PARAMETERS L_EBELN LIKE EKKO-EBELN.
PARAMETERS L_EBELP LIKE EKPO-EBELP.
CALL function 'MIGO_DIALOG'
EXPORTING
I_ACTION = 'A01' "Goods receipt
I_REFDOC = 'R01' "Reference document: PO
I_EBELN = L_EBELN
I_EBELP = L_EBELP
EXCEPTIONS
ILLEGAL_COMBINATION = 1
OTHERS = 2
.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |