12-14-2009 8:41 AM
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 .
12-14-2009 8:45 AM
Hi,
Use the BAPI BAPI_CONTRACT_CREATE to create PO Contract. Check your version before, this is available in ECC 6.0.
Regards.
12-14-2009 10:00 AM
it is for manual creation hence BAPI_CONTRACT_CREATE is not used.
Edited by: Antish Awootar on Dec 14, 2009 1:55 PM
12-14-2009 9:08 AM
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