User exists for changing the selection screen of the transaction CS11
Hi,
I want to change the selection screen of the transaction cs11 and modify the ALV output.
I searched the old forums but not got satisfactry results.
I want to change the plant and material from the parameter to the select option.
i dont want to copy the transaction for the zcs11.
any suggestion on this ?
Regards,
udupi
one more requirement i have is that, i need to remove all the header fields such as material , plant etc and place that field in the item level. i can use the user exists PCSD0002 for the adding the customer field in the item. but how can i removed the header level field such as plant and material. whether we have any user exits for that?
Similar Messages
-
User exist for controlling the OutPut type in sales order
Hi
Is their any exist which controls the output type based on header data of the order? VA01/02.
Best regards
Satish Kumar KHi,
IN the VOFM routine you can use the structure KOMKBV1 which will be populated with the sales org (VKORG), division (SPART) and order type (AUART).
Example
SY-SUBRC = 4.
IF KOMKBV1-VKORG = '0001' AND
KOMKBV1-SPART = '12' AND
KOMKBV1-AUART = 'ZXXX'.
SET THE return code to 0 to propose the output type.
SY-SUBRC = 0.
ENDIF.
Hope this helps..
Thanks,
Naren -
User exit for Change the Tariff Number in Customs Declaration Document
Hi Guru,
Due the business requirement, user only maintain the Tariff Number in ECC, there is an solution when GTS creating the customs declaration document in GTS, there is an user exit calling the Function Module (Customized program) to get the Tariff Number from ECC and then update the Tariff number in the item level automatically.
Do you know if there is user exit or BADI can update the "Tariff Number" in the item level of Customs Declaration Document in GTS?
Thanks,Hi,
I would not do it in that manner, first because of performance reasons and 2nd, GTS needs to have the Data in the system and for certain procedures (for example swiss customs you will have to manipulate them in GTS). Furthermore we tried to do this for dummy numbers and then conclusion is that it only works with a Programm modification (at least for CH customs) becasue the system needs to retreive more than just the Tarif number.
Yet if ECC has to be your master for Numbering (which I dont recommend by the way), but if there is really no other way.
Then create a batch job that transfers the ECCN number to GTS (there is a standard functionnality to do so), and then do a batch job in GTS that retreives these numbers.
Regards,
Marc -
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 -
User Exit for Changing G/L account in Accounting Document
hi all,
This one is urgent for me. If you guys can help.
Iam looking for a user-exit to change the G/L account while posting the accounting document.
If someone has worked on a similar user-exit Kindly help.
Thanks and Regards
VarunHi Experts,
The requirement is to change the GL account when PGI is done for a delivery.
I have coded in the above user exit for changing the GL account. I am facing the issue here.
I am changing the GL account through a user exit, but even before the user exit is called the standard SAP is throwing a error.
the Error is GL account is blocked for posting in the company code. This check is happening for the GL account what standard SAP proposes from the customization. The GL account that is getting picked is blocked in SPRO for posting in the mentioned company code. Because of the error message, our z code is not getting executed.
Kindly suggest if some user exits that can be used even before this error message. or let me know if you have any suggestions to over come this.
I have coded this in the enhancement point. Include MM07MFK0_KONTIERUNG_PRUEFEN and subroutine kontierung_pruefen.
Thanks, -
I get this message when I try to download a pdf file from a website.
"C:\DOCUME~1\user\LOCALS~1\Temp\physics.pdf could not be opened, because the associated helper application does not exist. Change the association in your preferences."
This is a new error. There used to be no problem.Do you have any setting for MP3 in Tools > Options > Applications ?
You usually need the QuickTime plugin to play MP3 files on Windows because that is the only plugin that supports that file extension if there is no MIME type specified to play the file with another plugin like Windows Media Player or RealPlayer. -
Scripts for changing the address of the user when they have been in the box for 6 months
Scripts for changing the address of the user when they have been in the box for 6 months
If users are in a folder for deactivated users and disabled users in Active Directory, and been there for 6 moths do: change email address in exchange to existing email address.old
Anyone have suggestions on how I can go about it?What is this "box"? What is this "folder" you're asking about? You'll likely get a better answer if you use standard terminology.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
When I download a PDF, a user manual for instance, the page is black and the font is green, how do I change this to a white page and black script?
Try opening it with Adobe Acrobat Reader.
Note: Appleworks is the Apple office like application that stopped being able to run with Mac OS X 10.6.8. If you have a question particular to 10.9, I would ask in the 10.9 (OS X Mavericks) forum. -
USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT
Hi,
Pls advise any USER EXIT FOR CHANGING POSTING DATE IN THE MATERIAL DOCUMENT.
Regards,Hi,
There is another user exit for updating material document data Upon posting is MB_CF001
I hope this will fullfill you.
Prem -
Badi or user exit for changing currency INR to EUR
hi friends,
in po header there is one tab called status.
in this tab there is one field called delivery payment
which has curr INR but i want to change that INR CuRR
to EUR.Can any one tell me how do this is there any badi or user exit
for this req.
thanks.Hi Sonu,
Use the following program to find out the appropriate user exist for ur transaction:
REPORT ZGURU_USER_EXIT_FIND .
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
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).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Then u can use the function CONVERT_TO_LOCAL_CURRENCY to change the amount from INR to EUR.
Regards,
Himanshu -
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 -
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. -
Dynamic selection screen change in Selection Screen.
Hi Experts,
I am not getting dynamic screen change on selection screen. can you give solution for the following scenario.
I have 3 radio buttons on selection screen. Example: R1, R2, R3.
I have 5 fields on selection screen. Example : F1, F2, F3, F4, F5.
When i select radio button 1 i will get F1 field screen only.
When i select radio button 2 or 3 i will get F2 and F3 fields screen only.
When i select radio button 3 i will get F4 and F5 fields screen only.
Any one give me solution for the above scenario very much thankful.
Thanks in advance,
SaiHi
try this code,
REPORT ZTEST_3RB.
TABLES : KNA1,EKKO,VBRK.
PARAMETERS : SALES RADIOBUTTON GROUP VIJJ USER-COMMAND VJY ,
PUR RADIOBUTTON GROUP VIJJ ,
BILL RADIOBUTTON GROUP VIJJ ,
TOTAL AS CHECKBOX.
SELECT-OPTIONS : S_CUSTNO FOR KNA1-KUNNR MODIF ID AKP DEFAULT 1000 TO 1033,
S_PONO FOR EKKO-EBELN MODIF ID VKP,
S_BNO FOR VBRK-VBELN MODIF ID PKP.
INITIALIZATION.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SALES = 'X'.
IF SCREEN-GROUP1 = 'VKP'.
SCREEN-INPUT = 0.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'PKP'.
SCREEN-INPUT = 0.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ELSEIF PUR = 'X'.
IF SCREEN-GROUP1 = 'PKP'.
SCREEN-INPUT = 0.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'AKP'.
SCREEN-INPUT = 0.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ELSEIF BILL = 'X'.
IF SCREEN-GROUP1 = 'AKP'.
SCREEN-INPUT = 0.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'VKP'.
SCREEN-INPUT = 0.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
i think this will help your problem,
Regards,
Vijay -
Dynamic text changes in selection screen
i want to change the title of block into a selection screen after clicking radio button .the changes will be done dynamically.
Hi Pravik,
try this code:
selection-screen : begin of block b1 with frame title text-034.
selection-screen begin of line.
parameter : r_mas_dl radiobutton group r user-command btn default 'X'.
selection-screen comment 3(50) text-060.
selection-screen end of line.
selection-screen begin of line.
parameter: r_new_dl radiobutton group r.
selection-screen comment 3(50) text-058.
selection-screen end of line.
selection-screen begin of line.
parameter: r_chn_d1 radiobutton group r.
selection-screen comment 3(50) text-059.
selection-screen end of line.
selection-screen skip 3.
parameter p_file type rlgrap-filename modif id a.
select-options: s_sernr for risa0-sernr modif id b no-extension no intervals.
selection-screen : end of block b1 .
at selection-screen output.
if r_mas_dl = c_x. " For the first Radio button
set titlebar 'MAS' with text-041. " Header Text1.
loop at screen.
if screen-group1 = c_a.
* CLEAR p_file.
if screen-name = text-052. "'P_FILE'.
screen-invisible = 0.
screen-input = 1.
endif.
endif.
if screen-group1 = c_b.
screen-invisible = 1.
screen-input = 0.
endif.
if screen-group1 = c_c.
screen-invisible = 1.
screen-input = 0.
endif.
modify screen.
endloop.
elseif r_new_dl = c_x. " For the second radio button
clear p_file.
set titlebar 'SIN' with text-058. " Header Text2
loop at screen.
if screen-group1 = c_a.
clear s_sernr.
screen-input = 0.
screen-invisible = 1.
endif.
if screen-group1 = c_b.
screen-input = 1.
screen-invisible = 0.
endif.
if screen-group1 = c_c.
screen-invisible = 1.
screen-input = 0.
endif.
modify screen.
endloop.
elseif r_chn_d1 = c_x. " For the third radion button.
clear p_file.
set titlebar 'CHG' with text-059. " Header Text3.
loop at screen.
if screen-group1 = c_a.
clear s_sernr.
screen-input = 0.
screen-invisible = 1.
endif.
if screen-group1 = c_b.
screen-input = 0.
screen-invisible = 1.
endif.
if screen-group1 = c_c.
screen-invisible = 0.
screen-input = 1.
endif.
modify screen.
endloop.
endif.
hope it helps. -
Hi All,
When the Route changes in the Sales Order, I want to add the Forwarding agent to the Partfner function atutomatically. So I written the code in the User-Exist "userexit_check_vbap" with the following logic.
IF sales order is creating with VA01, Add an entry
and Changing the Sales order with VA02, modifiy an exisiting entry as follow.
But at the time of Creating with VA01, it is sucessfully adding an entry, but
whenever you the change Route for sales order with va02, Modify statement is working fine and showing the correct Partner function in the Partner Tab.
If you save the document and open it again then Changed Route is sucessfully saved but not the partner function. It always having the partner function which you given at the time of creation.
Can we write the modify statement in the "Userexist_check_vbap"
READ TABLE xvbpa WITH KEY parvw = 'ZR'
posnr = xvbap-posnr.
IF sy-subrc NE 0.
SELECT SINGLE * FROM lfa1 INTO CORRESPONDING FIELDS OF xvbpa
WHERE lifnr = tdlnr.
xvbpa-mandt = xvbap-mandt.
xvbpa-vbeln = xvbap-vbeln.
xvbpa-posnr = xvbap-posnr.
xvbpa-fehgr = '08'.
xvbpa-nrart = 'LI'.
xvbpa-lifnr = tdlnr.
xvbpa-updkz = 'I'.
CLEAR: xvbpa-kunnr, xvbpa-stceg.
xvbpa-parvw = 'ZR'.
APPEND xvbpa.
ELSE.
xvbpa-lifnr = tdlnr.
MODIFY xvbpa TRANSPORTING lifnr WHERE parvw = 'ZR'
AND posnr = xvbap-posnr.
ENDIF.
Please suggest me , how can i solve this problem.
Thanks and Warm Regards,
VijayI solved the problem by pass the following value
xvbpa-updkz = 'U'.
It solved my problem.
Maybe you are looking for
-
Using my widescreen tv as display
using my widescreen as a display , works well but i can t get the top menu bar or the bottom dock options to fit into the screen. i m guessing this is a format problem with my tv but i can t seem to get anything to work with that either. any suggesti
-
Hi, I Would like to know what I need to do to make work iWork"09 with my portable which has mac OS Lion 10.7.5 ; it does non open it because it says I need to do some updates but how can I do it if it does not open it ? Thank You
-
Export to Excel from Report region (pl/sql returning sql query)
Hello all, I have encountered an interesting problem. I have an HTMLDB application with a lot of sql reports coded straight inside the report region. In order to better organize my reports, I decided to 1. make all my report regions of type "Pl/Sql f
-
Questions on "FAQ - SAP Solution Manager for VARs"
Hi, I just got through the FAQ - SAP Solution Manager for VARs, but have some further questions: For me it is not quite clear which connections are necessary for which VAR scenrio.. currently we have setup the service desk in our solman. Customer's a
-
I don't get it. I need to have some songs on my site and I'm using Flash Builder 4.5. I don't need a graphical player or any fancy player it can simply be a text link or picture link that when the user clicks on it, the song plays. Isn't there a c