2012 Jul 18 10:54 AM
Hi,
I am using Migo transaction for Goods Issue and I'm trying to display a message in the application log when the safety stock is excedeed. Is there a posibility to update/ add messages to application log?. Currently, it displays my application log and Migo's application log.
Thanks
2012 Jul 18 12:51 PM
Hi,
You are not mentioning how you are trying to add the message. If you are using badi "MB_MIGO_BADI" in method check_document there is a bapiret parameter that will display your message in the application log if you fill it correctly.
Regards.
Hi,
You are not mentioning how you are trying to add the message. If you are using badi "MB_MIGO_BADI" in method check_document there is a bapiret parameter that will display your message in the application log if you fill it correctly.
Regards.
2012 Jul 18 12:51 PM
Hi,
You are not mentioning how you are trying to add the message. If you are using badi "MB_MIGO_BADI" in method check_document there is a bapiret parameter that will display your message in the application log if you fill it correctly.
Regards.
2012 Jul 18 3:23 PM
I am using MB_CHECK_LINE_BADI . The method CHECK_LINE doesn't have that kind of parameter, so I'm trying to add the message using FM 'BAL_LOG_MSG_ADD' and 'BAL_DSP_LOG_DISPLAY'.
2012 Jul 19 7:45 AM
It seems that with this badi you cannot issue any messages to the application log of the transaction. Why don't you try to find/use another badi that has this functionality ?
2012 Jul 19 8:35 AM
I could use LINE_MODIFY and CHECK_ITEM methods of MB_MIGO_BADI in order to read the values / to display the message of but i can't figure out how to pass values from 2 methods
2012 Jul 19 8:43 AM
If I remember correctly, CHECK_ITEM has all the necessary data to do the checks. What exactly do you need to pass ? Can you describe a bit the requirement ?
2012 Jul 19 10:54 AM
I've solved the problem. Check_item has 2 parameters: for line_id and for messages. I needed the value enterd in the quantity field, so i used LINE_MODIFY to read the data and transfer usind the following statement: EXPORT gs_goitem FROM gs_goitem TO MEMORY ID 'ZTRANS'. Then I imported gs_goitem in CHECK_ITEM and I added a log message if the safety stock is excedeed by the quantity that I entered. Thank you for your help
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |