BAPI for product allocation Check gATP
Hi all,
I read in the SAP documentation that we can use gATP on APO to check order item coming from non R/3 OLTP on product allocations.
Is someone test it, which BAPI or BAdi do we use?
Many thanks in advance.
Hello,
Following enhancement is available for Product allocation.
Maintain Enhancement Projects for Product Allocation
In this IMG activity, you can edit customer exits for the global availability check.
Product allocations
The enhancement for the initialization is APOQT001 .
The user exits for product allocations are divided into two different call sequences:
Product allocations is the requirements check against the product allocation time series from planning. A complete check is executed for this call sequence.
The enhancements for product allocations are:
APOQT010 copy parameters
APOQT012 product allocations control
APOQT021 product allocations
APOQT022 consumption at beginning situation
APOQT023 order consumption
APOQT032 results control
APOQT033 sequence of product allocation procedures
APOQT007 product allocation assignment of partial deliveries
APOQT018 adjusting field catalog
The comparison adjusts the results of product allocations to the results of the other basic methods. This adjustment is necessary when product allocations is not the last basic method executed.
The enhancements for the comparison are:
APOQT011 copy parameters
APOQT014 product allocations control
APOQT024 consumption
APOQT034 results control
APOQT035 sequence of product allocation procedures
The sequence of the basic methods is configured in the check instructions.
When comparing, the entries in the table for the product allocation assignment and the temporary quantity assignments (delta records) are adjusted to the final results of the ATP check.
If the behavior of product allocations is changed by the user exits, the behavior of the comparison must be adapted accordingly in the corresponding user exits!
Thanks and Regards
Similar Messages
-
Add a custom field for Product Allocation
Hi experts,
I have copied S140 to S501 to add a custom field for product allocation.
I have added the custom field in MCVBAKUSR, so it is visible in MCVBAK.
However, I don't know whether I can populate data into custom field. I searched in forum, someone said it can be done in SAP enhancement MCS10001. But it can't work. I have tried to place a break-point in the code, and seems that throughout the order creation and product allocation check, it hasn't get into the codings in enhancement MCS10001.
Can anyone give me some idea on it? Thanks.You should have simply extended VBAK table. It would've taken care of extending MCVBAK, etc. Then VBAK field would have to be populated in a user exit USEREXIT_CHECK_VBAK in MV45AFZB, when a document is being created/changed.
-
Product allocation check found changes to the confirmation
Hi friends,
while creating the sales order after entering the material, i am getting the Error -'product allocation check found changes to the confirmation'.i have checked in MMBE stock is there for the material and because of this the schedule line is not confirmed.
what could be the possible Answer ? please help me out.
regards
santoshHi
Double Click on the sub-item and goto schedule lines tab and them from menu select Environment and click on Availability.
See whats the available stcok.
Regards
Madhu -
IDOC/BAPI for Production order creation from Legacy system
Hi all
We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
thanks a bunchHi John,
For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
If there is an inbound IDoc available, I would recommend to use an IDoc.
IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
BAPI is also good approach to use and fast in term of processing.
For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
Hope this will help.
Regards,
Ferry Lianto -
How to create a info structure for product allocation functionality
Hi Experts,
how to create a info structure for product allocation functionality
For allocating fixed quantities to the specified customers at sales order
Especially i need help in selecting the key figures and key charecterstics for at mc21 and mc24 t.codes(source feilds)
plase provide product allocation functionality with screenhots
thanks in advance
rp
Edited by: rajendraprasad vasam on May 21, 2008 2:19 PM
Edited by: rajendraprasad vasam on May 21, 2008 2:19 PM
Edited by: rajendraprasad vasam on May 21, 2008 2:20 PMHello,
please have a look at the infostructure S140 in transaction MC23 and MC26.
this is the standard infostructure for product allocation.
I hope that the information are helpful.
Regards
Claudia -
BAPI for Product Hierarchy : COMM_HIERARCHY
Can some body help me in finding BAPI for Product hierarchy upload.
Transaction COMM_HIERARCHY.
Many thanks in advance,
Best Regards, JilanHI ....did u got the BAPI for Product category??
-
I am facing a situation in GATP product allocations . We are using product allocations for ATP check . All the config settings are correct . I created a new material in R/3 , transferred to APO . In APO i created characteristics combinations for the material. Now the situation is when i am doing a simulation for ATP check for the product i am getting an error with explanation belwo
The system could not determine the following data
The characteristic combination of the item ...... / that is used to choose product allocation quantities in the characteristics combinations directory of product alloaction group & suitable entries for collective product allocations of the characteristics combination of the sale sorder.
It also gave me the procedure to expand the characteristics combination directory using the planning hierarchy to include the missing caharcteristics combination from teh sales order
I tried doing as explained , but still getting the same error .
Has any bidy faced similar situation ?
Your help is highly appreciated
Regards
SurendraI think you are missing the execution of transaction /SAPAPO/PAREA_K, which transfers the characteristics combinations to product allocation.
hope this helps
-Italo -
BAPI for Production Order creation ?
Hi Experts,
I am new to PP module and as per my requirement I have to:
1. Create Production order in ECC 6.0
After searching BAPI explorer, SDN and other sites I could see that there is no BAPI for Create Production order.
In one of the link I could find FM CLOI_CHANGES_UPL_31 used to create Production order in SAP.
Is there any BAPI to create ??
Can anyone let mw know right FM or BAPI to create Production order with an example.
2. And I have to:
Delete Production order
which BAPI is used for deletion of Prd Ord
BAPI_PRODORD_SET_DEL_INDICATOR or BAPI_PRODORD_SET_DELETION_FLAG
For Confirm Production order - in ECC 6.0 Let mw know the BAPI for this ..
Really helpful if you answer my queries...
Thanks
UdayHi udaya,
use the BAPI 'BAPI_PRODORD_CREATE'
The following BAPIs are available confirmation of production orders:
Entry
Time ticket
ProdOrdConfirmation.CreateTimeTicketMultiple
BAPI_PRODORDCONF_CREATE_TT
Time event
ProdOrdConfirmation.CreateAtHeaderLevelMultiple
BAPI_PRODORDCONF_CREATE_HDR
Order confirmation
ProdOrdConfirmation.CreateAtHeaderLevelMultiple
BAPI_PRODORDCONF_CREATE_HDR
Activity confirmation
ProdOrdConfirmation.CreateActConfMultiple
BAPI_PRODORDCONF_CREATE_ACT
Defaults
Time ticket
ProdOrdConfirmation.GetTimeTicketProposal
BAPI_PRODORDCONF_GET_TT_PROP
Time event
ProdOrdConfirmation.GetTimeEventProposal
BAPI_PRODORDCONF_GET_TE_PROP
Order confirmation
ProdOrdConfirmation.GetAtHeaderLevelProposal
BAPI_PRODORDCONF_GET_HDR_PROP
Cancelling confirmations
ProdOrdConfirmation.Cancel
BAPI_PRODORDCONF_CANCEL
List of confirmations
ProdOrdConfirmation.GetList
BAPI_PRODORDCONF_GETLIST
Detail data for confirmations
ProdOrdConfirmation.GetDetail
BAPI_PRODORDCONF_GETDETAIL
Existence check
ProdOrdConfirmation.ExistenceCheck
BAPI_PRODORDCONF_EXIST_CHK
Regards,
Ravi -
IDOC/BAPI for production order confirmations
Does anyone know IDOC or a BAPI for confirming a production order? CO11 is the normal transaction for confirmation.
I found one BAPI: BAPI_PRODORDCONF_CREATE_HDR
Is this the right one?
-Thanks
BhavenHi Bhavan,
status can be find using function module <b>STATUS_TEXT_EDIT</b>.
Sample code:
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
client = sy-mandt
objnr = >object number of order<
only_active = 'X'
spras = 'E'
IMPORTING
line = hold_status
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
*Exception in case status is not found
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*Check Status of the Order
IF hold_status CS 'CNF'.
confined production orders.
ENDIF.
Best regards
Suresh Babu Karanam -
Need FM/BAPI for production order
Hi all
Let me know FM / BAPI for get component overview based on production order?hi
check this
BAPI_ALM_ORDER_GET_DETAIL
or check from SPRO>Production>Shop Floor Control-->System Modifications->Enhancement in the Adding and Changing of Components
-ashok -
BAPI for Production order creation against wbs element
dear all,
I am using BAPI (BAPI_PRODORD_CREATE) for Production order creation against wbs element.I am putting following input paramters in this
material no,
order type
plant
qty
basic start dt & end dt
wbs
But during GRN it is not taking the account assignment as project stock i.e. its picking movement type 101 but it should be 101Q.
For this what changes are required.
regards
ravi aroraHi,
2 options i can think of:
1. Create a BDC program by recording co10
2. Create a planned order with order type PR using BAPI_PLANNEDORDER_CREATE, specify the WBS element & other details. Now use BAPI_PRODORD_CREATE_FROM_PLORD to create a production order with reference to the planned order created earlier.
I believe option 2 should meet your need. Check & revert.
Regards,
Vivek -
Incorrect update SIS table for Product Allocation
I have set up product allocation, use a custome table S501.
S501 contains characteristics fields:
KONOB: Product allocation object
VKORG: Sales Org.
VTWEG: Distribution Channel
ZZREGION: Region (custom field)
MATNR: Material code
When I create and save a sales order,
VKORG and VTWEG are updated as "***" and "*" in table S504.
ZZREGION and MATNR are updated correctly.
Could you please kindly advise how sales org. and dist. chan. can be copied to table S504 correctly? Thanks.If the challan has 2 or more line items & one of the line item is fully reconciled thats why it is showing the status F in item detail table & P in header table of challan
-
Bapi For Production Confirmation ?
Hi,
I am using "BAPI_PRODORDCONF_CREATE_TT" for production confirmation.
I need to also pass the corresponding goods movement for the order operation. How to achieve this. and also what are the mandatory fields to be supplied for good movement.
Regards,
Navneeth K.Hi Bothra,
Follow the sample code.
DATA : BEGIN OF TIMETICKETS OCCURS 0.
INCLUDE STRUCTURE BAPI_PP_TIMETICKET.
DATA : END OF TIMETICKETS.
DATA : BEGIN OF GOODSMOVEMENTS OCCURS 0.
INCLUDE STRUCTURE BAPI2017_GM_ITEM_CREATE.
DATA :END OF GOODSMOVEMENTS.
*DATA : LINK_CONF_GOODSMOV TYPE BAPI_LINK_CONF_GOODSMOV.
DATA : DETAIL_RETURN TYPE BAPI_CORU_RETURN OCCURS 0 WITH HEADER LINE.
DATA : RETURN TYPE BAPIRET1 OCCURS 0 WITH HEADER LINE.
DATA : POST_WRONG_ENTRIES LIKE BAPI_CORU_PARAM-INS_ERR.
DATA : TESTRUN LIKE BAPI_CORU_PARAM-TESTRUN.
DATA: BEGIN OF LINK OCCURS 0.
INCLUDE STRUCTURE BAPI_LINK_CONF_GOODSMOV.
DATA: END OF LINK.
DATA: BEGIN OF PROPOSE OCCURS 0.
INCLUDE STRUCTURE BAPI_PP_CONF_PROP.
DATA: END OF PROPOSE.
DATA : BEGIN OF LINK_CONF_GOODSMOV OCCURS 0.
INCLUDE STRUCTURE BAPI_LINK_CONF_GOODSMOV.
DATA : END OF LINK_CONF_GOODSMOV.
LOOP AT TIMETKT.
MOVE-CORRESPONDING TIMETKT TO TIMETICKETS.
APPEND TIMETICKETS.
LOOP AT BAPI_ITAB1 WHERE SRL = TIMETKT-SRL.
MOVE-CORRESPONDING BAPI_ITAB1 TO GOODSMOVEMENTS.
CONF_QUAN_UNIT.
CONF_ACTI_UNIT1.
APPEND GOODSMOVEMENTS.
ENDLOOP.
PROPOSE-QUANTITY = 'X'.
PROPOSE-ACTIVITY = 'X'.
PROPOSE-DATE_AND_TIME = 'X'.
PROPOSE-GOODSMOVEMENT = 'X'.
APPEND PROPOSE.
CALL FUNCTION 'BAPI_PRODORDCONF_GET_TT_PROP'
EXPORTING
PROPOSE = PROPOSE
IMPORTING
RETURN =
TABLES
TIMETICKETS = TIMETICKETS
GOODSMOVEMENTS = GOODSMOVEMENTS
LINK_CONF_GOODSMOV = LINK_CONF_GOODSMOV
DETAIL_RETURN = DETAIL_RETURN.
CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
EXPORTING
POST_WRONG_ENTRIES = '0'
TESTRUN =
IMPORTING
RETURN = RETURN
TABLES
TIMETICKETS = TIMETICKETS
GOODSMOVEMENTS = GOODSMOVEMENTS
LINK_CONF_GOODSMOV = LINK_conf_goodsmov
DETAIL_RETURN = DETAIL_RETURN.
if return-id is initial.
commit work.
endif.
I think it will be helpfull to u.
Regards
Srimanta -
Hi,
I want BAPI or FM to upload data related to production version for MRP4 view.Hi Abhi,
check this FM..
BAPI_MATERIAL_SAVEDATA
Regards,
Prabhudas -
BAPI for VA02 to check availability & update the Schedule lines
Hi Experts,
Is there a BAPI which can 'check item availability' & update the Schedule lines for the same order?
I have checked 'RV_AVAILABILITY_CHECK' 'BAPI_MATERIAL_AVAILABILITY' 'SD_BACKORDER_UPDATE'
but it is not solving the purpose.
Kindly give your suggestion for the same.
Thanks.Hi,
Please let me know if you were able to achieve this functionality. I have a similar requirement wherein I need to check for the material availability and update the schedule lines in the scheduling agreement. I checked the FM SD_BACKORDER_UPDATE, but it doesn't seem to be helpful.
Regards,
Dawood
Maybe you are looking for
-
I don't have a CD place on my laptop, so I can't get any of my music, and none of it is in my library. I really want my music so I can get it back easily on my ipod.
-
HP Revolve 810 using DisplayPort to VGA adaptor to connect to projector
I have a HP Revolve 810 and often use a DisplayPort to VGA adaptor to connect to a projector. Sometimes the graphics card recognises the projector immediately, sometimes I have to log out of windows and then log back in again and sometimes I have to
-
Supplier dependent inspection processing
hello all! we would like to implement following scenario: depending on supplier rating e.g. every 5th goods receipt should be checked with an inspection lot. dynamic modification is not an option, because we would like to set up the rules independent
-
Daisy chaning firewire to import or just use USB?
Two options for importing/downloading video from a camcorder to an external drive. 1. connect the camcorder to the firewire 400 port on the external hard drive, and then connec the external hard drive to the macbook using the other firewire 400 port.
-
How to install elance Tracker System on archlinux?
Hi guys, anobody here knows how to install elance Tracking system on archlinux, Elance only provide rpm and deb packages, I tried to use rmp2targz and deb2targz, but don't work, I also checked this video: http://www.youtube.com/watch?v=XirJietlTfI an