Trying to find Function modul for requirement capacity in work center
Hi Colleagues,
I have tried to find a function modul: Import - Work center , Export - requirement capacity.
but havn't succeed with.
I will be glad for any help.
tnx & best regards
I need a FM that export the requirement capacity of a Work center.
Report CM01 has the same functionallity, however, by debugging it I coudn't find any useful function, morever, I have found a thread in the forum with the same issue but it wasn't helpful.
an example for my needs is as followed:
Function: CAPACITY_REQUIREMENT_FOR_WORK_CENTER
IMPORT:
1. Work Center = MG1602
2. Plant = 1000
3.date from = 01.04.2011
4. date to = 01.05.2011
EXPORT:
1. Capacity Requirment (Total) = 240 [Hours]
2. Capacity Requirment (period) = 22 [hours]
Similar Messages
-
Want to find function module for MB31.
HY,
<b>I WANT TO KNOW THE FUNCTION MODULE FOR THE MB31</b>,
AND WHEN WE ENTER THE PRODUCTION ORDER NO IN THE 1ST SCREEN OF MB31,
IT GOES TO THE 2ND SCREEN
HERE WE HAVE TO PUT THE QUALITY,
<b> WAT I WANT IS THAT:-</b>
WHEN WE ENTER THE ORDER NO IN CO11 i.e. CREATE PRODUCTION ORDER CONFIRMATION,
IT ASK FOR THE QUALITIES TO CONFIRM.
AFTER THIS WHEN WE GO TO MB31 AND PUT IN THE ORDER NO
ON THE 2ND SCREEN IT ASKS FOR THE QUALITY,
NOW, I WANT THAT WHEN WE ENTER THE NO OF QUALITIES IN MB31 MORE THAN WE HAVE ENTERED IN CO11, IT SHOULD GIVE AN ERROR MESSAGE.
<b>POINTS CONFIRMED.</b>
THANKS IN ADVANCE,
KARTIKEY.Hi,
Please look at the following thread:
Re: user exit and customer exit
If you scroll down, there is a post by Aashish Anchlia which has a useful utility to find a user exit for an SAP transaction. That should help.
Sudha -
Function module for avialble capacity shiftwise
Hi,
I'm searching for a function module for a workcenter where it gives me available capacity in Hrs and shift wise for a given period and daywise. I have a tested a FM CR_CAPACITY_AVAILABLE_TIMES but its giving me with all the break times. is there any FM to get the reult like date shift avialble capacity.
Regards
RamanaAs there are No inputs for a long time I'm Closing this Thread.
Thanks
Ramana -
Finding function modules for a particular Bapi
Which function module is behind a particular BAPI? How to find the function modules.
HI,
Business Application Programming Interfaces (BAPIs) are the standard interfaces provide to enable access to SAP functions across formal, stable, and dialog-free interfaces. These interfaces can be used by external applications developed by customers and complementary software partners as well as by other SAP applications.
BAPIs can be used for these types of integration:
Connecting R/3 Systems to the Internet using the SAP Business Connector or Internet Application Components (IACs)
BAPIs also allow the creation of true component software, as they enable standardized communication between SAP components. The ultimate objective is to encapsulate the functionality of the SAP system in independent business components that are integrated through a common interface (the BAPIs).
The integration of new SAP components (such as Advanced Planner and Optimizer (APO) and Business Information Warehouse (BW)), non-SAP software, and legacy systems.
Implementation of distributed R/3 scenarios with asynchronous connections using Application Link Enabling (ALE).
Using PC programs as frontends to the R/3 System These can be developed with Visual Basic (Microsoft), for example, or with Visual Age for Java (IBM).
Lot of other information about BAPIs can be found in many help portals. This is just an introduction to the world of BAPis. Hope this helps.
Reward If helpfull,
Naresh. -
BAPI/Function Module for posting internal order + cost center plan
Hi Guru:
Is there any function module/BAPI, which could be used to post internal order + cost center( both of them )plan data?
Like post a record:
internal order = 10000
cost center = C1000
amount = 1000$
for plann version 30?
It seems the BAPI could only contain 1 cost object, either cost center or internal order.
Thanks.
EricHi again,
I think you may have missed something important here. In R/3 there can only be a single "real" cost object for any one posting. If not then the whole SAP financail model would collapse as there would be "double postings" and that is certainly not wanted.
If there is a need to post to two cost objects, like in your case, then one of the cost objects MUST be statistical.
In your scenario SAP has thought of a solution that might be of help for you. An internal order can be set to be statistical in master data. When posting to both the cost center and the internal order then you will get a real posting for the CC and a statisitical posting for the IO. Reporting does work with this as per your requirement.
Hope this gives you some hints for how to proceed.
Regards, Johan
Aaaaah. Noted that this was only plan data. Sorry. But the same still applies for plan data postings as well as for actual data postings. If there should be just one posting that could be "drilled down" from IO to CC -> If you post twice then, when doing "Grand total" for instance, double values would appear. So, still IO should be statistical. //Johan
Message was edited by: Johan von Reedtz -
Function module for getting teh last working day of a month.
Hi GURUS,
this is criteria,please help me
if V_T001B- FRYE1 < month entered in selection screen
Then throw the error message
Else
Find the previous period and its last working day from the function module
(i..e Assume entered date as June 2 2009 then
Period 6 -1 = 5.
Pass the month 05 to function module then
Find last working day.
Keep it in a variable (V_LAST_PRD_WRKDAY)
Proceed further.
thanks in advance,
RajeevHi Rajeev,
You can use Function Module LAST_DAY_IN_PERIOD_GET.
Ex:
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = p_gjahr
i_periv = lwa_t009b-periv
i_poper = lwa_t009b-poper
IMPORTING
e_date = s_audat-high.
Regards,
Ravi K -
Function module to calculate capacity requirements of production order
HI
Hav a requirement to calculate capacity requirement for production orders like we see in cm50... does anyone know a function module to calculate capacity requirement?Hi All,
Just to reopen this issue, even I am looking for a similar functionality.
To reinstate the requirement:
I want to find shifts and corresponding capacities for a work center. These details are obtained from CR03 and CR13 transaction.
If possible do let me know Function module or tables for the same.
Debs -
How to find standard function modules for IDOCs
Hi,
Can anyone tell me is there any way to find the standard function module for IDOC. I have checked BD60 but it's not available. For example Idoc type WPUBON01 and I need to know the function module. Can anyone tell me the way out.
Secondly, if anyone can provide me the code to map the file fields and idoc segements.
RegardsUse WE82 to find message type associated with Idoc type.
Then use this message type as a search string to find the FM.
The associated FMs are.
POSED_FILL_OVERVIEW_ENT_WPUBON
POSED_INIT_DATA_WPUBON
POSED_LOCK_DATA_WPUBON
POSED_OVERVIEW_ASSIGN_WPUBON
POSED_READ_DATA_FROM_DB_WPUBON
POSED_READ_TR_DATA_WPUBON
POSED_SAVE_DATA_WPUBON
POSED_SEARCH_STRING_WPUBON
POSED_STORE_DATA_WPUBON
POSED_UNLOCK_DATA_WPUBON
POSED_UPDATE_DATA_WPUBON
POSED_UPDATE_TR_DATA_WPUBON
Thanks,
Utsah Garg. -
Is their any function module for deleting condition record i am trying
Hi Experts,
Is their any function module for deleting condition record i am trying this way.......
DATA: TABLE (4) TYPE C.
DATA: KNUM LIKE KONH-KNUMH
DATA: K_VEWE LIKE T681-KVEWE VALUE 'A'.
DATA: T681_STR LIKE T681.
DATA: LV_NUM TYPE I.
GET PARAMETERS
PARAMETERS: TABNO LIKE T681-KOTABNR.
PARAMETERS: TESTMODE DEFAULT 'X' AS CHECKBOX.
REFRESH INT_KNUMH.
Select single * from T681 into T681_STR
where kvewe = K_VEWE AND
KOTABNR = TABNO.
IF SY-SUBRC NE 0.
WRITE: / 'No entry in T681 for number ', TABNO.
WRITE: / 'Check whether corresponding condition table exists.'.
EXIT.
ENDIF.
TABLE = T681_STR-KOTAB.
SELECT KNUMH FROM (TABLE) INTO KNUM.
SELECT SINGLE * FROM KONH WHERE KNUMH = KNUM.
IF SY-SUBRC NE 0.
INT_KNUMH-KNUMH = KNUM.
COLLECT INT_KNUMH.
ENDIF.
ENDSELECT.
DESCRIBE TABLE INT_KNUMH LINES LV_NUM.
IF LV_NUM EQ 0.
WRITE: / 'No inconsistent entries found.'.
WRITE: / 'Each record in the condition table has a corresponding.'.
WRITE: / 'entry in the KONH table.'.
EXIT.
ENDIF.
LOOP AT INT_KNUMH.
IF TESTMODE IS INITIAL.
DELETE FROM (TABLE) WHERE
KNUMH = INT_KNUMH-KNUMH.
IF SY-SUBRC = 0.
WRITE: / 'KNUMH =', INT_KNUMH-KNUMH(10), ' deleted from table ' ,TABLE.
ELSE.
WRITE: / 'DELETE: SY-SUBRC is', SY-SUBRC , ' FOR KNUMH = ' .
WRITE: INT_KNUMH-KNUMH(10).
ENDIF.
ELSE.
WRITE: / 'TESTRUN: KNUMH =', INT_KNUMH-KNUMH(10).
ENDIF.
ENDLOOP.
is their any Standerd Function module for comparing tables if the condition record not exist in it has to exit if it is their then compare those two tables if not exist in one table also that has to be delete the condition record
Please let me know .....Hi,
You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
Regards
Kiran Sure -
Function Module for RSAP001 requires Type Pool
Hi
I am not an ABAP Freak:
I want to set up a Function Module for RSAP0001.
Setting Import and / or Tables Parameters give an Activation error:
Type pool SBIWA has not been declared
Message no. FL031
Diagnosis:
You used a type from type pool & in the interface of a function module.
Procedure:
For the program to be syntactically correct, you must
declare the type pool in the global data declaration of the
function group using the 'TYPE-POOLS: &.' statement.
Where do I find the global data declaration of the
function group ?
Thank You
Best Wishes
MartinHi Martin,
When you click on the function group you will find many includes declared in it.
Some of them will be Include L<fgrp>UXX and there will be one include,
INCLUDE L<fgrp>TOP, this is the include in which you will have to make declarations, and here you will have to declare type pool.
Simply goto transaction SE38 and the the program name as L<functionfroupname>TOP and you can directly change this include.
Regards,
Durgesh. -
How to find the function module for standard tables.
Hi
Could any one please tell me how to find the standard function module to update the standard tables
Thanks & Regards
SowmyaHi sowmya,
To find the function modules for standard tables you go for a where used list of that particular table and check only function module interfaces checkbox...
and more over you can go for DB_UPDATE_TABLE will be the function module for updating database table..
Hope this information would help you
Regards
Narin Nandivada -
Any BAPI/Function Module for adding new record with dates in PA0027
Hi all,
I am tryig to find is there any BAPI/Function module for updating new record with Start Date and End date for specified Personal Number in PA0027 Table.
In PA0027 table i will be passing start date and end date for selected personal number, it needs to add new record with this details in the table checking the condition that this start date and end dates should not be between any of of start date and end dates for the specified personal number.
thanks for ur time.
MuraliHi Raj/Suresh thanks for ur answers.
but i am having a problem,i gave this values.
INFTY -
0027
NUMBER -
00000010
SUBTYPE -
010
OBJECTID
LOCKINDICATOR
VALIDITYEND -
03/12/2006
VALIDITYBEGIN -
03/01/2006
RECORDNUMBER -
000
RECORD -
P0027
OPERATION -
CHK
TCLAS -
A
DIALOG_MODE -
0
NOCOMMIT -
Y
VIEW_IDENTIFIER
SECONDARY_RECORD
i am getting short dump saying that
The source field is too short.
The current program, "SAPLHRMM", tried to assign a field to a field symbo
However, the field is shorter than the type of the field symbol, which
is not allowed.
The statement in question is in the form ASSIGN f TO <fs> CASTING or
ASSIGN f TO <fs> with a field symbol that was created using the
STRUCTURE addition.
I tried operation - Chage,Create (same thing for all inputs)
is this correct funtion moduel for my requirment?
what ever i am passing the start and end dates this should check in the table records with this personal number and if this start date and end dates are not between of any start and end dates then it should add new record with this dates.
Thanks for ur time.
Murali. -
Regarding BAPI/Function Module for updating fields FAKSK and LIFEX
Hi All,
I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).
We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.
To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.
If anyone have come accross such situation Please advice.
Thanks ina dvahi satya ranjan,
put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.
enter faksk and lifex and data field plus an active-flag for every data field.
e.g.:
ZZKZTRSPG ZZKZTRSPG CHAR 1 0
ZZTRSPG TRSPG CHAR 2 0
find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:
if vbkok_wa-ZZKZTRSPG <> space .
perform likp_bearbeiten_vorbereiten(sapfv50k).
if not vbkok_wa-ZZKZTRSPG eq space.
likp-trspg = vbkok_wa-zztrspg.
endif.
perform likp_bearbeiten(sapfv50k).
endif.
regards
marcus -
How to create the INBOUND Function Module for INBOUND IDOCs
Hi Friends,
Can any Suggest me How to proceed to Create an INBOUND Function Module for Processing the INBOUND IDOCS
which are recieved from XI Server ?
I am working in SAP-ISU
Here i will recieve the INBOUND IDOCs for the Meter Reading Orders.
We have a Standard INBOUND FUNCTION MODULE
IDOC_INPUT_ISU_MR_UPLOAD
which Uploads the Meter Reading Results.
I copied the Same function Module into ZIDOC_INPUT_
and working on it.
Can any one suggest me, whether i am going in correct way or not.
In IDOC_INPUT_ISU_MR_UPLOAD Inbound fun module,
BAPI_MTRREADDOC_UPLOAD is used to Update or Insert the Meter Reading Results,
My requirment is to Insert and Update the Meter Reading Orders which are Inbounded from XI.
Can I Use the Same BAPI
BAPI_MTRREADDOC_UPLOAD
to Update the below fields,
EABL-SERNR
EABL-ZWNUMMER
EABLG-ABLESGR
EABL-V_ZWSTAND
EABL-N_ZWSTAND
EABL-ABLHINW
EABL-ZSKIPC
EABL-ADAT
EABL-ATIMTATS
EABL-ADATTATS
EABL-ATIM
EABL-ZMESSAGE
EABL-ABLESER(Meter reader number)
Kindly Suggest me,
Thanks in Advance,
GaneshHello Ganesh
I think you are going completely astray with you z-function module for IDoc processing.
If you look at TABLES parameter METERREADINGRESULTS (type BAPIEABLU ) of BAPI_MTRREADDOC_UPLOAD you will find many of the requested fields already:
EABL-SERNR => BAPIEABLU-SERIALNO
EABL-ZWNUMMER =>REGISTER
EABLG-ABLESGR
EABL-V_ZWSTAND
EABL-N_ZWSTAND
EABL-ABLHINW
EABL-ZSKIPC
EABL-ADAT
EABL-ATIMTATS => ACTUALMRTIME
EABL-ADATTATS => ACTUALMRDATE
EABL-ATIM
EABL-ZMESSAGE
EABL-ABLESER(Meter reader number)
Field EABL-ZMESSAGE appears to be custom field (at least I cannot find it on ECC 6.0). If this field was added using include CI_EABL then you probably can get these values into the BAPI using the EXTENSIONIN parameter.
Check routine CHECK_UPLOADRECORDS in the BAPI which allows two extension structures:
- BAPI_TE_EABL
- BAPI_TE_EOSB
Not surprisingly BAPI_TE_EABL contains the include CI_EABL.
Regards
Uwe -
Function Module for Excise and VAT Calculation
Dear All,
I required one Function module for calculation of Excise % and amount of Invoice Verification Document.
We are use TAXINN tax procedure. I am try to make Purchases Register where we required the Break up of Full tax amount as basic excise duty, Education Cess, S&H Education Cess and VAT Amount.
Thanks
MukeshHi,
Locks are usually appliend on Tables. So you could find the table names affecting.
Then you could goto SE11 and n Lock objects search for table name
Once you identify the lock object. Display. Goto->Lock Modules.
You will get 2 module names one for enqueue and 1 for dequeue.
e.g. Lock object EBKK_ACCNT.
and FMs are DEQUEUE_EBKK_ACCNT and ENQUEUE_EBKK_ACCNT
Hope this helps.
Regards
Megha
Maybe you are looking for
-
How can I make a custom one-line-per-test rpt using TestStand?
I have written a 1-line-per-test report in another LabView application. How can I do the same within TestStand 4.0? I would like to display the usual information: Description, Measurement Reading & Units, Pass/Fail, Lower Limit, and Upper Limit al
-
What's best to do when Video Editing?
I'm pretty new to this. I love the challenge. I'm curious though. When you begin your editing process which program is best to use first? Adobe Premier Pro, SpeedGrade or After Effects?
-
Regarding displaying html page in a JEditorPane
i want to display a html page in a JEditorPane but the problem is it is displying the page but the script part of html page is printed as it is in the pane . please tell the solution for it . i will be highly thankful to u.
-
Hi, We have some custom RFCs which use BAPI(no implicit commits) calls and some standard function modules(they have implicit commits). We do not want to have COMMIT in the ZRFC codes. So will XI be able to handle the COMMIT/ROLLBACK based on the RETU
-
Hi there... I've been using Adobe Muse for quite a while and I am thinking of signing up to the Business Catalyst for more functionality with my sites e.g. contact forms, ecommerce and cms functionality. My problem is, upon looking at what BC offers