FM/BAPI for Product substitution List
Hello All,
I have a requirement wherein the user will enter substitution materials for a particular material. I have to update these substitution materials in APO so that it will be reflected in tcode /N/SAPAPO/RBA04(Maintain Product Substitution Tab)
Is there any FM or BAPI to do so?
Regards,
Arpita
Hi
Can any one tell me the parameters which need to be passed to BAPI "BAPI_PSPSRVAPS_SAVEMULTI ".
I have to create Product substitution using this BAPI which should be reflected in /SAPAPO/RBA04 tcode.
Please let me know . Thanks.
Similar Messages
-
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 -
BAPI for fetching the list of scheduling agreements
This is my first post in SDN Forums so pardon me if I commit a mistake.
My question is: Is there a standard BAPI for fetching a list of scheduling agreements?
I know that there are BAPIs for creating and maintaining scheduling agreements like BAPI_SAG_CREATE and BAPI_SAG_CHANGE and iBAPI_SAG_GETDETAIL but each of these require the scheduling agreement number. My requirement is to list out all the scheduling agreements that are present in the system.
I found a BAPI named BAPI_DOCUMENT_GETLIST and BAPI_DOCUMENT_GETLIST2 but I'm not able to find out what documents it is able to display. If I don't specify any selection criteria, it is fetching just two records of document type DRW. No other document of any other type is fetched.
Another BAPI that I found was BAPI_SALESORDER_GETLIST in which if I specify the Transaction group as "3" (for scheduling agreement), it fetches them but those are related to Sales orders and not purchase orders.
So, if anyone has any info and can help me out, I would really appreciate it.
Edited by: rkarthea on Jul 30, 2010 10:44 AMHi Raj,
As I had said earlier, I need the Scheduling agreements related to purchase orders and not sales orders. The ones in EKKO table (Doc category: L).Will this program fetch this info?
Also, I need a Java app (that's being developed) to fetch this info, so I'm looking for a BAPI. Is there any or can this program (if it fetches the right Scheduling agreements) be called from an external Java app? -
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??
-
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 -
Report for Production order list
Dear all,
I need your help..
we have two plants in which we divided total qty of customer order for production
now i want a list in which i got the details like which sale order and how much qty we punched in plant one and plant 2
to compare total valve produced for customer
how to find such kind of report..?
which t code is helpfull.
NehaIf you're working with a MTO stg. (eg: 20), then the sales order details will be linked to the production order & you can then use COOIS report by specifying the sales order nos.
But if you're working in a MTS environment, then there will not be a specific link between the Production order & the sales order, so if you have maintained the SO nos. in some field, then you will have to execute the COOIS report & then use the filter option on the field where you've maintained the SO nos. -
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 bapi for vendor contact list
Hi all
I need a bapi to get vendor contact list. I already have bapi for getting customer contact list, bapi_customer_getcontactlist.
Please help in this regard.
Thanks in Advance
RakeshHi,
same problem here: I need a BAPI that lists all contacts for a vendor. BAPI_VENDOR_GETDETAIL does NOT return the contact list and there is no BAPI_VENDOR_GETCONTACTLIST.
Any hint?
Walter -
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 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 -
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 -
Issue for Production Price list field missing
Hello all,
I have a strange issue with a field missing in the issue for production window. When an issue for production is created, the Price list field is missing. Please see the attached screenshot. Does anyone know how to show this field? I have checked form settings and it's not an option there.Hi Chris
Following is the SAP Note No: 1720071
Symptom
When opening "Issue for Production" from "Production Order", "Price List" field is missing.
Reproducing the issue
1. Login to SAP Business One.
2. Go to Production->Production Orders, open a "released" production order document.
3. Right-click a row whose "issue method" is "Manual", and choose "Issue Components". (If all the rows have "Backflush", you need to change one of them.)
4. "Price List" field is missing on the left top of the new screen.
5. If you click "Attachments" tab, the field will be showing correctly.
Solution
Current workaround is to click "Attachments" tab to make "Price List" showing.
The issue is planned to be fixed in SAP Business One 9.0.
With Regards
Balaji -
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 -
Its urgent.!!!!!!BAPI for Production Order
HIi All ,
i need to fecth Storage Bin/Material/Quantyti/Descrition .
All values can be obtained from the production order record using the BAPI.
which BAPI is there for this req?some of the function modules are
<b>BAPI_PRODORD_CHANGE
BAPI_PRODORD_CHECK_MAT_AVAIL
BAPI_PRODORD_CLOSE
BAPI_PRODORD_GET_DETAIL
BAPI_PRODORD_GET_LIST
BAPI_PRODORD_RELEASE etc</b> better you put BAPI_PRODORD_* in Function module field and press F4 and get more BAPI fuction modules according to your production order scenario.....
reward points if helpful...
thanks,
velu.... -
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
Maybe you are looking for
-
Overclocking and the MSI K7N2 Delta ILSR
Hi everyone, I wanna overclock my system. But, I've experienced several problems. Problem one: When i try to set my memory timings manual (3-3-3-8) in the BIOS, CPU-Z, Everest etc shows CL2.5.... instead of the CL3.0 that I've selected in the BIOS. T
-
X220 - Thinkvantage button (restore original hard drive)
Hello -- If I boot using the ThinkVantage button, there is an the option to restore the original hard drive. Will this also restore the preinstalled software (specifically, Norton antivirus)? Thanks.
-
How to rotate labels of a chart on x-axis?
Hi, I made a table, but because the labels for the values on the x-axis are too long, they are overlapping. In excel, the text automatically gets slanted, so each label is readable. How do I do this with numbers? Thanks!
-
Group By a 11:00 am to 10:59 pm Day
Hello All, Can someone help me with this thread ? I need to group some records by day, but not in a regular 24 hours day. The day must start at 11:00 PM and ends in 10:59 of the next day. Is it possible ? Thanks.
-
Prepress query about supplied PDFs with ICC profiles
Hello please help Working at a print company we get a lot of print ready PDFs supplied We have our own press colour profile which we ideally apply to all PDFs My question is what to do with a supplied PDF which contains a none standard ICC profile on