2009 Jan 28 5:12 PM
Hi,
I am using BDC to start transaction MM01. I am only using BDC to skip the first initial screens, in which you need to enter the material number & type, views and plant/storage location data, etc. Then the user must fill the rest of the data manually.
Now the problem is that if I want to exit the transaction (without filling the data), it is not possible. Only the green "back" button is enabled, and I cannot use that to exit the transaction, since there are mandatory fields missing, and I am getting errors due to the missing mandatory fields.
If I launch the transaction directly, also the yellow exit button is available, and I can exit the transaction without filling the mandatory fields.
Is there any trick to avoid this problem? Or should I just forget the whole BDC thing?
Regards,
Pa
2009 Jan 28 5:18 PM
Hi,
Check the values exits in these fields material number & type, views and plant/storage location data, etc before calling the MM01 tcode. Depending on the value exists in these fields call the Tcode this way..
IF material number & type, views and plant/storage location data, etc is not initial.
CALL TRANSACTION 'MM01' skip the first initial screens.
ELSE.
CALL TRANSACTION 'MM01' .
ENDIF.
2009 Jan 28 5:23 PM
Hi,
Just enter any valid value in it and press ESC.
By entering value in the mandatory fields, back button will be enabled.
With valid value I mean, if the field is numeric then dont enter any chars in it.
Let me know if this does not solve.
Mubeen