ABAP HR- table for factory calender id at employee level..
Hi,
i have a requirement in which i need to retrieve Factory calender ID against holiday calender ID at employee level.
I am able to retrieve Holiday calender ID for an employee.
Now i need a table to where i can get factory calender for an employee against holiday calender Id.
Appreciate your help!
Regards
Aleria
Hi Aleria
Pass the holiday calendar retrieved to the table TFACD to get the Factory Calendar.
Regards
Bala
Similar Messages
-
Hi Gurus,
Can someone pls tell me table for Planning Calender.
RegardsHI
Check Table T439G PPplanning periods: header table.
Regards
Anupam Sharma -
Menu path for factory calender. SCAL tcode
Dear all,
Please let me know the menu path for factory calender. SCAL tcodeMadhava
I cannot comment on Raghavendra's company's business policies.
User menus are user specific. SAP menu is generic (by default).
My personal opinion is that everyone should have full access to every branch of the standard SAP Easy Access menu. If you wish to prevent users from accessing certain transactions, it should be handled through standard auth objects, and not by 'hiding' branches of the SAP menu.
In most production systems, config change is locked down. Therefore, regardless of authorization, SCAL is only effective to VIEW calendars, and not CHANGE them in production. Pretty harmless, as far as I am concerned.
If your company wishes to add SCAL to a particular menu path, this can be done. In my company, this type of change is handled by developers.
Rgds,
DB49 -
Hello
I am looking for the schema of the connections / relationships between the calendar tables:
TFACD Factory calendar definition
TFACS Factory calendar (display)
TFACT Factory calendar texts
TFAIN Calendar: Intervals for company holidays, special shifts
TFAIT Calendar: Text for factory calendar intervals
THOC Public Holiday Calendar
THOCD Public holiday definitions
THOL Public Holidays
THOLT Public holiday text
and more, if more exist....
Do you have any documentation, how these tables relates each other? WHat actually they contain?
Thanks in advance,
KooyotHello Kooyot,
in ta. SE11 there is a button "Graphic" (or use key combination Ctrl.ShiftF11), where you can display all relevant table relationships. You can do this in this dialog by clicking on the buttons "Ing.", "Outg.", "Check Tables" and "Foreign key tables", probably you have to change the focus in the "Display Area" to reach all dependent relationships, which you can see in detail by clicking on the edges between the tables.
Hope this helps,
regards Martin -
ABAP Query - Table for Batch, Char values & desc.
Hi Gurus,
Looking for a Table join for requirement to fetch Characteristic description, char values & Batch no in ABAP query.
Thanks.dear,
it depends on which table you selected first (Table join using basis table) and how do you insert next tables.
i am talking about the info-set creation step.
let's do a simple query.
run SQ02. type new infoset name and hit Create.
type name and type MARA for "Table join using basis table" radio button. Hit Continue.
now insert (add) tables: MARC, MCHA, CABN, CAWN
think about Inner Join or Left Outer Join !!'
say, if you need to display all materials (even if not exist on plant) set Left Outer Join. if you're after materials existing on plant keep default Inner Join.
friend, my example above is only the example.
make sure you undertsand how to build a sap query in general.
never set many tables at once. insert 2-3 tables, return to your query (SQ01) or create it, adjust it and test. step by step - table by table. add the new table in infoset, add the fields, generate it and come back to your query. adjust it and test.
good luck! -
Table for text at header and item level.
Hi gurus,
I have typed some text at the item level (Texts TAB for the item). In which table can i find this data. The table STXL does not contain the data thats been entered. Please help me with some information.
Regards,
Udaynath.Uday,
UsE Function Module READ_TEXT or try with Table STXH..
Reward IF THIS HELPS..
Regds
MM -
Table for Cost of materials/services at level of Operation
Hello All,
I am trying to develop a custom report where I need to report the cost of material/services at Order operation level.
I got the table AUFM which shows the issue of material against order.However where do I see the same against an Order and operation. How do i build that logic. I am trying to do the same for services.
Please let me know the relevant tablles and logic to build the report.
Thanks
SarangHi,
Total Actual Material Cost - Sum up the total cost ENWRT against the AUFNR in the table RESB and display in the report
Total Actual External Service Cost - Provide the field AUFNR in the table EKKN and get the Purchasing document field EBELN & apply this field data in table EKPO get field NETPR and display in the out put
For link between operation & order - Selection criterion is the order number (Field AUFNR table AUFK). The content of field AUFPL has to be used afterwards as selection criterion in the table AFVC. The selection field in this table is again AUFPL and display the field LTXA1
Regards,
Maheswaran. -
Business Critical- Table for Wokbook saved in Roles Node Level
Hi Gurus,
We have upgraded to Nw2004s from 3.0B. One of our Role which was having several nodes and many workbooks were saved on those nodes got corrupted. As a result we dont see the node structure for that Role. Users are going to face problems to find out these workbooks as the structure is missing.
Basically we could find out the Nodes descriptions from AGR_HIERT and could find query list(RSRWBINDEX) and user names and the role name from the tables AGR_HIER and AGR_USER.
Now we have to find out which are the workbooks saved in which Node Level for this particular Role.
Can anyone please tell us the table names or tables which is linked internally and we could identify from the link that which workbook is saved in which Node Level.
This is Business Critical issue.
Thanks in advance.
regards,
AkashHi Rohit,
Thanks for your reply!
The report requirement and design idea was to initially display L04 and L05 of the PC-hierarchy as this level gives a good overview of the overall costs.
We have also discussed more detailed reports where L06 and L07 are used.
The roles will be defined on the profit center hierarhcy. As of now some users should have full access, some users should have access based on node level L05 and some users based on L07. I dont have the full list of users though.
Obviously, based on your input (that the values never remain constant) I have to give the design a bit more thought as I think it will be confusing when the node levels are shifted depending on access.
But to simplify, if the access only is based on two scenarios:
1) root node (full access L00)
2) nodes on level 4 of the hierarhcy (L04)
and the report should look like
L04, L05, Amount
How can I use variables to avoid the shifting?
/Daniel -
XML Processing (XML file data to ABAP internal table).
Hi,
I have a an XML file and i need to send the data to internal table. I suppose i have written the program correctly.
But the transformation program may not be correct.
So can one please tell me the transformation program c o d e or guide me to write the transformation code. Below are details of XML file and my program.
XML File
<?xml version="1.0" encoding="UTF-8" ?>
- <aeRequestOutputType>
+ <trackingInfo>
+ <JMSHeaders>
- <ns:__caret_reply_caret_ZBAPI xmlns:ae="http://www.tibco.com/" xsi:type="ns:__caret_reply_caret_ZBAPI_">
+ <RETURN>
- <T__TRADE__DATA>
- <item>
<BUKRS>1111</BUKRS>
<HKONT>22222</HKONT>
</item>
- <item>
<BUKRS>3333</BUKRS>
<HKONT>44444</HKONT>
</item>
</T__TRADE__DATA>
</ns:__caret_reply_caret_ZBAPI__TRADE__ACC__DOC__POST_caret_ZBAPI__TRADE__ACC__DOC__POST>
</aeRequestOutputType>
My Program
REPORT ZTEST13.
DATA : BEGIN OF itab OCCURS 0,
f(255) TYPE c,
END OF itab.
DATA : t001 TYPE TABLE OF ZTEST_ST_UB. "(structure has few variables like hkont,bukrs)
DATA: xmlupl TYPE string .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'c:\sap_output_xml.txt'
FILETYPE = 'ASC'
tables
data_tab = itab .
LOOP AT itab.
CONCATENATE xmlupl itab-f INTO xmlupl.
ENDLOOP.
CALL TRANSFORMATION ZTEST_ST_UB2
SOURCE XML xmlupl
RESULT root = t001.Hi,
use class cl_xml_document and method import_from_file inorder to read the xml file to internal table.
go trough this [LINK|http://wiki.sdn.sap.com/wiki/display/ABAP/UploadXMLfiletointernal+table] for detial code.
Regards,
Shanmugavel chandrasekaran -
Anyabap program coding or logic for public calender changes for every year
Hi currently i am developing abap extract program for public calender changes - can anybody help me in coding or the logic or any function module for that
In SAP (SPRO) we have standard configuration to create/ change public holiday calander, usually this config done by Time management cosultants/PS/MM/SD functional consultants.
Thanks
Sparta -
Hi,
When creating the sales order the system shows the messege" Date 05.02.2009 occurs after the end of factory calendar IN from plant X".
So when i tried to change the validity period for factory calender IN to 2009, then the system again showing the messege "Please enter validity area between years 2007 - 2007"-The validity period specified for the factory calendar exceeds that of the selected public holiday calendar.
So how can i change the Year in Factory Calender.
Regards
JYOTIHi,
under SAP Netweaver - General Setting - Maintain Calendar check which holday calendar is assigned to your factory calendar IN. In the secons step change the validity for your holiday calendar. -
Tables for plant , factory calender & calender validity period
In which tables we find the data of plant , facory calender & calender validity period.If anybody knows please tell.
I want the combination of plant , factory calender & validity period tables to extract the data.In TFACD table we don't get plant & validity details to know exactly what was done during configuration.
-
Transport for SCAL 'factory calender' or administer SCAL in prod system?
Hi togehther,
we could change the factory calender in the development system and afterwords transport this changes by using a transport request and STMS.
But our Consultants recommend not to transport these changes. They recommend to open the prod System with SCC4 to open status (Changes are allowed) and then make the changes in the prod system.
I think, this is the wrong way. How do you solve this probem?
Carsten Schulz
Teamlead SAP-BasisHi ,
You are consultants are right because SAP clear tells that "You cannot transport individual public holidays or calendars. You can only transport calendar data in its entirety. When you do this, all public holidays, public holiday and factory calendars existing in the target system are deleted".
As from your mail i understood that in development system,all users have access to to SCAL transaction,if some users have craeted or changed the factory calendar changes.all this changes get in to trnsport request which in turn affect the calendars in production system.
Thats Y in some industries,Consultants will do the changes through fire fighter ID directly in production or in some industries for development system SCAL authorization will not be given to all.so that as Juregn pointed development and production system will be in SYnc and you can do transport.
In this situation you can try one more option,after generating the transport request go to SE01 ,go to change mode and edit the request (double click on the request).
then go to obects tab you will see lot of tables related to factory calendar.check each tables in SE16 for the calendar you made the changes.if entries are there retain the table else delete the table.
If entries are there,then double click on the table,you will get the table key.in that put calendar id if there is only one entry,if more entries are ther e put calendar id suffix star.and save.
Check this solution first intest system and ensure whether it is trnsaporting only the particular changes -
Table for giving details of factory calendar
Hi all,
can I get all details of factory calender- holiday calendar, dates
regards,
sangramDear Sangram Patil,
Why do you need the factory calendar details at table level?Check these tables,
SCALT_TYPE Table of Valid Calendar Types
T246 Table documentation
T247 Month name and short text
TCALS Central entry for factory calendar
TFACD Factory calendar definition
TFACS Factory calendar (display)
TFACT Factory calendar texts
TFAIN Calendar: Intervals for company holidays,
TFAIT Calendar: Text for factory calendar interv
TFARSIMONTH Names of months of Farsi calendar
THOC Public Holiday Calendar
THOCD Public holiday definitions
THOCI Public holiday calendar index
THOCS Public holiday calendar (display)
THOCT Public holiday calendar texts
THOL Public Holidays
Regards
Mangalraj.S -
Abap tables for adapter engine errors
Hello,
Which ABAP tables in PI will have the data relating to adapter engine errors (like the communication channel errors). Is there any way I can get the adapter engine errors from abap tables?
Any help is very much appreciated.
Thanks
MLSHello,
What I am trying to do is write a report in ABAP, which will read the table for errors (for messages which are not processed successfully in Integration engine or adapter engine) and email those errors to users. If there is communication channel error in RWB, the message in sxmb_moni is still shown as success and is not being updated in table SXMSPERROR.
We cannot use PI Alerts here since the email list is dynamic for the same PI interface.
Any ideas on how to accomplish this?
Thanks
MLS
Maybe you are looking for
-
Can i delete my itunes account?
then if ever i want to make a new one, can i use the same apple id and start a fresh account?
-
Something stuck in chargeing hole on iphone 4...impossible to get out?
If the people at the genius bar arent able to get it it out what do you think they'll do because the phone is outta charge?
-
Oracle 11g R2 - 64 bit latest patch sets and patch list
Hi.. I have installed oracle 11g R2 64 bit on top of windows server 2008 R2 64 bit enterprise edition... I want to install patch on oracle 11g database, please let me which is latest patch level need to be install? Rgards ananda
-
I was trying to install Firefox 4 onto my mac os x but after I download it and click on the file to install it a window saying "The following disk images couldn't be opened. Image: Firefox 4.0.dmg Reason: not recognized". I have tried downloading it
-
SAP B1 Login took so long...
hi to all. just a newbie here. we're currently running SAP B1 at IBM x3400 in Windows Server 2003. We're using MSSQL 2005 Standard. we had a problem in login time in SAP B1. it took 2 minutes to successfully login in a certain database. Hope you hav