TCode: COR5
For this COR5 TCode,
I want to design a program in a User Exit, who will compare
1) The BOM Items in a particular Process Order
2) with the Master Data BOM.
and if there is any deviation I want to block that Process Order for further processing, And also plz tell me which User Exit will be suitable for this.
Can anybody please answer these questions?
Of course Points will b rewarded.
Hey Mr. Ravi,
Thanx for your reply, but my question is
If there is any deviations in the Process Order BoM and Master data BoM, I want to change the status of the Procee order and need to stop processing further.
You have given me some User Exits list can u explain me why they r suitable for this type of application?
Thank you.
-Harshal
Similar Messages
-
User Exit for Tcode: COR5
for TCode: COR5 (Release Process Order).
Can plz anybody tell me what are the User Exits exists and how to find these Exits.
Satisfied answers will be Rewarded.
Thank you.Hi Harshal,
Please copy this code onto a report to find all the exits for one transaction
TABLES: tstc, tadir, modsapt, modact,
trdir, tfdir, enlfdir, tstct.
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : hotspot(30).
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
AT LINE-SELECTION.
GET CURSOR FIELD hotspot.
CHECK hotspot(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
START-OF-SELECTION.
PERFORM get_data.
PERFORM write_list.
FORM get_data *
FORM get_data.
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
CHECK sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
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.
ENDIF.
ENDIF.
SELECT * FROM tadir INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = tadir-devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
ENDFORM. "get_data
FORM write_list *
FORM write_list.
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.
Reward points if this helps.
Manish -
Open and close posting period authorization control TCODE: S_ALR_87003642
HI All,
Is there any chance to control the user to open and close another company code posting period variant in TCODE: S_ALR_87003642.
In our system we are using the same client for different countries. So user can able to change the other country company code posting periods.
We would like to control either on the country (or) organizational unit(company code) (or) posting period variant so that user can only open/close their country / company code posting periods.
Our present authorization role for open and close posting period contain the auth.Obj. : S_TABU_DIS.
Please share your knowledge if you come across this problem..
Thanks in advance..Hey Sandhya,
Congratz, this can be done using linbe item authorization with the object S_TABU_LIN.
Field ORG_CRIT - Value 02
Field ORG_FIeld1 - Value ZT001B
We have successfully done it in our client.
You need to contact your BASIS consultant for this.
Thanks,
Nitish -
Closing Stock on Particular Date(MB5B Tcode)
Hi Experts,
I need closing stock as on some particular date. For e.g. closing stock as on 28.02.2014.
In my requirement i have to use that closing stock value for further calculations in a new customized report.I can see closing stock value by using MB5B tcode.
Please suggest some way to get closing stock as on some date so that i can use that in my Report.
Can i directly call MB5B transaction in my Report and get closing stock value?
Thanks & Regards,
PankajHello Pankaj,
In your Customised Report use MKPF and MSEG table
MKPF -----> Material and date range as the input
Then Pass Material document number from MKPF to MSEG table
MSEG -----> based on material document number from mkpf
Create Temporary variable
values comes from the mseg where have credit and debit entries
if debit entry "S" then subtract the values of the Mseg table from the temporary variable1
if credit entry "H" then Add the values of the mseg table to the temporary variable2
finally Add the temporary variable1 and temporary variable 2 and get the total stock. -
Error while creating stock using tcode: MB1C
Error while creating stock using tcode: MB1C
The Error is: Check table T004F:entry G006 does not existHi ,
Please check the FSV (field status variant) for your company code in OBY6 .
then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
if not please maintain it.
Thanks & Regards
Anshu -
Error while creating interest rate instrument-Tcode-FTR_CREATE.
Error while creating interest rate instrument-Tcode-FTR_CREATE.
Thanks
VikasHi Tushar
Please maintain the detail in TPM 32
Product category
Product type
General valuation class
Account assignment reference
Regards -
Error while running the tcode....EASISI ----- IS-UTILITIES
hi,
I am trying to execute the tcode EASISI with a varient.....
All the proper values are given to....... Simulation From,Simulate To,Document Date,Posting Date,Installation,Invoicing simulation,Simulate invoic. for ind. doc., and Billing simulation.
When I run with these parameters assigned,the Simulation is getting terminated with the message
"Field Base Unit of Measure must be blank (Account 0000800500 MYUC)' and "Invoicing of invoicing unit (account 4) terminated'.
I checked the UOM in the account specified and it was blank there.
Can anyone guide me....what exactly the problem is and how to solve it...
Thanks a lot for your valuable time.....
SRIHi Sri,
I also got the same error .We have resolved it thru Changing the include ZXBI1U08 . The code select * into table idberchz_1 should be replaced with select * into CORRESPONDING FIELDS OF table idberchz_1.
Hope this will Help you.
Thanks & Regards,
Radharaman Haldar -
Error in creation of stock thro Tcode MB1C
Hi,
while creation of stock thro Tcode MB1C i got the error posting period mentioned as 12/2002 to 11/2002.
I tried using Tcode OMSY to update my company's period and year as current year but it is grayad out.
Please advise
Regards
RamyaHi,
OMSY setting is used only for once & for all to fix up the Initial Period and Year for a company code for material management. After setting in OMSY, nobody should touch this setting.
Now 1st check in MM side in MMRV t.code which period open for your company code & back posting allowed or not. If period 11 & 12 not open, you can open in t.code MMPV
And also check in FI Side in t.code OB52 which period is open for in all Account Types A, K, D,M, S and specially Account Type u201C+u201D which stands for valid for all accounts types . If periods 11 & 12 not open, you can open for all account types.
Note:
Check your fiscal year variant for your company code in OBY6 t.code. If it is K4 , then open periods {Period start from January(01) & end in December(12)}. If it is V3 , then your periods {Period start from April(01) & end in March (12)}
Regards,
Biju K -
Error While selecting Layout option in tcode SFP
Hi
I am getting the below error when i select the layout option in tcode SFP.
Could not start Layout Designer (see long text)
Message no. FPUIFB086
Diagnosis
The forms design tool for developing the form layout could not be started; either it is not installed or there are errors in the installation.
Procedure
Make sure that you have the forms design tool installed on your desktop (the tool is part of the SAPGUI installation).
Also read SAP Note 801524.
How to resolve this error?
Regards,
Abdul HakimHi Hakim,
See the sap note below:
Symptom
Presentation CD 1 "SAP GUI for Windows 6.40" Compilation 3 references this note for additional components.
For information about where to find the successive version of the installation component
"Forms Design Tool" - "Adobe Forms Designer"
refer to Note 962763.
Reason and Prerequisites
This note describes two possible installation procedures:
Direct installation on the workstation
Update installation server (for administrators)
Solution
Direct installation on the workstation
Product: "SAP Interactive Forms" - "Adobe LiveCycle Designer"
Start "ALDsetup. exe" directly on your workstation. If you had already installed an older version of "Adobe Designer 6.0" using "SAP GUI" or "SAP NetWeaver Development Studio", you first need to delete the older "Forms Design Tool" version in the corresponding installation.
Update installation server:
If you have integrated an SAP GUI installation server with
6.40 Compilation 3
6.40 Compilation 2
6.20 Compilation 6
you can add the following product:
Product: "SAP Interactive Forms" - "Adobe LiveCycle Designer":
To do this, start the program
"..\setup\ALDtoGUIServer.exe"
and specify the network path for an existing SAP GUI installation server. After this procedure, you can see the new "Interactive Forms" component in the component selection dialog box of the SAP GUI installation when you attach a new installation package with SAPAdmin. The installation on the workstation is then started as usual using "setup.exe" or "netsetup.exe".
Caution:
Some files on your existing installation server may still be write-protected (read-only).
Make sure that all files in the two directories
"...\Adobe\"
"...\Common Files\"
are not write-protected.
To do this, open a DOS box (input request) and switch to the directory of the installation server and set
attrib -r /s "Common Files\*.*"
attrib -r /s "Adobe\*.*"
before you start "..\setup\ALDtoGUIServer.exe".
Otherwise, you may receive the following error message:
"... .cab cannot be extracted. It may be corrupt."
Regards,
Md Ziauddin -
How to restrict the order reason in Tcode Va01 while creating sales order
Hi Gurus,
My requirement is
while creating sales order in VA01
if order type is Zvol
than the list of order reasons has to be restricted.
Now 15 are coming from OVAU tcode
I need only 5 from these.
Thanks & Reagrds
kals.Hi,
By doing the user exit in IW32 we achieved the requirement of restriction of maintenance order TECO functionality if any Service Entry sheet pending with reference of maintneance order.
regards
JKM -
What is the Tcodes for Uploading of data using BDC & CATT
PP members:
I was going through the <b>cutover activities</b> , and what I understood is we transfer all the legacy system data into SAP before going live
The data upload follows certain steps (depends on the organizational design load strategies)
First we upload all the master data ( material master, BOM, W/C's & Routings)
Then the transaction data ( Ideally speaking, there should no open orders i.e. WIP as on the day of cutoff )
If the WIP (Work in Process) is unavoidable then the materials consumed shall be treated as <b>materials of the previous stage</b> and necessary adjustments shall be made after cutover day
At this point, I could not able to understand what does the author mean <b>materials of the previous stage</b>
Now comming to the uploading of data into SAP from legacy system, we use tools like LSMW, CATT & BDC
Is it a must to use <b>only LSMW tool</b> to upload master data or any other upload tools are fine
Lastly,. I am not sure about the Tcode of CATT & BDC
Summary of the questions:
1.What does the author mean <b>material of previous stage</b>, for WIP materials during cutover activities
2. Is it mandatory to use only LSMW tool for uploading for master data
3. What are the Tcodes for upload tools CATT & BDC ?
Thanks for your time
Suren RDear,
1.What does the author mean material of previous stage, for WIP materials during cutover activities - as i understood, what is the stage of material..like it must have gone through 2 work centers and other 2 is left. i.e. you need to create Production order with only 2 operation as other 2 is already over. - usually it is done in such a way that we will create Production order and confirm till 2 operations and WIp is calculated so thatb FI will tally the books in SAP and lagacy.
2. Is it mandatory to use only LSMW tool for uploading for master data - no you can use any tool as required and suits yr requirement
3. What are the Tcodes for upload tools CATT & BDC- BDC through a prog in SE38. CATT through - SCEM. -
Run time error while saving values in File (Tcode)
Hi,
I am using FM call function 'FILE_GET_NAME'
exporting
logical_filename = logical_filename
parameter_1 = program_name
parameter_2 = file_id_param
importing
file_name = physical_filename
exceptions
file_not_found = 1
others = 2.
for this I am trying to maintain dynamic values(field symbols) in Tcode FILE Logical file name definition , physical path as.
Physical file =<PARAM_1>.<PARAM_2>
But while saving it dumps, saying filed symbol assinment to substring is not allowed.
Physical path for the same is /<V=Z_DIR_MAIN>/<SYSID>/<V=Z_DIR_OUT>/<FILENAME>.<CLIENT>.<DATE><TIME>.
Regards
Mohinder Singh ChauhanHello Mohinder,
the better way to analyse these kind of things is by entering the function module in se37 and providing the required test data.
In your scenarion as you say its throwing a runtime dump related to field symbols better you concatenate the data param1 and param2 into a new variable and then pass that value into the function module.
Thanks,
M.Naveen kumar -
Hi Friends,
Please help me in finding the change logs for the TCODE FILE,
i.e The changes made to the Logical paths
I had tried Utilities---->change logs , but unfortunately i cannot find any changes logs
But there are changes made to the logical paths in my system but i cannot see them in change logs
thanks
chandrasekhar jrec/client is a profile parameter, you can view the settings in transaction RZ10. However I find program RSPARAM more useful, the report lists all system parameters with their default and altered value. Also if you double-click on a parameter you can get to the full help text for its meaning.
The parameter essentially switches on table change logging for configuration tables (based on the technical settings of the table) and has to be set before the changes are made.
Hope this helps.
Nick -
what is the use of tcode file????
what is platform independent file name????Platform Independent File path: The actual (Physical) file name/path is always dependent on hardware and OS of the system. Now In this transaction define a Logical name of a file and map it to your specific system specific actual path.
Now in your coding you can use the logical name. When you use the same come in a different system you need not change the logical name to everywhere you have coded. The Logical name will be same, only in FILE transaction you will change the mapping of Logical File name to actual file path.
Check the following Link :
http://help.sap.com/saphelp_erp2005/helpdata/EN/8d/3e4edc462a11d189000000e8323d3a/frameset.htm
Example:
Suppose in your application server you created a file and give a logical name as AIRS_PATH. But when you want to access the file you need to know the actual physical path to it. That path may be c:\temp\<FILENAME>. Now in FILE transaction you mapped AIRS_PATH to c:\temp\<FILENAME>.
So whenever you try to access AIRS_PATH, the system know that you want to access the c:\temp\<FILENAME>.
Now may be you want to run your code in a different system and different hardwre. And the file is stored there in c:\temp\temp1\<FILENAME> path. So then in that system you need to map AIRS_PATH with c:\temp\temp1\<FILENAME.
Now while coding you are not actually familiar or bother the actual file path. You will do your coding based on AIRS_PATH. And that is same in all the system only the mapping need to change. Thus you can achieve the system independence. -
Tcode:File ,Tcode:sf01 understanding
pls help me in understanding these tcode
to create logical path,pls provide me the step by
step to create a logical pathHi,
Pls check threads like
Application Server -File Upload
How to create logical file name
Eddy
Maybe you are looking for
-
How do i make a tab active and make it stay that way always. If i put a website in my home page in order for the tabs to open automatically in that same homepage , this setting is not working, every time I open a tab , the window appears white .
-
Error (15) in a document, readable by other pdf viewers
Hi all, I am using pdfedit, an open source tool, on ubuntu x86-64, to insert pages from several pdf files into a master pdf file. Now, in the resultant master pdf file - most of the pages are inserted correctly, and the document, approx. 190 pages, i
-
HP officejet 6600 connected to wifi but no ping
Hi we have an officejet 6600 printer installed with the latest firmware. Since last weekend we cannot ping the printer any more. Not from mac (without firewall software) nor from pc. The printer is connected to the wireless network. Het gets an IP ad
-
I am unable to see a song from iTunes music that was downloaded from the iTunes store
I downloaded a tune from the Itunes store and when I try to add it to a project in iMovie, it does not show in the Music list. Is there way way it can be shown to use it in an iMovie project?
-
Transferring songs to ipod touch issue... help!
I have a G4 with Leopard - just got the touch - and 80% of the time, when transferring songs over from itunes, it says "incomplete - ipod is not connected" - but it is. Drives me nuts! To get it working, i usually have to reset my mac - then i'll get