Problem in screen exit for Production Order
Hi ,
Created a screen with one field RESB-POTX1 and called it from dictioanry directly so the field defaultly assigned as RESB-POTX1. As it is a item text field and am creating in header level screen .
in PAI functional module exit am capturing value for this field enter by the user and updating directly to RESB table but the problem is while retreiving data in CO03 am not getting value for this field .
In PBO when i pass value from varaible ( got through from RESB ) directly like RESB-POTX1 = l_potx1 ( variable )
it throws an error resb-potx1 not declared . but i declared as tables : resb in pai exit .
as am updating directly resb am not created in field aufk structure ...how to pass this value
hi,
if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
First create a project in cmod and attach the enhancement CNEX0006 to the project.
1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
3. if u want to write any logic before the screen is displayed do it in PBO.
4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
move-corresponding sap_proj_imp to proj.
5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
move-corresponding proj to cnci_proj_exp.
Activate the project .
Hope this helps
Regards
Syed
Similar Messages
-
Exit for production order creation that update BOM explosion date
Hi Guros
does any one know a user exit for production order creation that update BOM explosion date = AUFLD.
or a UE that run before the BOM explosion.
thanks.Dear,
I dont think user exist will work for you,
You need to find BAdi for it, cl_exithandler=>get_class_name_by_interface .
Or try with SE84,
Enter the package name and check the " Enhancements"
Regards,
R.Brahmankar -
User exit for Production Order status
Hi all ,
Pl tell me about the : user exit for Production Order status
( i want CLSD status after settlement of the Production order .)
regards,Hi,
for production order you have exits PPCO0001 - PPCO0023. In transaction SMOD you can see the documentation for all this exits. Actually I think exit PPCO0007 could be a possiblity for you. This exit is called by saving the order.
But maybe it would be better for you to use a special status profile? A user status is set if settlement status is set.
Also BADI WORKORDER_UPDATE could be interessting for you.
Regards,
Sabine -
User exits for production order
Hello,
Hope all had good weekend. I need some help and would appreciate if someone can guide me here.
I have a requirement where I need to develop an enhancement point for production orders transaction CO02.
The enhancement will check the user's authorization profile. Based on authorization profile, enhancement point will decide and direct 'CO02-Change production Order' OR 'ZCO02 - restricted production orders'.
Here are few question I have related.
1. What user exit I should use for this above requirement ? This should be triggered whenever CO02 is being called either from SAP easy access menu or from a different transaction.
2. How can I check/read users authorization profile within this user exit/enhancement point ?
3. Based on the profile, how do I direct to CO02 or ZCO02 ?
Will highly appreciate if someone could please share their knowledge on this.
Thanks,
JMCHi J,
can u tell me whats there in ZCO02 - restricted production orders', have u seen SHD0 -->creating screen/transaction variants ?
Disabling tabs in SHD0
Regards
Prabhu -
User Exit For production Order Information System
Dear All,
I am looking for an User Exit,BADi's for production order Information System where i can see the Quantity which is already produced & The Quantity which is already passed from Quality.I mean the GR Quantity against the Production Order and against that Quantity how much is passed from the Quality.
This is an Urgent Requirement from The Customer.
Please Help.
Thanks
Sujay JoshiDear
You use QA33 report with following fields,,,,here you will get all required
Inspection lot
Material
Plant
Insp. lot quantity
Base unit of measure
System status
Order
Unrestrictd-use stck
Scrap quantity
Sample
Blocked stock
Reserves
New material
MatTransfer posting
Posted to batch
Return to vendor
Other quantity
Other quantity 2
Quantity to be posted
Long-term sample qty
Inspected quantity
Destroyed quantity
Actual lot quantity
Defect. qty in IQty -
User exit for Production Order release
Hi Experts,
Any User eixt for Prouction Order Mass processing.
Before releasing the production order i have to do some checks. Can you please provide right user exit. More reward points with best solutions.
Thanks
CrisHi,
check the following userexits and BADI's for Production Order
Enhancement/ Business Add-in Description
Enhancement
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determinati
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
PPCO0009 Enhancement in goods movements for prod. process order
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
Business Add-in
AFABD_CHANGE Change Relationship
CAUFVD_CHANGE BAdI: Overall Network Scheduling with Selection
PPPI_SEL_ORD_EXT_REL
SIDAT_UPDATE Change date of price simulation
Regards -
User exit for Production Order
Hi Gurus,
What user exits are there for Production Order?
Can anyone throw light.
Thanks in advance,
SriniDear ,
User Exit in SAP PP-Production Order
PPCO0001 |Application development: PP orders |
PPCO0002
Check exit for setting delete mark / deletion indicator
PPCO0003
Check exit for order changes from sales order
PPCO0004
Sort and processing exit: Mass processing orders
PPCO0005
Storage location/backflushing when order is created
PPCO0006
Enhancement to specify defaults for fields in order header
PPCO0007
Exit when saving production order
PPCO0008
Enhancement in the adding and changing of components
PPCO0009
Enhancement in goods movements for prod. process order
PPCO0010
Enhancement in make-to-order production - Unit of measure
PPCO0012
Production Order: Display/Change Order Header Data
PPCO0013
Change priorities of selection crit. for batch determination
PPCO0014
Select process orders for external relationships
PPCO0015
Additional check for document links from BOMs
PPCO0016
Additional check for document links from master data
PPCO0017
Additional check for online processing of document links
PPCO0018
Check for changes to production order header
PPCO0019
Checks for changes to order operations
PPCO0020
Process order: Display/change order header data
PPCO0021
Release Control for Automatic Batch Determination
PPCO0022
Determination of Production Memo
| PPCO0023 |Checks Changes to Order Components
Regards
JH -
User exit for production order settlement
Hi Experts,
Can anybody tell me if there is any user exit which will make GR and settlement of Production Orders at the same time i. e. as soon as production order is confirmed ( movement type 101 happens) the same production order will be settlelled immediately.............
Thanks on advance for your answer.
Regards,
BijayHi,
for production order you have exits PPCO0001 - PPCO0023. In transaction SMOD you can see the documentation for all this exits. Actually I think exit PPCO0007 could be a possiblity for you. This exit is called by saving the order.
But maybe it would be better for you to use a special status profile? A user status is set if settlement status is set.
Also BADI WORKORDER_UPDATE could be interessting for you.
Regards,
Sabine -
Screen field for Production Order CO01
I want to add an additional field to enter shift in Production order screen CO01. How can I do this and what is the screen exit.
ThanksHOW TO FIND USEREXITS ???
1) Option 1 : you don't know the name or dont have any info on user exit
run T-code : SPRO
SPRO -> Click SAP Reference IMG -> click in the relevant module eg: SD (sales and Distribution) ->System Modifications -> User exits
You can view documentation to understand the purpose of that user exit
It is not that always one can find the user exits under the name "System modifications" but with respect to a module definitely user exits can be found under that module in SPRO
2) Option 2 : You know the name of the user exit
Run Tcode : SMOD -> fill in the enhancement name-> click on attributes and then components or directly on components and view the include...if already a code is written in the include,then on double click of include you can see the code...if an existing code is not there and you double click on the include,SAP prompts for a request
3)Option3: You can use the custom code..which was contributed to SDN
Create a new report program -> copy the code -> activate -> run
on the p_tcode : give the name of the tcode for which you need to find the user exits and execute...a list of exits will be displayed...double click and follow the link
***********************************ABAP CODE :************************************
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.
Hope it will solve ur problem..
<b>Reward points if useful...</b>
Thanks & Regards
ilesh 24x7 -
Problem in Screen exit for MIGO using MB_MIGO_BADI?
hi all,
I have customized the MIGO screen to add two fields and the data entered in these fields is saving in a custom data base table using the POST_DOCUMENT method of the BADI.
The problem is i am unable to write the code to display these values in the MIGO, while displaying the material document.
Please help me on how to solve this problem by suggesting the method or sample code?
Thanks,
Vamshi.Hi,
Under the line modify method declare a flag and set to u2018Xu2019 checking for material document number by which we can set the fields to be in display mode when we open MIGO for display of material document created after doing goods receipt.
in method IF_EX_MB_MIGO_BADI~LINE_MODIFY
if not cs_goitem-mblnr is initial.
flag = 'X'.
endif.
Do write the code in PBO of the screen.......which you have created ....
In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use
LOOP AT SCREEN.
IF SCREEN-NAME = 'ZZGBAGS'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
Shailaja Ainala. -
User Exit For Production Order Confirmation Using CO15 or COGI
Hi all,
I need user exit for the production order confirmation so that i can set
AFPO-ELIKZ and AUFM-ELIKZ (delivery completedu2019 status flag) to Blank......
Thankshi,
check these exits.
CONFPP01 PP order conf.: Determine customer specific default values
CONFPP02 PP order conf.: Customer specific input checks 1
CONFPP03 PP order conf.: Cust. specific check after op. selection
CONFPP04 PP order conf.: Customer specific input checks 2
CONFPP05 PP order conf.: Customer specific enhancements when saving
CONFPP06 PP Order Confirmations: Actual Data Transfer
CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
CONFPS01 PS confirmation: Determine customer specific default values
CONFPS02 PS confirmation: Customer specific input checks 1
CONFPS03 PS confirmation: Customer specific check after op. selection
CONFPS04 PS confirmation: Customer specific input checks 2
CONFPS05 PS confirmation: Customer specific enhancements when saving
CONF0001 Enhancements in order confirmation
CONFPI01 Process order conf.: Calculate cust.specific default values
CONFPI02 Process order confirmation: Customer spec. input checks 1
CONFPI03 Process order conf.: Cust. spec. check after op. selection
CONFPI04 Process order conf.: Customer specific input checks 2
CONFPI05 Process order conf.: Cust. spec. enhancements when saving
CONFPI06 Process order confirmation: Actual data transfer
CONFPM01 PM/SM order conf.: Determine cust. specific default values
CONFPM02 PM/SM order confirmation: Customer specific input checks 1
CONFPM03 PM/SM order conf.: Cust. spec. check after op. selection
CONFPM04 PM/SM order conf.: Customer specific input check 2
CONFPM05 PM/SM order conf.: Cust. specific enhancements when saving
use the exit which contains both structures AFPO,AUFM. -
Problem in Screen Exit for me21
Hi,
I have developed Screen Exit in ME21N ..and facing a problem where to write the code...I have a little bit confused with all the function exits...
i used move-corresponding...in the function exit but i am getting errors ..if i am trying to activate the code it is activating...
could you plz help me out guys ..
points will be rewarded..
Regards,
Ravi Ganjihi,
if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
First create a project in cmod and attach the enhancement CNEX0006 to the project.
1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
3. if u want to write any logic before the screen is displayed do it in PBO.
4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
move-corresponding sap_proj_imp to proj.
5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
move-corresponding proj to cnci_proj_exp.
Activate the project .
Hope this helps
Regards
Syed -
Need to create screen exit for Sales Order Transaction
Hi all,
I need to show some additional data on 'ADDITIONAL DATA B' tab of the sales order transaction... I have created a project but not able to get the enhancements that are to be used...
Will be really very heplful if you let me know, which one to use also why to use it...and how to determine which enhancement is to be used.... As i am new to User Exits...Hi ,
Check out this exits.
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Check some of badi .
Please reward if useful. -
Is the Screen Exit for SALES Order
Hi,
I want to add Two Fields in the SALES ORDER. Can any tell me exit for to add new fields in VA01.
Thanks
Regards
PrashanthYou cau use the screens used in the tabs (header and item): additional data B.
In these tab screens exit are called, in these screen you can insert your fields.
The screen are:
SAPMV45A8309, Sales Document Header - User Exit Header
SAPMV45A8459, Sales doc. Item - User exit item
Use screen painter to change them. (transaction SE51) -
User Exit for Production Order confirmation with CO15
Hi All,
what User Exit I should use when validating batch when we do Production Order confirmation with CO15.
Not when we create or release a Production Order.
Will reward,
mindaugas
Edited by: Mindaugas Kazlauskas on Jan 30, 2008 5:03 PMHi
The Follwing Userexits available:
Transaction Code - CO15 Enter Production order Confirmation
Enhancement/ Business Add-in Description
Enhancement
CONFPP01
PP order conf.: Determine customer specific default values
CONFPP02
PP order conf.: Customer specific input checks 1
CONFPP03
PP order conf.: Cust. specific check after op. selection
CONFPP04
PP order conf.: Customer specific input checks 2
CONFPP05
PP order conf.: Customer specific enhancements when saving
CONFPP06
PP Order Confirmations: Actual Data Transfer
CONFPP07
Single Screen Entry: Inclusion of User-Defined Subscreens
CONFPS01
PS confirmation: Determine customer specific default values
CONFPS02
PS confirmation: Customer specific input checks 1
CONFPS03
PS confirmation: Customer specific check after op. selection
CONFPS04
PS confirmation: Customer specific input checks 2
CONFPS05
PS confirmation: Customer specific enhancements when saving
CONF0001
Enhancements in order confirmation
CONFPI01
Process order conf.: Calculate cust.specific default values
CONFPI02
Process order confirmation: Customer spec. input checks 1
CONFPI03
Process order conf.: Cust. spec. check after op. selection
CONFPI04
Process order conf.: Customer specific input checks 2
CONFPI05
Process order conf.: Cust. spec. enhancements when saving
CONFPI06
Process order confirmation: Actual data transfer
CONFPM01
PM/SM order conf.: Determine cust. specific default values
CONFPM02
PM/SM order confirmation: Customer specific input checks 1
CONFPM03
PM/SM order conf.: Cust. spec. check after op. selection
CONFPM04
PM/SM order conf.: Customer specific input check 2
CONFPM05
PM/SM order conf.: Cust. specific enhancements when saving
If it is helpful rewards points.
Regards
Pratp.M
Maybe you are looking for
-
The list view in Calendar doesn't work
iPhone 3Gs with iOS 4 now can't to show the list mode view correctly in the Calendar. It mixes all meetings and lost any also. When I look with month or day mode it works correct, so I think it is not problem of my calendar data it is problem of this
-
the log in in comes up and sys login.yahoo...nd%3d13d5f2 and it keep s repeating series of numbers but never opens. It shows my name and says i have mail but as soon as i click on mail it takes me back to login page
-
Macbook Upgraded to Yosemite, now Logic 9 stalls
I have an older macbook pro (2009) that was running fine on Mountain Lion with Logic 9. I upgraded to Yosemite, and now Logic 9 stalls when playing songs, gives me "processor overload" errors when playing songs that used to run fine on Mountain Lion,
-
My Mac Mini (Mid 2011) doesn't connect to Time Capsule in 5GHz Network. This WiFi Network don't appear in the WiFi list. What's Wrong?
-
ServerSocket does not detect a disconnected client
Hi, I have created a serverscoket, which will accept 'n' number of clients and send data to all the connected clients. And the server should detect when any client goes down or disconnected from network and give the appropriate message to the use tha