How to make exit in tcode FBL1?
hi
I want that some ID can not use FBL1 for certain vender codes.
is it possible with field exit?
Please let me know the method..
Dear,
Rather to use exit it will better you contact your basis consultant get the authorizations done.
Regards,
Chintan Joshi
Similar Messages
-
How to make Exit button for Out-of-browser application
Greetings all,
This sounds so simple, yet I can't find anything about it. I want to make an Exit button in a Silverlight 4 Out-of-browser application. When the user clicks the button, the application is to quit or close or exit. (The same effect as if the user clicks
the red X icon in the upper right-hand corner of a window.)
Any ideas will be appreciated.Jonathan --
Yes, the word Page has taken on many meanings in the last 15 years. I'll clarify. When I make a simple Silverlight OOB (out-of-browser) application using Visual Studio 2010, I ask Visual Studio to Add New Item, then choose Silverlight Page. Let's
say I name it Page2.xaml.
By default VS2010 already made another page for me, MainPage.xaml.
Now, here is my need: On the page called MainPage.xaml, I want to place a large button that says Exit Application. When the user clicks that button, I want the application to end and the entire window to close. This is the standard behavior in most traditional Windows
applications, for example in Microsoft Word or Microsoft Excel or Microsoft Access. In any of those traditional applications, the user can, from the menu, choose File/Exit. If he does, then not only does the application quit, but also the window
closes itself. The user doesn't have to click the small red X icon in the upper right corner.
That simple behavior of almost all traditional Windows applications, large and small, is what I'm looking for in my simple Silverlight
OOB applications: An Exit command that quits the application and closes the window itself.
Sorry for the confusion. I really appreciate your help. Any ideas? -
How to make exit class unicode complaint
Hi Experts,
I am trying to make class of category 'Exit class' unicode complaint as it shows me error message as "The program "ZCL_EX_DEF_STP_GATEWAY========CP" is not
Unicode-compatible, according to its program attributes."
But in properties section whenever I try to check unicode flag it shows message as
"Exit classes/interfaces can only be edited using the BADI Builder".It do not allow.
Is there any way to make it unicode complaint?hi Yogesh,
Try to use SE18 and see if there is any option for this.
Regards,
Vivek -
Can guide me on how to make exit or continue if user key in 'y' to continue and loop back to the 'Enter temperature'? and 'n' to exit the programe.? Please help
import javax.swing.*;
public class Temperature
public static void main(String[] args)
int temp; //value to store temp
String inputTemp; //for the input screen
String outputHot; //for the output of hot
String outputAverage; //for the output of average
String outputCold; //for the output of cold
String outputTooHot; //for the output of too hot
inputTemp = JOptionPane.showInputDialog("Enter temperature:") ;
temp = Integer.parseInt(inputTemp);
if (temp < 10) { //input temp less than 10
outputCold = "Too Cold";
JOptionPane.showMessageDialog(null, outputCold, "Output", JOptionPane.INFORMATION_MESSAGE);
else if((temp >= 10) && (temp <= 20)) { //input temp between 10 - 20
outputAverage = "Average";
JOptionPane.showMessageDialog(null, outputAverage, "Output", JOptionPane.INFORMATION_MESSAGE);
else if ((temp >= 21) && (temp <= 30)) { //input temp between 21 - 30
outputHot = "Hot";
JOptionPane.showMessageDialog(null, outputHot, "Output", JOptionPane.INFORMATION_MESSAGE);
else { //input temp more than 30
outputTooHot = "Too Hot";
JOptionPane.showMessageDialog(null, outputTooHot, "Output", JOptionPane.INFORMATION_MESSAGE);
char outputYes;
char outpPutNo;
String inputExit;
inputExit = JOptionPane.showInputDialog(null, "Would you like to continue (y/n):");
System.exit(0);
}import javax.swing.*;
public class Temperature
public static void main(String[] args)
int temp; //value to store temp
String inputTemp; //for the input screen
String outputHot; //for the output of hot
String outputAverage; //for the output of average
String outputCold; //for the output of cold
String outputTooHot; //for the output of too hot
inputTemp = JOptionPane.showInputDialog("Enter temperature:") ;
temp = Integer.parseInt(inputTemp);
if (temp < 10) { //input temp less than 10
outputCold = "Too Cold";
JOptionPane.showMessageDialog(null, outputCold, "Output", JOptionPane.INFORMATION_MESSAGE);
else if((temp >= 10) && (temp <= 20)) { //input temp between 10 - 20
outputAverage = "Average";
JOptionPane.showMessageDialog(null, outputAverage, "Output", JOptionPane.INFORMATION_MESSAGE);
else if ((temp >= 21) && (temp <= 30)) { //input temp between 21 - 30
outputHot = "Hot";
JOptionPane.showMessageDialog(null, outputHot, "Output", JOptionPane.INFORMATION_MESSAGE);
else { //input temp more than 30
outputTooHot = "Too Hot";
JOptionPane.showMessageDialog(null, outputTooHot, "Output", JOptionPane.INFORMATION_MESSAGE);
char outputYes;
char outpPutNo;
String inputExit;
inputExit = JOptionPane.showInputDialog(null, "Would you like to continue (y/n):");
System.exit(0);
} -
How to make a field in custom screen as display field in screen exit
Hi ,
I have created a screen exit for CO02 with a field for item text in header level as input field , when value is given and save button is cliked it gets updated in database but the problem is same field shows as input field in CO03 ( display mode ) .
Code which i have used .
in PBO
if sy-tcode = 'CO03'.
loop at screen .
if screen-name cs 'SUBSCREEN' or screen-name cs 'RESB-POTX1'.
( subscreen - screen name given in screen editor and resb-potx1 field name given in screen editor )
SCREEN-INPUT = '0'.
modify screen.
endif.
endloop.
endif.
and even i tried in PAI too .....
if sy-tcode = 'CO01' or sy-tcode = 'CO02'.
update resb set POTX1 = RESB-POTX1
where aufnr = i_aufnr.
elseif sy-tcode = 'CO03'.
*oop at screen .
*f screen-name cs 'SUBSCREEN' or screen-name cs 'RESBD-SORTF'.
SCREEN-INPUT = '0'.
modify screen.
endif.
endloop.
endif.
but itshows as input field only ........how to make that custom field as display field in CO03HI Andy,
Try this out.
FIrst check the sy-dynnr, if it is same as your custom screen number
in PBO of your custom screen
if sy-dynnr = 'YOUR_NUMBER' and sy-tcode = 'CS03'.
loop at screen
if screen-name = 'YOUR_SCREEN_NAME'
screen-input = 0.
modify screen
endif
endloop.
endif.
if it wont work they try using Tcode SHD0
Hope this will serve your purpose.
Regards
Ramchander Rao.K -
How to find exit . and how to make changes in it
Dear All,
Please Solve my problem how to find User Exits and how to make chages in it
if u give me complete step by step method that will help me
Thanks to allhi
USER EXITS->
1. Introduction:
User exits (Function module exits) are exits developed by SAP.
The exit is implementerd as a call to a functionmodule.
The code for the function module is writeen by the developer.
You are not writing the code directly in the function module,
but in the include that is implemented in the function module.
The naming standard of function modules for functionmodule exits is:
EXIT_<program name><3 digit suffix>
The call to a functionmodule exit is implemented as:
CALL CUSTOMER.-FUNCTION <3 digit suffix>
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
CUSTOMER EXITS-> t-code CMOD.
As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.
Among others, this enhancement technique has the advantage of
being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,
customer, and so on)
instead of a two-level landscape (SAP, customer) as with the customer exits.
You can create definitions and implementations of business add-ins at any level of the system landscape.
To unify enhancements of the SAP Standard you can migrate customer exits to business add-ins.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
n order to find out the user exits for any tcode,
1. get the developement class of the tcode from SE93.
2. Now goto transaction SMOD and press F4,
3. give in the Deve class in the dev class and Press ENTER
this will show u the exits for any tcode.
or execute this report
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
For information on Exits, check these links
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
Regards
anver -
How this user exit MWMRF102 triggered in tcode LM05
how this user exit MWMRF102 triggered in tcode LM05. could somebody help for this procedure
thanks in advance
rakeshHi Sairam,
Goto the program for transaction VL10G.In that u make a seach for the user-exit
USEREXIT_PREPARE_LAYOUT_FILL.Then write the logic inside tht.U will need an access key for that.
<b>Reward points if it solves ur query or answer is helpful</b>
Thanks
Chinmay -
How to find out the Tcodes for the exits
Hi All,
how to find out the Tcodes for the exits. i have a list of exits (customer, user, badi ). i need to find out what are the Tcode affected by this exits.
Customer Exits: EXIT_RFEBBU10_001
EXIT_RFEKA400_001
EXIT_RFFOEXIT_100
User-Exits: USEREXIT_DELETE_DOCUMENT
USEREXIT_FIELD_MODIFICATION
USEREXIT_MOVE_FIELD_TO_VBAK
USEREXIT_PRICING_PREPARE_TKOMP
BADI: CUSTOMER_ADD_DATA_CS
HISTORICAL_VALUES
MD_ADD_ELEMENTS
MD_CHANGE_MRP_DATA
MD_PIR_FLEX_CONS
MD_PLDORD_POST
ME_REQ_POSTED
NOTIF_EVENT_SAVE
Can anyone help on this <urgency factor removed>.
Regards
Ksihore
Edited by: Suhas Saha on Feb 20, 2012 12:58 PMi have just started reading about all these-user exits ,customer exits etc.
i have read somewhere that:call to customer exits are triggered by function modules exits.
the structure of function modules are like this:
EXIT_RFEBBU10_001
MEANS
Keyword EXIT followed by program name fllowed by three digits.
and the call is like this:
call customer function 0001.
From above we can conclude that this customer exit must be used in program RFEBBU10.
GOTO SE38 andenter prog name RFEBBU10.check for above function module.
for the rest i stick to the same method for user exits and BADI that we can findthe corresponding TCODES
using Where used lists.
please Tell me if i m wrong! -
How to make field editable in Tcode WPED
Hi,
Its about upgrade of IS Retail from ECC5.0 to ECC6.0.
For Inbound IDOCS coming from POS to SAP System, IDOCs which are in unprocessed category in WPER Tcode.
Now problem is in Tcode WPED there is a transaction date field which is now non editable in ECC6.0
I want to make it modifiable.
Earlier in ECC5.0 It was editable.
So how to make that field modifiable.
Regards,
DivyaThanks Chenna
But that field is sometimes coming editable and sometimes not.....may be it depends on some condition.....but I want to make it editable always whenever an Inbound IDOC is in "To be processed" status in WPER tcode.
Iam going in that screen where field is coming uneditable is:
Tcode WPER -
> Inbound IDOC processing---> to be processed idocs---> double clicking on Idoc Number (comes on WPED screen with non-editable fields in overview table).
If I'm double clicking on that transaction date field it goes to the screen whcih shows Sales Audit Editor: Item list of aggregate sales.
Suggest me how to make it editable.
bye
Divya -
TCode F.05 - How to make valuation twice amonth
Hi Gurus,
I have a question from my users. Do you know a process to make the valuation twice a month via F.05? So, the accountancy department do the closing in two step: 1) fast closing and 2) hard closing. Usually they do F.05 only during the hard (last) closing but now they want to do also during the fast (first) closing.
So how to make valuation twice a month without put a mess in the system?
tx a lot for yur advicetx for your answer. My client hasn't activated newGL yet.
comments I found on the Archives directory of my client
A second valuation will create a real mess if you are valuing open
items (including customer and vendor amounts) and you check the box for
"reverse" postings. A second run will create a duplicate valuation
adjustment for ALL OPEN ITEMS, not just the additional ones. -
How to make fields editable in an custom enhancement
Hi Experts,
My requirement is to perform some custom validations against a field FKONT(BSEG) at the line item level of FB60 and display appropriate message and make the incorrect field editable.
I have implemented an implicit enhancement point in include MF05AFGENJ.
The error messages are coming but I am unable to make the GL account, cost center and profit center fields editable.
Please let me know how to make the above fields editable after displaying the error message.
For reference, I have done the coding like this:
IF sy-tcode = 'FB60' .
CHECK GL_ITEMS IS NOT INITIAL.
DATA: L_COUNT TYPE I,
L_STRING TYPE STRING,
L_FKONT TYPE FIPLS,
L_TABIX TYPE SY-TABIX,
G_FLAG TYPE C.
DATA: WA_ZZFSTP LIKE ZZFSTP. "Work area for ZZFSTP table
CONSTANTS:C_MK TYPE TXJCD VALUE 'MK0000000'.
*-- Validating the Financial budget item field
IF GL_ITEMS-FKONT IS NOT INITIAL.
SELECT SINGLE FKONT
INTO L_FKONT
FROM ZFSTP
WHERE FKONT = GL_ITEMS-FKONT. "cost center
IF SY-SUBRC NE 0.
CLEAR: G_FLAG.
G_FLAG = 'X'.
MESSAGE W003(ZZFI) WITH 'Please enter 'Financial' 'Budget Item Field' DISPLAY LIKE 'E'.
EXIT.
ENDIF.
*-- Copying the first line item financial budget item field to all the line items in the internal table
DESCRIBE TABLE GL_ITEMS LINES L_COUNT.
IF L_COUNT > 1.
READ TABLE GL_ITEMS INDEX 1.
IF SY-SUBRC = 0.
CLEAR: L_FKONT.
L_FKONT = GL_ITEMS-FKONT.
*-- Assign the tax jurisdiction codes in all the line items
LOOP AT GL_ITEMS.
CLEAR: L_TABIX.
L_TABIX = SY-TABIX.
GL_ITEMS-FKONT = L_FKONT.
GL_ITEMS-TXJCD = C_MK.
*-- Copy the first financial budget item number and tax jurisdiction code MK0000000 in all line items
MODIFY GL_ITEMS INDEX L_TABIX TRANSPORTING FKONT TXJCD.
*-- Populate tax jurisdiction and FKONT financial budget item number in XBSEG table
L_TABIX = L_TABIX + 1. "top record in XBSEG is for header
READ TABLE XBSEG INDEX L_TABIX.
IF SY-SUBRC = 0.
XBSEG-FKONT = L_FKONT.
XBSEG-TXJCD = C_MK.
MODIFY XBSEG INDEX L_TABIX.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF. "describe statement
CLEAR: WA_ZZSTP.
*-- Validate the amount and GL account against the FKONT(financial budget item) number
SELECT SINGLE FKONT
ZZWRBTR
ZZHKONT
ZZKOSTL
ZZPRCTR
INTO CORRESPONDING FIELDS OF WA_ZZFSTP
FROM ZFSTP
WHERE FKONT EQ GL_ITEMS-FKONT.
IF sy-subrc EQ 0.
IF BSEG-WRBTR > WA_ZZFSTP-ZWRBTR.
CLEAR: G_FLAG.
G_FLAG = 'X'.
MESSAGE W003(ZZFI) WITH 'Amount entered' 'cannot be' 'greater than ' WA_ZFSTP-ZZWRBTR DISPLAY LIKE 'E'.
EXIT.
ELSE.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-HKONT'.
MESSAGE W003(ZZFI) WITH 'Incorrect GL account' 'number entered for' 'given financial' 'budget item number'.
EXIT.
ELSE.
*-- Check for cost center and profit center at line item level
LOOP AT GL_ITEMS.
*-- Both cost center and profit center is initial.
IF GL_ITEMS-KOSTL IS INITIAL AND GL_ITEMS-PRCTR IS INITIAL.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-PRCTR' LINE SY-STEPL.
SET CURSOR FIELD 'GL_ITEMS-KOSTL' LINE SY-STEPL.
MESSAGE W003(ZZFI) WITH 'Please enter' 'cost center' 'or' 'profit center'.
EXIT.
*-- Either cost center or profit center is initial
ELSEIF GL_ITEMS-KOSTL IS INITIAL AND GL_ITEMS-PRCTR IS NOT INITIAL.
CHECK GL_ITEMS-PRCTR NE WA_ZZFSTP-ZPRCTR.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-PRCTR' LINE SY-STEPL.
MESSAGE W003(ZZFI) WITH 'Incorrect profit' 'center entered' 'for given' 'financial budget item' DISPLAY LIKE 'E'.
EXIT.
ELSEIF GL_ITEMS-KOSTL IS NOT INITIAL AND GL_ITEMS-PRCTR IS INITIAL.
CHECK GL_ITEMS-KOSTL NE WA_ZFSTP-ZKOSTL.
CLEAR: G_FLAG.
G_FLAG = 'X'.
SET CURSOR FIELD 'GL_ITEMS-KOSTL' LINE SY-STEPL.
MESSAGE W003(ZZFI) WITH 'Incorrect cost' 'center entered' 'for given' 'financial budget item' DISPLAY LIKE 'E'.
EXIT.
ENDIF.
ENDLOOP.
ENDIF. "GL Account
ENDIF. "Amount check
ENDIF. "SY-SUBRC check
ENDIF.
EXPORT G_FLAG FROM G_FLAG TO MEMORY ID 'ZER'.
Please let me know how to make GLaccount,cost center and profit center fields editable.
Regards,
Sangeeta.Hi.. chaek the below links. may be useful to u.
Making Table control records Editable / Non-editable
Table control with both Editable and non Editable fields
Regards,
KP. -
How to make Sales group and office field mandatory in VA01 first screen
hi gurus,
can anybody tell me how to make Sales group and sales office mandatory field on VA01 tcode first screen. i have requirement to make it compulsary on the first screen otherwise they wont be able to goto next screen.
will reward points for sure
thanks
mandyHi! Mandy,
Try using t.code SHD0, choose your transaction variant here, further choose your screen variant.
Next select your screen variant and in the Menu bar select Variant> change with processing>Make repairs in foreign namespaces only if they are urgent> Continue(Enter)>again 'enter'>Object can only be created in SAP package>continue(enter)> Exit and save >This variant contains other screens, adopt these as well?>enter>enter> scroll down to the entry required by you make the necessary changes(Output only, invisible or required) and save.
The system will prompt to assign a package and request enter the necessary values.
Provide your feedback.
Regards,
PATHIK -
How to make plant in shipping cond tab for line item in sales doc mandatory
Hi
How to make plant as mandatory for a sales document say quotation mandatory ? I went to SPRO-> Basic Fucntion - > log of incomplete terms -> Define incomplete Groups -> B.selected sales -Item -> Created new procedure Z001 with fielda VBAP - WERKS ,selected screen name PDE2 and checked warning check box.
When i goto Assign incompleteness procedures I donot have option to assign it sales document item level procedure i will only get sales doc header procedure to assign it to document type quotation.
How to make plant as mandatory for each line item in quotation?
Thanks,
VaishnaviInclude: MV45AFZB
Form USEREXIT_CHECK_VBAP
In our business scenario, we have used the same ,But Plant is mandatory only for 1st line item-
source code:
IF vbak-vkorg = '1000' OR vbak-vkorg = '2000'.
IF sy-tcode = 'VA31' OR
sy-tcode = 'VA11' OR
sy-tcode = 'VA21' OR
sy-tcode = 'VA41' OR
sy-tcode = 'VA01' .
IF vbap-werks IS INITIAL AND
vbap-posnr EQ '000010'.
MESSAGE e398(00) WITH 'Please enter the plant for first line'.
ENDIF.
ENDIF.
ENDIF.
Help:
Through this form exit we are making the "plant' field (for the ist &*
& line item ) mandatory for the sales document . This interns helps us &
& to create the sales document numner according to the plant (Region) &
*& of the Plant
Hope it clears. take assistance of your ABAPer. -
How to make a field profit center mandatory in sales order?
Dear GURUS,
Please help in getting answer for following question.
How to make a field profit center mandatory in sales order?
With Regards
Sandeep D.Hi,
There are 2 ways to make profit center mandatory
1.Transaction Variant
2.Incompletion procedure
1.Transaction Variant
Step 1:Goto Tcode shd0 and input transaction as va01 and give name of transaction variant as ( example. zva01 ) and click on create or F5
Step 2.Then it takes you to sales order screen.Just click on enter untill you see profit center field.
Step 3.check the box required against profit center.
Step 4.click on save ( under a package name or as local object ) and exit
Step 5.Assign transaction variant to your sales order type through tcode v0v8.
2.Incompletion Procedure
You can add the field table-vbap,field- prctr,status-04,check-warning to your existing incompletion procedure Tcode- ova2 assigned to your order type in tcode vov8 and check the box - incomplete messeges for your order type through tcode vov8.
If incompletion procedure is not assigned to your order type than you have to create a new incompletion procedure and assign it to order type. -
How to make On Account Payment
Hi all,
How to make On Account Payment.
What is the difference between On Account Payment and Down Payment
ThanksHi Siva,
Normall on account payment is a payment which is not against any invoice/bill.
In SAP, we take such scenarios throught the down payment cycle. Downpayment is nothing but advance issued to a vendor which is not against any invoice/bill.
So we can say that on account payment in SAP is handled through Down payment (advance).
Tcodes wrt vendors:
F-47 - Request
F-48 - Down Payment
Tcodes wrt customers:
F-37 - Request
F-29 - Down Payment
Regards,
Kiran
Maybe you are looking for
-
How can i make an apple id without bank details as it keeps declining mine?
i had an iphone before and i jhave made a new apple id but it keeps declining my bank details and wont let me skip it i need help cant download anything because it wont let me continue! please help
-
Satellite L300: How to make the screen less blue?
Hi, Is it possible to make the screen less blue, not fully color managed, just a little warmer. TIA.
-
Why won't search results display one page at a time?
Search result pages using google automatically load so i can never get to options at the bottom of a page. Driving me nuts! Just want to load 1 page at a time!!!
-
Time Capsule - continued back-up failures
Since 8 April my 2TB Time Capsule is either extremely slow in backing-up or aborts the back-up just before finishing. Time Capsule states that my last back-up was on 8 April 2015. Since then I only installed a Download Shuttle update (9 April), an iT
-
Exporting to Media Encoder and file locating issue
Ok, Now I've read a LOT of threads trying to find a solution to this but none of them have answered my problem exactly, so here's what I have: Running a New computer with a clean install of Windows 7 64 bit and Adobe CS4 Master Suite Hardware: Dell P