Application Development and Automation 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: 
Read only

IW31- BDC Execution problem

Former Member
0 Likes
742

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
Read only

Former Member
0 Likes
649

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.

Read only

0 Likes
649

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,

Read only

Former Member
0 Likes
649

Hi,

You can use the bapi BAPI_ALM_ORDER_MAINTAIN ...

Thanks,

Shailaja Ainala.

Read only

Former Member
0 Likes
649

solved by me only.....