04-23-2007 8:44 PM
Hi!
Currently I am working on the transaction LM81N. I am looking for a user exit or BADI before save (commit work). I need to modify the XIMSEG table where this table is updated in the code:
FORM SET_XIMSEG_ACC using p_rcode.
&----
*& Form SET_XIMSEG_ACC
&----
ximseg fuellen - Buchung auf Ebene Kontierung
----
p_rcode = 0.
CLEAR XIMSEG.
XIMSEG-BWART = T156N-BWART_NEXT.
XIMSEG-EBELN = XESSR-EBELN.
XIMSEG-EBELP = XESSR-EBELP.
XIMSEG-KZBEW = 'B'.
XIMSEG-LFBJA = XESSR-ERDAT.
XIMSEG-LFBNR = XESSR-LBLNI.
XIMSEG-ELIKZ = XESSR-FINAL. "set ELIKZ
IF XESSR-KZABN EQ KZABN_S. "Storno
XIMSEG-XSTOB = 'X'.
XIMSEG-ELIKZ = SPACE. "reset ELIKZ
ENDIF.
XIMSEG-ERFMG = 1.
XIMSEG-ERFME = XEKPO-MEINS.
XIMSEG-BPMNG = 1.
XIMSEG-BPRME = XEKPO-MEINS.
<b>XIMSEG-SGTXT = XESSR-TXZ01.</b>
LOOP AT XESKN WHERE PACKNO EQ XESSR-LBLNI
AND LOEKZ IS INITIAL
AND NETWR > 0.
XIMSEG-LFPOS = XESKN-ZEKKN.
APPEND XIMSEG.
ENDLOOP.
IF SY-SUBRC > 0.
p_rcode = 8.
REFRESH: XIMSEG, XEMSEG.
exit.
ENDIF.
ENDFORM. " SET_XIMSEG_ACC
I need to modify
XIMSEG-SGTXT = XESSR-TXZ01 with ESSL-KTEXT1
I found that use ATP_PUBLISH_RESULTS BADI after the call SET_XIMSEG_ACC . But I didn't found it.
Thanks in advance.
04-24-2007 4:03 AM
Hi Diana,
these are the available exits for this t.code:
Enhancement/ Business Add-in Description
Enhancement
SRV_FRM SRV: Formula calculation (obsolete since 4.0A!)
SRVSEL Service selection from non-SAP systems
SRVREL Changes to comm. structure for release of entry sheet
SRVQUOT Service export/import for inquiry/quotations
SRVPOWEB Purchase order for service entry in Web
SRVMSTLV Conversion of data during importing of standard service cat.
SRVMAIL1 Processing of mail before generation of sheet
SRVLIMIT Limit check
SRVKNTTP Setting the account assgnmt category when reading in, if "U"
SRVEUSCR User screen on entry sheet tabstrip
SRVESSR Set entry sheet header data
SRVESLL Service line checks
SRVESKN Set account assignment in service line
SRVESI Data conversion entry sheet interface
SRVENTRY Unplanned part of entry sheet (obsolete since Rel. 3.1G)
SRVEDIT Service list control (maintenance/display)
SRVDET User screen on tab strip of service detail screen
INTERFAC Interface for data transfer
o.of Exits: 18
o.of BADis: 0
Try to found the correct exits and provide the and activate the exits.
If u wan to where the exits is working put the breakpoint.
***********Rewords some points if it is useful.
Rgds,
P.Naganjana Reddy
04-24-2007 4:03 AM
Hi Diana,
these are the available exits for this t.code:
Enhancement/ Business Add-in Description
Enhancement
SRV_FRM SRV: Formula calculation (obsolete since 4.0A!)
SRVSEL Service selection from non-SAP systems
SRVREL Changes to comm. structure for release of entry sheet
SRVQUOT Service export/import for inquiry/quotations
SRVPOWEB Purchase order for service entry in Web
SRVMSTLV Conversion of data during importing of standard service cat.
SRVMAIL1 Processing of mail before generation of sheet
SRVLIMIT Limit check
SRVKNTTP Setting the account assgnmt category when reading in, if "U"
SRVEUSCR User screen on entry sheet tabstrip
SRVESSR Set entry sheet header data
SRVESLL Service line checks
SRVESKN Set account assignment in service line
SRVESI Data conversion entry sheet interface
SRVENTRY Unplanned part of entry sheet (obsolete since Rel. 3.1G)
SRVEDIT Service list control (maintenance/display)
SRVDET User screen on tab strip of service detail screen
INTERFAC Interface for data transfer
o.of Exits: 18
o.of BADis: 0
Try to found the correct exits and provide the and activate the exits.
If u wan to where the exits is working put the breakpoint.
***********Rewords some points if it is useful.
Rgds,
P.Naganjana Reddy