‎2009 May 13 3:00 PM
Hi Experts,
If I am executing transaction code directly it is taking (ERNAM- Entered By) as SY-UNAME and If I executed by using BDC, (ERNAM-Entered BY) is taking as IP10+SY-DATUM. So now I want to set ERNAM = sy-uname as the default value.
In transaction IW31 (Create Order) I have to pass some default values for field (ERNAM - Entered By) field.
Regards,
Bala Virupaksha Rao
Edited by: bala virupaksha on May 14, 2009 2:45 PM
‎2009 May 15 7:06 AM
You can set the sy-uanme as a default in the BDC code itself.
(Defaulting at your BDC Code)
E.g.,
perform bdc_field using 'BDC_CURSOR'
sy-uname.
‎2009 May 15 7:33 AM
Hi,
ERNAM is not a input field here. So in BDC I can't change the value.
How to pass the default value to the ERNAM in IW31 transaction,
‎2009 May 15 7:08 AM
Hi,
You can use the bapi BAPI_ALM_ORDER_MAINTAIN ...
Thanks,
Shailaja Ainala.
‎2009 Jun 05 1:41 PM