User exist for delivery document save
Dear friends,
I want to have a custom validation function at Delivery document save action. Can anyone specify a USER EXIST that triggered at Delivery save.
Thanks for help,
Ramindu
Dear Tissera,
Go through this these are User exits avail in the Delivery,You choose in these.
Processing Delivery Data
You can use the following includes to process delivery data:
MV50AFZ1
This include contains routines for processing delivery header and item data, as well as for changing the entrie delivery at central points during delivery processing. For more information on the exit, see note 415716.
MV50AFZ2
You can use this user exit to influence distribution of the delivery quantity to the batches found.
MV50AFZ3
You can use this user exit to control the confirmation requirement of an individual delivery item. You can only use this user exit for picking without Warehouse Management.
MV50AFZK
You can use this user exit to control material determination (material listing, material exclusion, product selection), by changing the communication structures for accessing the condition tables.
MV50AFZL
This exit allows you to control the behavior of delivery creation for order-based deliveries in the case of incomplete delivery groups.
MV50AFZZ
You can use this exit to influence batch determination for an individual delivery item.
Status Updates
Include LV50PFZA enables you to determine your own delivery item status.
You can use the include RV45PFZA to determine your own header status. This exit is also used by other applications in Sales and Distribution (sales order, billing document).
You can use the customer exit in enhancement V50PSTAT if you want to influence determination of the picking status in the case of rounding problems.
Incompletion Control of Deliveries
You can use the include FV50UZXX to program individual incompletion checks for a delivery document. Note 158807 contains more information on this.
Dezentralized Warehouse Management System
You can use enhancement V50S0001 to control system behavior when you create deliveries in the decentralized Warehouse Management System:
Control of the input attributes of delivery fields for distributed deliveries
Control of number assignment for a delivery created in the decentralized WMS
Collective Processing of Deliveries
You can use the customer exits in enhancements V50R0002 and V50R0004 to calculate the stocks for displaying in the delivery due list.
You can use the FORM routines in the include MV50SFZ4 to control output of the delivery due list in the old transaction VL04.
You can use the include RVV50TOP to branch to user exits that you can use to influence the list output in transaction VL10. For more information see note 198137.
Stock Transfer Process
You can use enhancement V02V0001, if you want to control sales area determination of stock transport orders in a different way to the standard system.
Determinations in the Delivery
You can use the following enhancements to control determination of the organizational units that control the picking or putaway process of deliveries:
Enhancement
Function influenced
V02V0002
Storage location determination
V02V0003
Gate and staging zone determination (Header)
V02V0004
Staging zone determination (item)
Delivery Monitor
You can use the enhancement V50Q0001 to influence the data selection for outputting the list. For more information, see note 128150.
Constructing Wave Picks
You can control the construction of wave picks using the customer exits in enhancement V53W0001.
Subsequent Outbound Delivery Split
You can use the FORM routines in the include LV53SFZ1 to enhance the functions of the subsequent delivery split. The include LV53STZ1 enables you to enhance the type group that is used by the function modlues of the delivery split. For more information see note 416765.
Processing Delivery IDocs
You can use the following enhancements to influence processing of delivery IDocs:
Enhancement
Function
V55K0001
Delivery (Inbound) : Copy data
V55K0002
Delivery (Inbound) : Prepare processing
V55K0003
Delivery (Inbound) : Evaluate result
V55K0004
Shipping notification (Inbound): Modification of IDoc control data
V55K0005
Purchase order (Inbound): Modification of IDoc control data
V55K0011
Shipping notification (Inbound): Copy data
V55K0012
Shipping notification (Inbound): Prepare processing
V55K0013
Shipping notification (Inbound): Evaluate result
V50B0001
User exit for BAPI replication/confirmation of deliveries
I hope it will help you
Regards,
Murali.
Similar Messages
-
User exit for delivery IDOC on save
Hi,
I have found some exists for delivery IDOC fun mod 'IDOC_OUTPUT_DELVRY'.
when I am testing from WE19, the debugger is not triggiring.
Pl suggest.
Thanks,
KrishnaHi,
If you have the idoc no. get the partner details form it and go to we20 and put it there. and go to inbound parameters, and cleck on the message which your idoc belongs to. and go to the process code in it, and double click on it. where you can get the FM attached to it. put the break point there. opne your idoc from we19. click on the inbound FM. and place the FM. and click on debugger active check box and chose fore ground. it will take you to that FM. now debug that function module. in this process you may come across Exits you are looking for.
Hope this will helps you.
Regards
Kiran -
Hi all,
Is there any user exists for the ME22N tcode While Saving PO, excluding MM06E005 and M06E0004. These exists are M06E0004 inpacting on Release strategy and other MM06E005 is SAP stored the screens in $tmp because of this impacting on other tcode me41 going to dump.so anybody can suggest any other user exists.
Thank u,
sksk.MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Regards,
Madan -
Hi All,
I need a user exit for FI document posting.
My purpose is based on types of G/L accounts i need to add line item data to FI document.(i.e.,inserting into BSEG table )
Can you please suggest me the user exir.
Thanks and regards
PraveenTransaction Code - FB01 Post Document
Exit Name Description
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
If you know tcode then you can find out user exits associated with the same with the following code:
*& Report ZUSEREXIT *
*& Finding the user-exits of a SAP transaction code *
*& Enter the transaction code in which you are looking for the *
*& user-exit and it will list you the list of user-exits in the *
*& transaction code. Also a drill down is possible which will help you *
*& to branch to SMOD. *
REPORT zuserexit NO STANDARD PAGE HEADING.
TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
TABLES : tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name EQ enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
SELECT * FROM tadir INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
*---End of Program.
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
Automatic output assignment for delivery document
HI
Can any bady let me know the pre requisites for automatic output assignment for delivery document with reference of PO(stock transfer order)
As of now i configureded every thing fine, i add manually the output is working fine, and i created condition record also. only the things in this is
i need this output automatically when i save my delivery document
Regards,
VadivelDear Vadivel,
Go to your delivery output procedure control data here you you keep Manual only check box as uncheck for your Replenishment delivery output type.
Also check the Requirement assigned to your Replenishment delivery output type.
I hope this will help you,
Regards,
Murali. -
Automatic output asignment for delivery document
Dear Friends,
Can any bady let me know the pre requisites for automatic out put assignment for delivery document.
as of now i configureded every thing fine, i add manually the output is working fine, and i created condition record also. only the things in this is
i need this output automatically when i save my delivery document
PleaseHi Williams,
Thanks for the prompt response,
as you said condition record is made against the Delivery type/Shipping point. in this everything fine. my issue is when i save my delivery douument this output type say EK00 needs to present automatically over there
please share your views based on my issue. hope now you understand clearly.
thanks
Raju. -
Extended Idoc - User exit for delivery VL01 and Invoice VF01
Hi Experts,
We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.HI
exits available for VL01.
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
For VF01..
Enhancement
V61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
V60A0001 Customer functions in the billing document
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
V05I0001 User exits for billing index
SDVFX011 Userexit for the komkcv- and kompcv-structures
SDVFX010 User exit item table for the customer lines
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX001 User exit header line in delivery to accounting
J_3RSINV -
User exit for Delivery output execution
Hello All,
My query is i need a delivery relevant user exit for output trigger which the specific order reason and for this only it should trigger in the VL01N (delivery) output. Kindly let me know if any user exit is there where i can give my condition(by checking the specific order reason from the proceding sales document) and for that only it should trigger in the VL01N output . PLZ let me know the answer ASAP.Hi
Check the following enhancements and BADI's
Enhancement
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
Business Add-in
DELIVERY_ADDR_SAP Address Change in Delivery Processing
DELIVERY_PUBLISH Announcement of delivery data during database update
Also look at the Standard program of Delivery SAPMV50A
for the user exit Include MV50AFZZ
<b>Reward points for useful Answers</b>
Regards
Anji -
User-exit for delivery while assigning serial numbers(urgent)
hi all,
can u plz tell me the specific user exit for delivery (VL01n) while assigning serial numbers?
i am getting the serial numbers for material in database table OBJK .i am also getting these serial no.s in IQ01.
while doing delivery,i am going for extra-->serial number.at this time one screen for serial number is comming.those serial numbers which are stored in objk will transfer to this screen of delivery automatically.
for this , i want a specific user-exit for delivery so that i can transfer the serial nos from objk to that screen of delivery.plz suggest .(urgent )
any idea is highly appreaciated
Regards
pabitraYou can find from below list of user exists
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound) -
Dear friends,
Can any body tell me that where we can see the related User Exists for F110 in SAP?
Thanks,
RajuHello,
Here is the list of user exists in F110
FDTAX001 Enhancement to Transaction FDTA (event after the download)
FEDI0002 Function exits for EDI DOCS in FI - Incoming pyt adv.notes
FEDI0003 Function exits for EDI docs in FI - Save PEXR segments
FEDI0004 Function exits for EDI docs in FI - particular events
FEDI0006 Function Exits for EDI-docs in FI: Save IDCR Segments
RFFOX003 Frame for user exit RFFOX003 (in program RFFOM100)
RFFOX041 Framework for user exit RFFOX041 (in program RFFOBE_I)
RFFOX042 Framework for user exit RFFOX042 (in program RFFOBE_E)
RFFOX043 Framework for user exit RFFOX043 (in program RFFOBE_D)
RFFOX061 Frame for user exit RFFOX061 (in program RFFOCH_P)
RFFOX062 Frame for user exit RFFOX062 (in program RFFOCH_P)
RFFOX063 Frame for user exit RFFOX063 (in program RFFOCH_P)
RFFOX064 Frame for user exit RFFOX064 (in program RFFOCH_P)
RFFOX065 Frame for user exit RFFOX065 (in program RFFOCH_P)
RFFOX066 Frame for user exit RFFOX066 (in program RFFOCH_P)
RFFOX071 Frame for user exit RFFOX071 (in program RFFOCH_U)
RFFOX072 Frame for user exit RFFOX072 (in program RFFOCH_U)
RFFOX073 Frame for user exit RFFOX073 (in program RFFOCH_U)
RFFOX074 Frame for user exit RFFOX074 (in program RFFOCH_U)
RFFOX075 Frame for user exit RFFOX075 (in program RFFOCH_U)
RFFOX081 Frame for user exit RFFOX081 (in program RFFOF__T)
RFFOX082 Frame for user exit RFFOX082 (in program RFFOF__T)
RFFOX100 Frame for user exit RFFOX100 (in program RFFOUS_T)
RFFOX101 Frame for user exit RFFOX101 (in program RFFOUS_T)
RFFOX102 Frame for user exit RFFOX102 (in program RFFOUS_T)
RFFOX103 Frame for user exit RFFOX103 (in program RFFOUS_T)
RFFOX104 user exit
RFFOX105 Frame for user exit RFFOX105 (in program RFFOUS_T)
RFFOX200 Frame for user exit RFFOX200 (in program RFFONZ_T)
RFFOX210 Frame for user exit RFFOX210 (in program RFFOAU_T)
RFFOX211 Frame for user exit RFFOX211 (in program RFFONZ_T)
RFFOX230 General program for user exit RFFOX230 (in program RFFOJP_L)
RFFOX240 Enhancement for User Exit 240 (RFFOAT_P)
RFFOX250 Enhancement for User Exit 250 (RFFODK_E)
RFFOX901 Framework for user exit RFFOX901 (in program RFFOM100)
RFFOX902 Framework for user exit RFFOX902 (in program RFFOM100)
Hope this helps
Rgds
Rajendra
Pls assign points if useful -
No tax information exists for billing document
Hi
We have a problem. In our scenario, we create a service order followed by service confirmation and bill from service confirmation. All prices including taxes are maintained in r/3. prices and taxes are picked in the service confirmation also.
When we create an invoice from crm (CRM billing), the correct price and tax is picked . But when we try to maintain billing documents, we get an error as follows.
" No tax information exists for billing document 90000108-0000000010, condition type JIVC". Document are not getting posted to R/3.
JIVC is the tax condition type created in r/3 and downloaded to crm. GL account determination settings have been maintained in CRM.
However when i do a billing in CRM without tax, accounting documents are generated and hitting the right GL account. Also, when we do a billing in in r/3, the tax is hitting the right GL account.
I have not maintained any TTE settings in CRM. Are TTE settings required at all in this scenario? If so could you inform what needs to be done.?
We are on CRM 5.0 and R/3 4.7.
Thanks and regards
BhaskaranHi Bhaskaran,
In CRM according to the taxes there r two ways of calculation,
in ur scenario u r using the R3 billing so it according to downloading of condition types and cond records it will shows the taxes in the invoice
if u r maining u need to call the TTE
i hope u r with indian client if follow in backend
check these settings in R3
TAXINN (India):
Following are the condition types:
Define New Condition Type
IMG > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define Condition Types > Maintain Condition Types (V/06)
T.Code - Details of Condition Types
V/06 JIVP copy of JLST (A/R VAT Payable) & change condition category to D & Access Sequence MWST
V/06 JIVC copy of JLST (A/R CST Payable VAT) & change condition category to D & Access Sequence MWST
OBQ1 - JIVP copy of JLST (A/R VAT Payable)
OBQ1 - JIVC copy of JLST (A/R CST Payable VAT)
Define Account Key JN6,JN7 & JN8 (T.Code: OBCN & also in SD)
IMG> Financial Accounting> Taxes on Sales and Purchases> Basic Setting> Check & change setting for Tax Processing (OBCN)
IMG> Sales & Distribution> Basic Function> Account Assignment / Costing> Revenue Account Determination> Define & assign Account Keys> Define Account Keys.
and check the proper condition records r downloaded or not check middleware settings for that.
If u r doing CRM billing i am not sure of indian client, as i know u need to do maintain the Pricing procedure in CRM also and u have to call the TTE
Regards
Manohar -
User Exist for MM - Purchase Order
Hi ABAP expert,
is there any user exist for Purchase order, actually i'm want to prevent the user from do the deletion on PO items, as per my understanding we can use user exit.
can anyone help and how to do the process ?Hi,
1. Just copy and paste this code and execute it.
2. Give the Tcode "ME21" and you will see the lot of user exits.
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
* Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
* Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
* Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
* Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
Thanks,
Reward If Helpful. -
How to add a default user group for multiple document type's?
Hi,
I am trying to add same default user group for different document types when MA is created. Is there any way to setup using a single "Document Security Template"? Or I need to create different templates for different document types?
Please confirm.
Thanks,
SaloniHi Saloni,
Based on what your specific requirement, it might be easier to do it with scripting.
If you are doing it using Document Security Templates, you would have to create a Document Security Template for each of the 6 MA types and assign the default group. Create another one and leave the Document Type field blank, so it will apply to the other 4 MA types that don't have a default group.
Regards,
Vikram -
Reg. User exist for G/L account change
Dear Experts
I want to create new contion or user exist for change the G/L account from consumption account to
stock account.
That is when I create purchase order with account assignment the stock account should be assigned instead of consuption account.
Without any account assignment mean no problem,that accounts are posted correctly.Stock account and GR/IR account.
Thanks
Rajakumar.kWhile create Purchase order.
If Acct assignment E - Stock account - depending on the material type
Acct assignment and item cat. E & L WIP of material
Like the above.
while I create purchase order the consumption account is posted and after enter the sale order
the G/L for consumption is changed to stock account. I can see the changes directly.
Thanks
Rajakumar.k -
Dear Friends,
I could see output determinations maintained only for sales document,billing document,sales activities.....if delivery note has to be given then output determination sud b maintained for delivery document ryt.....why theres no determination for delivery doc?....Thanks in advanceDear S Kumar,
Check with:
T. Code: V/36 - Maintain output determination for deliveries
V10000 (Header output) has condition type LAVA (usually with requirement 1 NB: Use V/84 u2013 V7ALLE u2013 SHAD for grouped ASNs. I.e. Group deliveries into shipments
T. Code: VV21,VV22,VV23 - Create output condition records for shipping.
LAVA u2013 WE (Partner function) - We must add each new partner with VV21
T. Code: VL71 - Reissue output for deliveries
Best Regards,
Amit
Maybe you are looking for
-
Unable to post cancellation invoice into accounting
HI Gurus, In STO scenario, the billing document has created with the freight value 500 USD and later we want to change the freight value so we created the cancellation invoice with referene to the above billing document.But in cancellation invoice th
-
I found out how to hide the old account but I have no idea how to delete them?? Does anyone know..Thank You
-
Excel Add-in for report buider 3.0
Hi Guys, I am looking forward to use Report builder 3.0 inside excel as an add-in. I don't want do develop in a stand alone version as I need to refresh the report in excel and change the data dynamically. I am doing this because I wanted to give cel
-
Trying to create Master - Detail form, getting ORA-06502: PL/SQL: numeric
Anyone know why we might get this error trying to create a Master Detail form in HTMLDB 2.0? ORA-20001: Unable to create master detail page. ORA-06502: PL/SQL: numeric or value error: character to number conversion error Unable to create Master Detai
-
How to setForeground for individual JTable rows???
How do you set the foreground and background colors for individual rows in a JTable? I don't want every row to change, just the rows I select programmatically (not via the GUI). The JTable.setForeground() from the JComponent base class changes all th