Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IW31- BDC Execution problem

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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.

0 Kudos

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,

former_member262988
Active Contributor
0 Kudos

Hi,

You can use the bapi BAPI_ALM_ORDER_MAINTAIN ...

Thanks,

Shailaja Ainala.

Former Member
0 Kudos

solved by me only.....