7

Call transaction for MIR7/MIRO using set parameter... - SAP Community

 7 months ago
source link: https://community.sap.com/t5/enterprise-resource-planning-q-a/call-transaction-for-mir7-miro-using-set-parameter-id-not-working/qaq-p/9203771
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Call transaction for MIR7/MIRO using set parameter Id not working
icon_anonymous_message.png

Former Member

on

‎01-10-2013

I am not able to do Call Transaction for MIRO/MIR7 though I am doing as below:

For MIR7  - >

SET PARAMETER ID 'BUK' FIELD p_comp.

     SET PARAMETER ID 'RBN' FIELD p_inv.

      CALL TRANSACTION 'MIR7'.

For MIRO -

SET PARAMETER ID 'BUK' FIELD p_comp.

SET PARAMETER ID : 'RBN' FIELD p_inv ,

    CALL TRANSACTION 'MIRO'.

but the transaction is not called with the field value p_inv.

Checked SAP note 381593.   ...and do not want to use Bapi....

This I am doing from Workflow and calling the transaction. I am also checking for any enhancment if possible.

tell me how to achieve this....

Thanks,

Accepted Solutions (0)

Answers (3)

raymond_giuseppi

raymond_giuseppi

Active Contributor

‎01-10-2013

For update of invoice, try to call MIR4 "Call MIRO - Change Status" using

SET PARAMETER ID 'RBN' FIELD rbkp-belnr.SET PARAMETER ID 'GJR' FIELD rbkp-gjahr.CALL TRANSACTION 'MIR4' AND SKIP FIRST SCREEN.

For creation of invoice, try to call MIRO, MIR7 using

SET PARAMETER ID 'BUK' FIELD rbkp-bukrs.EXPORT ekpo-ebeln ekpo-ebelp TO MEMORY ID 'SAPMM06E_ZTERM'.CALL TRANSACTION 'MIRO'. " or MIR7

(Did you try to use an external range number for MM invoice, I only knows a customer-exit to change number range but none that allow this ?)

Regards,

Raymond

icon_anonymous_message.png

Former Member

‎01-10-2013

Hi Mohan,

Write a small BDC which calls the transaction MIR7 / MIRO and then use the CALL TRANSACTION 'MIRO' USING 'pass the invoice no & comp code and the transaction will be called.

Let me know if additional info. is required.

Thanks,

Tooshar Bendale

suchomel

suchomel

Discoverer

13m ago

try to call MIR4 and then menu "Edit->Display/Change" (F7). Code is:

set parameter id 'RBN' field '1234'.set parameter id 'GJR' field '2024'.

bdcdata-program = 'SAPLMR1M'.
bdcdata-dynpro = '6150'.
bdcdata-dynbegin = 'X'.
append bdcdata.

clear bdcdata.
bdcdata-fnam = 'BDC_OKCODE'.
bdcdata-fval = '/00'.
append bdcdata.

bdcdata-program = 'SAPLMR1M'.
bdcdata-dynpro = '6000'.
bdcdata-dynbegin = 'X'.
append bdcdata.

clear bdcdata.
bdcdata-fnam = 'BDC_OKCODE'.
bdcdata-fval = '/EPPCH'.
append bdcdata.

call transaction 'MIR4'
using bdcdata mode 'E' update 'S'.

Tomas


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK