Screen Block by User Exit in FBCJ
Hi Gurus , i need some help , because i'm having a problem with a error message in a field exit in tx FBCJ , the validation works as it shuold but when i exit the tx and enter again it validates the last register that i put the last time and block me the screen , haow can i avoid the second validation because the register that i put was already validate or how can i avoid the screen block to keep working, thanks
Hello,
There is this program MV50AFZ1 inside that you have the
forms 1)USEREXIT_SAVE_DOCUMENT
2)USEREXIT_SAVE_DOCUMENT_PREPARE.
I think you can write your code to populate the fields here.
Regards
ashish
Similar Messages
-
USER-EXIT for FBCJ transaction
Hi there good people,
I'd like to ask You if there is some possibility to change button's functionality in FBCJ transaction. I mean 'post' and 'save' buttons.
I see there are no user-exits in FBCJ, (no CALL CUSTOMER-FUNCTION ...) so ... maybe You know some other way to catch the 'post' or 'save' action in code and make own code-enhancement ?
I'd be thankful for suggestions. Greeting. P.BADI idea looks very interesting. We've got 4.6c system
I'm checking the SE15, I can see there:
-> tree (R/3 Repository Information Sys)
-> Envir.
->Exit techniques
-> Business Ad-ins -> here I'm choosing Definitions
In the selection screen I'm entering CJ_DOCUMENT into a Definition name field, press enter and got
No objects correspond to the selection criteria
(PS. When I choose SE18, and search for 'CJ*' I can only find the 'CJ_DSAL_FUNC - BADI for DSAL for Including Customer Functions')
So where can I find the CJ_DOCUMENT BADI? Or maybe I have no CJ_DOCUMENT BADI ? -
Calling a screen in a user exit!
friends,
Is it possible to call a screen (Normal or modal dialog box) to display an error message or some 2 or 3 lines in a user exit? thanks allYou can also try the following logic.. it worked for me inside a HR User Exit ( ZXPADU02)..
report zpinc .
data t_errors type table of rpbenerr with header line.
t_errors-pernr = '0001'.
t_errors-class = 'RP'.
t_errors-msgno = '016'.
t_errors-msgv1 = 'TEST1'.
t_errors-msgv2 = 'TEST2'.
t_errors-msgv3 = 'TEST3'.
t_errors-msgv4 = 'TEST4'.
append t_errors.
clear t_errors.
t_errors-pernr = '0002'.
t_errors-class = 'RP'.
t_errors-msgno = '016'.
t_errors-msgv1 = 'TEST1'.
t_errors-msgv2 = 'TEST2'.
t_errors-msgv3 = 'TEST3'.
t_errors-msgv4 = 'TEST4'.
append t_errors.
clear t_errors.
call function 'HR_BEN_SHOW_ERROR_POPUP'
exporting
title = 'Error List'
tables
error_table = t_errors.
~Suresh -
Calling a screen in VA01 user exits
hi friends,
based on certain condition i neet to call custom module pool program from SD user exits in VA01.
Please suggest.. Pop up with values as in table control will also be OK..
thanksHi,
You need to create a custom module pool and call its screen on a suitable place. It is not clear what exactly is your problem.
There are more possibilities:
1.) You do not know how to create a module-pool
2.) You do not know how to call its screen in popup
3.) You do not know where to place your code for calling your screen
Solutions:
1.) Check chapter Dialog Programs: Overview in [BC - ABAP Programming|http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCABA/BCABA.pdf]
2.) Check chapter Calling Modal Dialog Boxes in [BC - ABAP Programming|http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCABA/BCABA.pdf]
3.) Look at subroutines in include MV45AFZZ and find the one that You are looking for. You can also check [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
If You need something more, be more specific.
Regards,
Adrian -
hi experts,
i need to add sort, filter, and find functionality in standard transaction FBCJ. Is there any user exit for this one?
thank you in advance!Dear Satish,
here are no user exit in Cash Journal, I'm sorry about it.
Mauri -
How Transport Screen 0111 of User Exit MM06E005 from Development to Quality
Hi Gurus,
Greetings!!!
I have implement a Screen Exit MM06E005 for my PO Requirement (ME21N, ME22N, ME23N).
I am able to see the added screen details in my Development Client
However, after transporting the request to Quality, I am unable to see the screen.
When I check in Quality I got the details as 'the screen does not exist in quality'.
In development Server I checked that the screen is in Package ME and not in my Transport request.
Please let me know how to transport this screen(0111) to the Quality Server.
Thanks in Advance.
Regards,
Renwa.Hi Denny,
You please check this below things.
1) Check the screen is activated or not
2) May be you activated the screen and placed in different transport request
3) Deactivate all and keep then in another transport request and transport.
Regards,
Madhu. -
FBCJ BADI/User Exit or Validation Rule Implementation
Inspite of my maintaining validation as under, i am not able to achieve what i desire, i.e., System is still posting Cash transactions thru FBCJ t code for amount exceeding INR 50,000
1. Created a validation name
2. Assigned it to Application Area - FI
3. Callup Point - 2 Line item
4. In validation step 0001, created pre-requisite as
Transaction code = 'FBCJ' AND Account Type = 'D' AND
Posting key = '15'
5. Under check, Amount <= '50000.00'
6. Entered E in message type with corresponding message class ZKM_MSG_CLASS for message number 018
7. Assigned the above validation in OB28 t code for activation level 1 (i.e., Active)
System display a message; but also post it as well, despite of 'E' error message type.
How to tackle with the above problem.
Is there any other badi/user exit for FBCJ. I have only find CJ_DOCUMENT, but it's not working for me.
Thanks and Regards,
SohailHi
Below are some of BADIs available for WAK1. Please check.
Exit
WCOUP001 User exit for coupon processing in POS inbound
BADIs
RDM_BAPI_PROMO_CREATE - Enhancement Spot (RDM_OPT_PROMO_IN)
RDM_PROMO_POST - Enhancement Spot
RDM_PROMOTION_WAK1 - Enhancement Spot
WAKT_BADI_001 -
~~~Ganesh Kumar K. -
Pop up screen for stock overview in ME51n through user-exit/BADI
Hi,
User wants that at time of Purchase Requisition creation for any material system should give a pop up window of stock details to provide the status on inventory.
For stock summary the t code u201CMMBEu201D for combination of plant and material should run in background and produce output in pop up window. Basically MMBE report output is required for each item line in a pop up window.
Can this be done through user-exit. I have implemented many user-exits but not sure about the report output in a pop up screen through a user-exit.
The material stock ia already available under menu enviornment - Material stock(MMBE) but user wants the stock as soon as the material is enetered.
any inputs.Have a look at below link which gives the details abt the user exits related to VA01/VA02.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
Best Regards,
Vibha
*Please mark all the helpful answers -
I have created one user exit for transaction CO02 .We acn navigate on different screens . My user exit works when you click on save button .
But now problem is when you click on save button of on different screen first time it wont work . But if you go to main screen of CO02 and return back to other screen it works what may be the reason .
thank you in advance .hi ragha,
it is because the exit u used is allocated for a particular transaction..
check it in SMOD .. give the exit name to see the documentation..
thats the reason it doesn't work in the other screens..
<b>reward if useful..</b>
Message was edited by: Ashok Kumar Prithiviraj -
What User Exit can I use to add a cust field to PO Item overview in ME23n?
Hi,
I need help!
Does anyone have any examples of adding a new cust field to PO Item Detail screen with a user exit?
In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
Which user exit I can use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
We are on release SAP ERP Central Component 5.0Hi,
Thank you for the response. I tried this and found Badi ME_PROCESS_PO_CUST. Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
Thank you for help - much appreciated,
Vicki -
Passing a parameter through user exit
Hi all,
I am adding a screen to the user exit ZXHIV01 and want the user to fill the organizational detail area on this screen.
However, I cannot get the value of the organizational code (OBJID) from the previous screen (1000 create).
I have tried GET/SET parameters but it did not work.
Should I do something different while editing a user exit?
Thanks in advance,
Dilek ErsöHi Dilek,
try using field-symbols.....it will work....
If the hint is useful Say thanks by reward .
Regards,
Prabhu Rajesh -
This program copies data from one version to another version. But I wants copy data between 2 version by just changing planning secnario. So Could you please provide an user exit to achieve this functionalty. The user exit has to provide popup to prompt source and target planning scenarios as well.
Please help me to get the solutions for this issue. Thanks in advance.hi
You can try all these user exits.
MCP20026 Planning hierarchy tool: Enhancement of characteristics
MCP20025 User Exit for Saving Forecasts
MCP20024 User-Exit for Inputing forecast parameters
MCP20023 User Exit for Checking Duplicate Char. Combinations
MCP20022 User Exit for Displaying Forecast Results
MCP20021 User exit for modifying parameter when transferring f.reqts
MCP20020 User exit for reading info structure when transferring reqts
MCP20018 User Exit for Enhancing a Level of a Planning Hierarchy
MCP20017 User Exit for Influencing Key Figure Block
MCP20015 User exit to set the field names material/plant PBED
MCP20014 User Exit for Changing Line Text
MCP20013 User Exit for Once-Only Change to Planning Table
MCP20012 User Exit for Excluding Function Codes
MCP20011 User Exit for Processing Data Records to be Updated
MCP20010 OTB check in the purchase order
MCP20009 Extrapolation of Invoiced Sales for OTB
MCP20008 Order processing treatment from IDocs
MCP20007 User Exit for Customer-Defined F4 - Value Request Control
MCP20006 Exit for processing header info for download in Excel
MCP20005 User exit for authorization check in planning
MCP20004 SOP: design header information for flexible planning
MCP20003 SOP: create function code for flexible planning
MCP20001 User exit to read external data for planning table
Regards
Sajid -
Problem in MRP planning with user exit key
Hi All,
I have a requirement like this..
we have 1000 FG in our plant.. out of which they want to plan only 250 FG's through MRP run collectively...when they do MRP run system should plan only these 250 FG's and also down level materials ( components ) of these 250 FG's ..
So I proposed to use user exit key in MD01 screen by activating user exit M61X0001 and these 250 FG 's are identified with a separate MRP group in material master and developed enhancement..
But when I do MRP run in MD01 with this user exit key, system only planning those 250 FG's but not planning down level materials or components of these 250 FG's.. is this standard behavior.. can somebody guide me how solve this issue..
Thanks
KumarHi Kumar,
You can use either MRP Type, MRP Controller, MRP Group in this user exit to control the MRP run. For these set of Materials you have to assign any of same value or at least differentiate these material from other material. Then only you can control the MRP by using this user exit even though if you use different MRP Group and MRP Controller. In User Exit, you may have to add your dependent material's MRP Group/MRP Controller. Make sure that these set of materials are different than all other materials.
If you don't have any plan to run MRP for other materials then as per Ajit suggestion you make that material's MRP type as "ND". But, in your business case they may want to activate the MRP for all the material not now but may be latter.
Thanks -
I want to block the withdraw qty in MB1A screen.I used MBCFC003 AND MBCF0005 BUT I couldn't get the exact result.Is it user exit for MB1A screen -PPC00009.So can anyone tell me the exact user exit.
Regards,
Maran.dDear Maran,
What's your exact requirement?What do you want to block in MB1A T Code?
You want to restrict for 261 movement for an order or reservation in MB1A?
These are the exits that can be used for MB1A,
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
MBCF0011 Read from RESB and RKPF for print list in MB26
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009 Filling the storage location field
MBCF0007 Customer function exit: Updating a reservation
MBCF0006 Customer function for WBS element
MBCF0005 Material document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in material doc. item
Regards
S Mangalraj -
User exit for me 51 to put field descryption for ekbn-sakpto in screen 505
hi .
i have a requirement to put field descryption in screen 505 for me51 tcode(program sapmm06b) for field g/l account in screen 505(Account Assignment for item 00010).
waiting for your resposne.
bye.
sita.Hi Seetaram,
Hi,
By using the below code you can find the User exits for a particular TCODE.Execute this program and the TCODE in selection screen.
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& 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.
Reward if helpful,
phani
Maybe you are looking for
-
AR- Invoice- splitting line item positngs
Hello, we have a scenario in the AR invoice. The business invoices the customer on a weekly basis, for the week at month-end few days if the week fall into the next month( for e.g Oct 28th week , thursday and friday fall into Nov month, they want
-
Diaporama for 16/10 screen
When making a diaporama with my 16/10 sceen notebok and photoschop elements, it seems as if the sise of dias was limited to a 4/3 sceeen size. Is it possible to make 16/10 diporamas ?
-
Where do I go to redeem how much i have left on my itunes gift card
I am wanting to check the balance left on my itunes cift card. Where do I need to go or call to redeem this balance
-
Is it possible to send user id inplace of Author column in SAP inbox..
Hi Xperts, Is it possible to send user id in the column of 'Author' of SAP Inbox. For example: Whenever the PR/PO is created Workflow is getting triggered. Now agent gets the workitem in to his/her inbox. In general, Author column of SAP inbox is em
-
Which Mac to Buy for Use with Logic?
I'm currently looking to buy a new Mac and am torn between the iMac and Macbook Pro. iMac is definitely in my price range more than the Macbook. I'm looking to do basic video editing and audio recording (15 tracks at most) most likely using an Apogee