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: 

ME31K header text

Former Member
0 Kudos

Hello, i want to set the header text in ME31K: contact creation obligatory based on a contract type. I have not found any customising for this. which exit can i use? thanks...

we cannot use the badi ME_PROCESS_OUT_CUST since it is used by ME31 but not by ME31K .

3 REPLIES 3

Former Member
0 Kudos

Hi,

Use the BAPI BAPI_CONTRACT_CREATE to create PO Contract. Check your version before, this is available in ECC 6.0.

Regards.

0 Kudos

it is for manual creation hence BAPI_CONTRACT_CREATE is not used.

Edited by: Antish Awootar on Dec 14, 2009 1:55 PM

Former Member
0 Kudos

Hi Antish,

How you want to update the HEADER TEXT, through BDC?

If you are using BDC, then after end of BDC , use FM: CREATE_TEXT.

Pass the values in the interface of FM:

CALL FUNCTION 'CREATE_TEXT'

EXPORTING

fid = c_id

flanguage = c_en

fname = l_anfnr(DOCUMENT NO)

fobject = c_ekko

save_direct = c_check

fformat = '*'

TABLES

flines = i_headtext[]

EXCEPTIONS

no_init = 1

no_save = 2

OTHERS = 3.

Regards,

Tutun