Business Object (BAPI/IDOC) for production Order
Hi All
I have requirement where data is coming from legacy system to R/3 via XI to generate a production order. I am not able to get right BAPI/ IDOC for inbound Production Order. Can anyone has done similar scenario. Can u suggest me BAPI or IDOC for same. I am using IS-Mills 4.7 version for R/3
Thanx in advance
Regards
Vinod
HI Vinod,
I think U can use IDOC <b>LOIPRO01</b> for Production Order...
Regards,
Sridhar Reddy
Similar Messages
-
Hi All,
Iam very new in using idocs, my requirement is to create a outbound idoc for production order (create/change) ,I got the Message type LOIPRO and idoc type LOIPRO01 there is no process code so i created a Z process code with FM (CLOI_MASTERIDOC_CREATE_LOIPRO) . Please explain how to proceed further in NACE etc
Thanks in advance,
Pria.I have message type LOIPRO.
I am using that to trigger Production Order IDOCS.
I'm using the following fields below. My question: What Object/Table/Field combination do I use to track when STATUS has changed?
ORDER AFKO AUFNR
ORDER AFKO GAMNG
ORDER AFKO GLTRI
ORDER AFKO GLTRS
ORDER AFKO GSTRI
ORDER AFKO GSTRS
ORDER AFKO KEY
ORDER AFKO PLNBEZ
ORDER AFVC LTXA1
ORDER AFVV BMSCH -
Inbound idoc for production order
Hi.
I am having a requirement in Interface to create a production order in SAP .
My production order have multiple items.
Can you suggest me IDOC or BAPI or FM which i can used to create production order with multiple items...??
I tried with BAPI_PRODODER_CREATE but it used only for header data not for item one.
The Idoc LOIPRO is used i guess for outbound purpose i didn't found ne process code attatch with this so i guess we can't used for inbound.
Please respond me its urgent for me.
I will reward for helpful ans.
Thanks
DeeptiHi,
I dont know about which basic idoc is being used for production order.
But if you know any F.M or Message type or Basic type, then from WE57 you can find the corresponding process code.
Goto WE57 and make use position button and u will get one popup screen and then press F4 on any field then it will open the other screen in that screen make search for process code by giving the input values in Ctr+F search.
Reward with points if helpful.
Regards,
Vijay -
IDoc Configuration for Production Order Creation and Change
Hi All,
Please Help me out for IDoc Configuration for Production Order Creation and Change
I have found the IDoc for Production Order
Messgae Type : LOIPRO and IDoc type : LOIPRO01
Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
I have done following Configurations:
1. RFC Destination created for XI system
2. PORT was created for XI
3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
I need to know how to do the followning.
1. How do i configure the outbound Production order idocs when Production Order is created or changed.
2. in NACE (Output control) which is the Application for Production Order.
3. How can I set IDoc as output Type for Production Order Creation.
Thanks in advance
Dhanabal THi Michal,
I know that it is the old thread but still want to get clarified from you out of curiosity.
Unlike other IDOC, i actiavated change pointers for LOIPRO
1.message and idoc type is linked
2.function module , message type , idoc type is linked
function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
3.BD64, distribution model is created and distributed
4. port and partner profile is in place.
5. IDOC is not getting generated after creating the process order.
do we need to activate the change documents for the message type in BD52,
if yes can you please provide the object types for the same.
or i am missing something else. please guide me in this regards.
Thanks in advance for your time.
S.Janagar -
System status for IDOC creation and processing for production orders
All
I am creating IDOCs for production orders to send requirements to an external WM system for kitting execution.
I need to know whether there are any system statuses to notify me when an IDOC has been created,failed and processed. If not, how do I go about creating user defined statuses for these statuses.
Second question, which idocs should I use to confirm, teco and cancel the production orders from an external system?
Thanks
EvanHI Evan
u can use the standard program - RBDMOIND scheduled in back ground to update the Idoc staus ,
this helps to update the IDoc Status from
'03 Data passed to port OK ' to
'12 Dispatch OK'
status 03 indicates the IDoc is successfully transmitted to Communication Layer and the Status 12 helps to confirm the data dispatch to the receiving port. -
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 -
Production Order : OUTPUT Type Configuration for Production Order as EDI
Dear SDN All ,
OUTPUT Type Configuration for Production Order.
<b>Doubt in third Point</b>
We have found the IDoc " LOIPRO01 " for Production Order
(Please confirm that this IDoc can be used for outbound IDoc for Production Order)
And foloowing
<b>1. Defining the Output Type for Particular Application.
T-Code: NACE</b>
A. Output type have created upder application "ME" description : "Inventory Management"
B. " ZEDI " created for getting output as EDI type
ZEDI is copied from "WF01" output type. and
Transmision mediam as "EDI"
Program : RSNASTED
Form Routine : EDI_PROCESSING
(Please confirm is this for IDoc creation)
<b>2. Partner profile creation:</b>
A. Partner profile created under logical system and
B. and In outbound parameter declared as "LOIPRO"(This is for sending the IDoc "LOIPRO01" to XI system).
<b>3. Customization for output type for Proction Order -- (For CO02,CO08)</b> ---
A. But only one functional customization is remaining to do, for getting the IDoc while saving the Production Order in T-Code "CO02" and "CO08"
<i>For Example:
in sales order transaction va02 (in DBI 450 client) and select any Sales order.
& select following menu path.
Extras --- > Output -
> Header -
> output
Here we can set our output type "that U defined in NACE Transaction-Code"</i>
<b> Like the same way I want to set output type for CO02, CO08 transaction.</b>
But I couldn't find the menu Item in Co02 and Co08 for setting the output.(like VA03)
Please help me out for setting the output type for Production Order Creation.
Thanks in advance,
Dhanabal T
Message was edited by: Dhanabal THello.
I have a similar requirement. Did you guys find the solution? -
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 -
Number range Object for Production order Number range profile.
Hi ffriends,
Can anybody tell me how to maintain the <b>Serial Number Range</b> for production order serial no.
I working on automatic serail no generation for production order.I have one serial no range profile which I am assigning to material in material master but I don't know the number range object for that profile.
Or can anybody tell me how we attach serail no profile to a serial no range object.?
Please it is urgently required..........
Regards,
Rajesh Akartehi rajesh
in the serial number profile there are certain business procedures which will create the serial no ,kindly check whether for your procedure you have assinged whether serial number to be arranged or not
slecect the serial number profile in sutomization field( which you have specified in Material master) and select the serialization procedure and check whether the <b>PPRL</b> procedure is assinged,also check the serial no usage assigned
for detailed process have a look here
<b>http://help.sap.com/saphelp_47x200/helpdata/en/3c/abc38a413911d1893d0000e8323c4f/frameset.htm</b>
regards
thyagarajan -
Error while doing Good Issue for Production Order using BAPI
Hi All,
I am facing an error like 'u2018Content of order 1011907: MDT218AJ10 transferred to interface (IMSEG): T-86410-71".
I have written the code as below. Please let me know what is missing when using the BAPI 'BAPI_GOODSMVT_CREATE'. What is the cause of this error ?
*Action in Transaction (GM_CODE)
*GM Code for Goods Issue for Production Order is 03
gs_gmcode-gm_code = '03'.
*Header Data
*Posting date
gs_header-pstng_date = sy-datum.
*Document date
gs_header-doc_date = sy-datum.
*Item Data
*Material
gs_item-material = zptp_s_rf_migo_261-matnr1.
*Movement Type
gs_item-move_type = '261'.
*Movement Indicator
gs_item-mvt_ind = 'F'.
*Stock Type
gs_item-stck_type = 'F'.
*Plant
gs_item-plant = gv_plant.
*Storage Location
gs_item-stge_loc = gv_str_loc.
*Quantity
gs_item-entry_qnt = zptp_s_rf_migo_261-menge2.
*Unit
gs_item-entry_uom = gv_uom.
*ISO code for unit of measurement
gs_item-entry_uom_iso = gv_uom.
*Order Number
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = zptp_s_rf_migo_261-aufnr
IMPORTING
output = gs_item-orderid.
*Reservation Number
gs_item-reserv_no = gv_resv_num.
*Reservation Item
gs_item-res_item = gv_resv_itm.
*Reservation Type
gs_item-res_type = gv_resv_type.
APPEND gs_item TO gt_item.
Calling BAPI_GOODSMVT_CREATE to create the Material Document Number
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gs_header
goodsmvt_code = gs_gmcode
IMPORTING
goodsmvt_headret = gs_headret
TABLES
goodsmvt_item = gt_item
goodsmvt_serialnumber = gt_serial
return = gt_return.
Thanks in Advance.hi,
did you look at message ?
System says, there are differences between the interface data and the order data. It can be anything. I think you should check
data in the interface .
this is the long explanation of your message :
Diagnosis
When calling the function module MB_CREATE_GOODS_MOVEMENT or the BAPI GoodsMovement.CreateFromData (BAPI_GOODSMVT_CREATE) to post a goods receipt for a production order, there are differences between the interface data and the order data.
Example: The order was created for plant 0001, but plant 0002 is passed on in the interface.
The system checks this for the material and the order item.
System response
Due to this difference, the system cannot post the goods receipt.
Procedure
Check the data in the interface (IMSEG-WERKS, IMSEG-AUFNR). If necessary, correct the plant or the order number in the interface.
<< Moderator message - Point begging removed >>
Edited by: Rob Burbank on Feb 6, 2012 11:24 AM -
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 -
Dear Guru's,
we have a requirement i.e. user can convert planned orders in to production orders (CO41) based on those production orders we can get Route card( Z Smart form) presently we are using manual input for that Route card. recently we got requirement for this i.e. make to automatic generation of route card for this requirement we need to get the list of child's production orders based on parent production order
so as per my requirement i need to get all child part numbers production orders based on parent production order number and quantity i tried in MD4C and CO46 but those transactions codes are picking multiple lines also so for this requirement please give your valuable suggestions
Regards,
VenkatDear Friends,
Thanks for your reply,
My business process is MTS purely strategy 10, for route card all components with production orders we can give input as like bellow these production orders are converted from planned orders,between few components are don't have production orders those are F-30 materials,because of this reason i need link for production order to child components orders
01
IND1
IND1
A1CE2003520103-005
55685815
02
IND1
IND1
A1CE2003520103-010
55685814
03
IND1
IND1
A1CE2003520103-015
55685813
04
IND1
IND1
A1CE2003520103-020
55685812
05
IND1
IND1
A1CE2003520103-025
55685811
06
IND1
IND1
A1CE2003520103-030
07
IND1
IND1
A1CE2003520103-035
55685810 -
Business Content for Production Orders
Dear All,
we are looking for a SAP standard scenario for our business scenario to get details per production order and workcenter.
I found already Datasources 2LIS_04_P_MATNR (for production order header data), 2LIS_04_P_ARBPL (for production order operational data) and 2LIS_04_P_COMP (for production order component data), which contain the data we will need to be reported on.
Unfortunately I'm not able to find any How-To paper or anything like this, where I can see, how these 3 Datasources are coming together in BW. For 2LIS_04_P_MATNR I found 0PP_DS01 in the business content. But I expected to find as well an DSO in the SAP content for the other 2 Datasources. I'm also wondering, if there is a standard cube, where these 3 DSO's are coming together later on to be the basis for the reporting.
Does anybody of you have any standard documentation of this business scenario?
Thank you in advance.
PeggyHi Peggy , There is no standard DSO or infocube available which reports on all the 3 data sources combined together.
But there are standard DSOs ,infocubes like 0PP_O01 , 0PP_C04 which can be used in a custom multiprovider to draw reports of interest.
For more details refer http://help.sap.com/saphelp_nw70/helpdata/en/28/500b3c56488e6be10000000a114084/frameset.htm
Hope this helps
Sampada -
Object table for production order
Hi all,
I want to create a print program to create a barcode label (sapscript) triggered out of a shop (production) order.
I know for example for deliveries, all delivery data are stored into the NAST table.
Is there a similar table for production order that holds the necessary data?
Thanks
AnneHi,
Tables for production order
AUFK Production order headers
AFIH Maintenance order header
AUFM Goods movement for prod. order
AFKO Order header data PP orders
AFPO Order item
RESB Order component
AFVC Order operations
JEST Object status
AFRU Order completion confirmations
Regards,
Vishal -
How to use the selection profile and status profile for production order?
Hi expert,
I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
Please help me.
thanks in advance.
george.shiHi George,
There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
In this status profile,
1.We define the sequence in which user statuses can be activated,
2.We define initial statuses
3. Allow or prohibit certain business transactions.
Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
Regards,
Raja.
Edited by: Rajarao on Oct 30, 2008 6:21 AM
Edited by: Rajarao on Oct 30, 2008 6:22 AM
Maybe you are looking for
-
The application Pages won't open on my mac?
When i click on the application pages nothing happens. I tryed double clicking and the only option I'm given is to remove it from the dock. I tryed downloading douments from online, and then opening them, but it wouldn't open. What happened? How do I
-
Single letters dropping out in PDFs exported from Indesign CS
We are having font issues in some of our magazine's advertisements which proved very costly last month. First let me describe the work flow. We designed an ad in Indesign CS then exported it using the press setting in Indesign's PDF export option. He
-
I just purchased the computer last November and I haven't had any problems. I've only used PC's before this so I need some help!
-
Hi, My ipad is disabled and is asking me to connect to itunes. Itunes won't allow me to connect to it, and is asking me to insert the passcode to the device....
-
View output button disabled when publishing to pdf
I am using Captivate 4 and must publish all my Captivate files to pdf for distribution throughout my organisation. I have two issues: 1) After publishing to pdf, the View Output button is disabled, and I get the message you must have Adobe Reader 9 o