BAPI or program to schedule project
Hi,
Any BAPI or function modue or program to schedule whole project?
I have tried to run BDC of CJ20n but it is not working properly in production environment.
Thanks,
Harsh
Hi,
BAPI_PROJECT_MAINTAIN schedules the network but in our scenario we need to schedule whole project which has very complex relationships with other projects as well. BAPI_PROJECT_MAINTAIN is not working in our scenario.
We are using BDC to schedule.
Thanks,
Harsh.
Similar Messages
-
Dynamic table generation for Employee Schedule Project
Hi,
I am new to Jave programming and attempting to teach myself Java using the Sun tutorials & these forums. As a first step of learning, I want to do a Automated Employee Schedule Project in Java. (JSP)
There are two main parts of the project. The first part will be a table with the employees listed down the left, the days of the week across the top, and with each cell being that employee's shift for the day. There are four different types of shift in a day ( M- Morning, R- Regular, A- Afternoon and N- Night).
The second part will allows the user to enter in a new employee or display/edit an existing employee's information, including a list of scheduling constraints, like can?t work in Morning shift / Night shift. Apart from that number of employee in a shift may vary based on situation.
Could you please help me to understand the flow for creating this Automated Employee Schedule project?
Thanks in advance.
AmitavaI need the logic as to how to generate the shift plan. Could you tell me how to get about creating this dynamic table and any idea what i should take as baseline? I was thinking to read the employees from the database and take them as input for the first column. and the number of days as the column list. Can you tell me if this is the correct approach?
-
Landed Cost manager Program is scheduled to run everyday but it did not run
Hi All,
Landed Cost manager Program is scheduled to run everyday but it did not run for 2 days and there was no error; it did not start even though it is a scheduled prog to run every 30 mins.
Please let me know if anyone has experienced similar cases before; also let me know if you have any clue for above? I am also researching on if there is any way to send notifications when a scheduled prog did not run even.
Any suggestions are welcome and also would like to get your thoughts on notification part if this is possible to track.
Thanks
De1006390 wrote:
Hi All,
Landed Cost manager Program is scheduled to run everyday but it did not run for 2 days and there was no error; it did not start even though it is a scheduled prog to run every 30 mins.
Please let me know if anyone has experienced similar cases before; also let me know if you have any clue for above? I am also researching on if there is any way to send notifications when a scheduled prog did not run even.What if you submit the request manually, does it work?
Assuming no error can be found in the DB/CM log files, have you verified the scheduled settings for this program? Try to schedule it again and see if this helps.
Any suggestions are welcome and also would like to get your thoughts on notification part if this is possible to track.
http://docs.oracle.com/cd/E18727_01/doc.121/e12951/toc.htm
https://forums.oracle.com/forums/search.jspa?threadID=&q=Notify+AND+Concurrent&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001 -
How do I go about making two program in one project.
i.e. I have the main program that can run on it's own as well as a
completely seperate program but still both under the same project.
I would like to have seperate program menu entries as well. Right now
it looks like the second program was incorporated into the main program
but since the main program never calls it, I can't run it.
I have Labview 8.0.1 Developers suite
RonRhayes,
I'm not quite sure what your question is. I'm guessing that you want to build two different executables from the same project and specify different startup vis. All you're going to need to do is build two different executables under the build specifications and specify different startup vis. And they you can build two different Installers which should put two menu items in your start bar. Let us know how it goes?
Chris C
Chris Cilino
National Instruments
LabVIEW Product Marketing Manager
Certified LabVIEW Architect -
BAPI for Creation of the Project in ECC using Standard Templates
Hi,
I want BAPI for Creation of the Project in ECC using project id and project standard template ID
and BAPI for Updating of project and WBS element using project id and WBS element IDOne idea is to write a wrapper FM that is remote enabled and internally call BBP_PD_CTR_CREATE for your own use.
-
Any standard BAPI available to get the project manager name or id
Hi all,
Any standard BAPI available to get the project manager name or id for the particular employee working on that project.
Regards,
SurjithI dont know abt any BAPI but this FM do the same so can be copy to RFC enabled and use the same.
HRCM_GET_ORGUNITS_FOR_MANAGER
Regards,
Amit
Reward all helpful replies. -
Debug a NetWeaver Java Scheduler Project
Hi All,
I have deployed a NetWeaver Java Scheduler Project. It is a EJB 3.0 Project that can be schedueld in the NetWeaver Java Scheduler.
Now I would like to debug the Source Code.
If I start the server in debug mode, I can't access the NWA anymore to start the job in the Java Scheduler plus I can't deploy anymore (server says: can't deploy because server is running in debug mode). In normal mode, the server (obviously) does not stop at my break points...
How can I do that?
THANKS, JohannesHi Johannes
I you are tyring to debuge the source code which is already deployed on the server. I think you can check the conding as what you are expecting whick running the applcaition. If you trying to access the NWA in the Debuge mode, its not opening properly then you can access in the Server Visual Administration.
Hope it helps
Regards
Arun -
BAPI/FM PS SCHEDULE PROJECT??
Hi, I'm not an expert in PS module, but I have worked with BAPI_NETWORK_MAINTAIN. In this BAPI i can schedule a network. But my question is:
How can I schedule a project??
Do you know any BAPI or FM??
Thank you!!!Welcome to SCN.
Have you checked bapi BAPI_PROJECTDEF_CREATE and its importing parameter PROJECT_DEFINITION_STRU and fields START & FINISH
a® -
BAPI/FM to change scheduling agreement's delivery status.
Hi All,
I have to check "Delivery completed" indicator of scheduling agreement.
I tried using BAPI_PO_CHANGE but it returns the message below:
"Not possible to process a scheduling agreement using this function"
Is there any other BAPI or FM to change the agreement.
I do not want to use batch-input. But if there is no other option I will.
Note: I am using system 4.6C
Thanks
Mandeephii
try using BAPI_AGREEMENT_MAINTAIN FM.
one another FM BAPI_SCHEDULE_MAINTAIN is used to create or change scheduling agreement delivery schedule lines.i hope any FM can help you.
regards
twinkal -
How to create a program to schedule a job
Hi Friends,
I want to create a report that will run another program(program2) in background. What I need to do is, when I enter the transaction code of this program(report), it will automatically run the program2 in background. I tried using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE. But when I checked in SM36, the job is just scheduled. I still need to release for the program to run.I should not be doing that anymore. The second program should automatically run when I enter the transaction code.
Please help.
Thanks,
zryxelHi,
Check this example..
DATA: p_jobcnt LIKE tbtcjob-jobcount,
l_release(1) TYPE c.
<b>* Open the job</b>
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'ZMY_OBJ'
IMPORTING
jobcount = p_jobcnt
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
<b>* Submit the job.</b>
SUBMIT ztest_program VIA JOB 'ZMY_OBJ' NUMBER p_jobcnt
TO SAP-SPOOL WITHOUT SPOOL DYNPRO
WITH destination = 'LOCL'
WITH immediately = space
WITH keep_in_spool = 'X' AND RETURN.
<b>* Close the job.</b>
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = p_jobcnt
jobname = 'ZMY_OBJ'
<b>strtimmed = 'X'</b>
prdmins = 15
IMPORTING
job_was_released = l_release.
Thanks,
Naren -
BAPI or FM for scheduling a planned order (like MD11 or MD12)
Hi guys.
We are working with a group of materials and planned orders, in order to modify and create new planned orders depending on the stock per each material. So we use MD12 to 1) modify the quantity in the order, and MD11 to create new planned orders for the rest of stock for this material.
For process of creation we don't have problems (BAPI_PLANNEDORDER_CREATE makes its work well ), but when we want to schedule the new planned order created before via FM or BAPI, we cannot see any results in MD12.
I mean, when a planned order is scheduled via menu button, a new tabstrip appears in the transaction with dates. So this similar action we've tried using CX_PLANNED_ORDER_SCHEDULE or CX_CRP_PLANNED_ORDER_SCHEDULE but there was no change. If we execute the Schedule button action, in table PLAF (master of planned orders) apears a new number in field PLAF-BEDID related to MRP.
So guys, could you please help us how to get this issue? As last option is BDC, but BDC's and me are not good friends because its performance. So please, any suggestions?
Thanks in advance!
Raul RomeroHi guys...
Sorry for the long time without an answer, which I'm sharing you now:
1. In order to perform the proccess of scheduling, you have to record the steps from menu bar in your batch input. I mean: (1) set values into fields CRHARBPL-LOW () and CRHWERKS-LOW
PERFORM set_batch USING: 'X' 'RCCRY000' '1000',
space 'BDC_CURSOR' 'CRHARBPL-LOW',
space 'BDC_OKCODE' '=PLNG',
space 'CRHARBPL-LOW' p_arbpl,
space 'CRHWERKS-LOW' 'PR01'.
(2) After you ordered your list of planned orders or production orders, loop your internal table and per each order record these commands (these simulates the popup option to select the order you want for scheduling and mark it in the dynpro you are processing):
LOOP AT gtd_tabofplan INTO gvc_tabofplan.
PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
space 'BDC_OKCODE' '=Z021'.
PERFORM completa_bi_campos USING: 'X' 'SAPLCY19' '0120',
space 'BDC_CURSOR' 'CYMARK-VALUE(02)',
space 'BDC_OKCODE' '=BACK',
space 'CYMARK-VALUE(02)' gvc_tabofplan,
space 'CYMARK-MARK(01)' space,
space 'CYMARK-MARK(02)' 'X'.
PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
space 'BDC_OKCODE' '=SL25'.
ENDLOOP.
(3) Set the SAVE operation.
PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
space 'BDC_OKCODE' '=SAVE'.
Hope you' ve succeeded in this task, let me know if you've another questions. -
BAPI for Maintenance Plan Scheduling with EHP5
Hello.
In documentation for LOG_EAM_CI_4 mentioned that: [API functions have been developed for the scheduling of maintenance plans. These APIs provide the same functions as transaction IP10: the creation of maintenance calls or the changing of existing maintenance calls|http://help.sap.com/erp2005_ehp_05/helpdata/EN/33/46AC67364447A3BA2F4EFA65B8C014/frameset.htm].
We have activated EHP5 and all LOG_EAM_CI* business functions in our system, but still can't find this "magic" BAPI.
Does anybody know its name?
BR,
Pavel
Edited by: Pavel Nedvijaev on Nov 7, 2011 5:37 PMMaheswaran.K thanks for your reply, but as i wrote above we have activated all LOG_EAM_CI* including LOG_EAM_CI_3.
Version of software components SAP_APPL, EA-APPL is 605 as it needed. -
BAPI Create delivery from scheduling agreement
Hello,
Does anyone have code to create a delivery referencing a scheduling agreement?
Thanks,
EvanI dont think there is a BAPI to create delivery from the schedule lines .
You can get the details of schedule lines from the VBEP table and use the FM BAPI_OUTB_DELIVERY_CREATE_SLS.
This becomes very cumbersome in case there are partial deliveries per schedule line. -
BAPI to change the Scheduling agreement Qty in ME38
Hello Sapiens,
Is there a way by which I could change my scheduling agreement qty to my GR qty in t.code me38 . So that i make my open qty 0.
this task has to be done to run the MRP.
Is it possible using BAPI.
ShanojBAPI for BAPI_SAG_CHANGE
-
BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables
Dear All,
I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
Can i Use
<b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
pls help me out
Message was edited by: Raja K.PHi raja ,
loop at iekko1.
w_index = sy-tabix.
item-po_item = itemx-po_item = iekko1-ebelp.
item-quantity = iekko1-mng01.
itemx-quantity = iekko1-mng01.
if iekko1-wamng = iekko1-wemng.
itemx-no_more_gr = item-no_more_gr = 'X'.
else.
itemx-no_more_gr = item-no_more_gr = ''.
endif.
append item.
append itemx.
clear return[].
call function 'BAPI_PO_CHANGE'
exporting
purchaseorder = iekko1-ebeln
tables
return = return
poitem = item
poitemx = itemx.
if return[] is initial.
commit work and wait.
call function 'DEQUEUE_ALL'.
search for deletion fields which u have to mark 'X'.
before calling this BAPi u have to lock the PO by using ENQUEUE.
<b>
FU BAPI_PO_CHANGE
Text
Change purchase order
Functionality
Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
Functionality in Detail
Authorization
When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
M_BEST_BSA (document type in PO)
M_BEST_EKG (purchasing group in PO)
M_BEST_EKO (purchasing organization in PO)
M_BEST_WRK (plant in PO)
Controlling adoption of field values via X bar
For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
Transfer
Purchase order number
The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
Header data
The header data of the Enjoy purchase order is transferred in table PoHeader.
Item data
The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
Use the table PoAccount to change the account assignment information.
Services and limits
Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
Conditions
Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
Vendor and delivery address
The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
Partner roles
You can change all partners except the partner role "vendor" via the table PoPartner.
Export/import data
Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
Texts
Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
Version Management
You can make use of the Version Management facility via the table AllVersions.
Return
If the PO was changed successfully, the header and item tables are populated with the information from the PO.
Return messages
Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
Restrictions
With this function module, it is not possible to:
Create subcontracting components (you can only use existing ones)
Create configurations (you can only use existing ones)
Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
Attach documents to the purchase order
Change foreign trade data
Change service data
Change or reexplode BOMs
A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
PO items with an invoicing plan cannot be created or changed using the BAPIs
In this connection, please refer to current information in Note 197958.
To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
Example
Example of changes made to a purchase order with:
1. Change in header data
2. Change in item
3. Change in delivery schedule
4. Change in account assignment
5. Change in conditions
6. Change in partners
Parameter: PURCHASEORDER 4500049596
Parameter: POHEADER
PMNTTRMS = 0002
PUR_GROUP = 002
Parameter: POHEADERX
PMNTTRMS = X
PUR_GROUP = X
Parameter: POITEM
PO_ITEM = 00001
CONF_CTRL = 0001
Parameter: POITEMX
PO_ITEM = 00001
PO_ITEMX = X
CONF_CTRL = X
Parameter: POSCHEDULE
PO_ITEM = 00001
SCHED_LINE = 0001
QUANTITY = 10.000
PO_ITEM = 00001
SCHED_LINE = 0003
DELETE_IND = X
Parameter: POSCHEDULEX
PO_ITEM = 00001
SCHED_LINE = 0001
PO_ITEMX = X
SCHED_LINEX = X
QUANTITY = X
PO_ITEM = 00001
SCHED_LINE = 0003
PO_ITEMX = X
SCHED_LINEX = X
DELETE_IND = X
Parameter: POACCOUNT
PO_ITEM = 00001
SERIAL_NO = 01
GL_ACCOUNT = 0000400020
Parameter: POACCOUNTX
PO_ITEM = 00001
SERIAL_NO = 01
PO_ITEMX = X
SERIAL_NOX = X
GL_ACCOUNT = X
Parameter: POCOND
ITM_NUMBER = 000001
COND_TYPE = RA02
COND_VALUE = 2.110000000
CURRENCY = %
CHANGE_ID = U
Parameter: POCONDX
ITM_NUMBER = 000001
COND_ST_NO = 001
ITM_NUMBERX = X
COND_ST_NOX = X
COND_TYPE = X
COND_VALUE = X
CURRENCY = X
CHANGE_ID = X
Parameter: POPARTNER
PARTNERDESC = GS
LANGU = EN
BUSPARTNO = 0000001000
Help in the Case of Problems
1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
Customer Enhancements
The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
EXIT_SAPL2012_001 (at start of BAPI)
EXIT_SAPL2012_003 (at end of BAPI)
The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
EXIT_SAPL2012_002 (at start of BAPI)
EXIT_SAPL2012_004 (at end of BAPI)
These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
Further Information
1. Note 197958 contains up-to-date information on the purchase order BAPIs.
2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
Parameters
PURCHASEORDER
POHEADER
POHEADERX
POADDRVENDOR
TESTRUN
MEMORY_UNCOMPLETE
MEMORY_COMPLETE
POEXPIMPHEADER
POEXPIMPHEADERX
VERSIONS
NO_MESSAGING
NO_MESSAGE_REQ
NO_AUTHORITY
NO_PRICE_FROM_PO
EXPHEADER
EXPPOEXPIMPHEADER
RETURN
POITEM
POITEMX
POADDRDELIVERY
POSCHEDULE
POSCHEDULEX
POACCOUNT
POACCOUNTPROFITSEGMENT
POACCOUNTX
POCONDHEADER
POCONDHEADERX
POCOND
POCONDX
POLIMITS
POCONTRACTLIMITS
POSERVICES
POSRVACCESSVALUES
POSERVICESTEXT
EXTENSIONIN
EXTENSIONOUT
POEXPIMPITEM
POEXPIMPITEMX
POTEXTHEADER
POTEXTITEM
ALLVERSIONS
POPARTNER
Exceptions
Function Group
2012
</b>
regards
prabhu
Message was edited by: Prabhu Peram
Maybe you are looking for
-
How to make silverlight run on my mac
I have to download microsoft silverlight on my mac. Once I do how do I make it run?
-
App Store on itouch keeps crashing after recent update
After updating to the new iOS 6.0 for my itouch 4th gen., the new App Store keeps crashing on me when trying to find an app or redownload purchased apps.what can I do to fix this?
-
I no longer have a "Sign" option in version 10.1.6
Up until last week I was able to sign documents with Adobe Reader X v 10.1.6. I attempted to click the "Sign" button one time and it just disappeared. This seems to be an office-wide issue, but our other location has the same version and is not havin
-
Hi all: I bought Logic last night and am attempting to install it. My problem is that I only have a Mac mini with 60 gig hard drive. I am going to purchase a USB2.0/Firewire external drive to get more space. My questions: 1. Can I install logic to a
-
[Solved] Overriding systemd Unit Files Isn't Working
I'm trying to set up some custom dependencies for various services, some of which are supported packages, some are custom packages I've developed. I am running into problems following the procedure described here - specifically, service files in /etc