How to use BAPI_GOODSMVT_CREATE against the Production Order
Hi Friends,
I need ur help very urgently,
I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
everything working fine, ie it gets updated in IM/WM.
but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
How to solve this issue using this BAPI.
I have attached the code, plese help me is there any other parameter to set for this BAPI.
Thanks in advance.
Shankar
Code:
*Header Structure
st_gm_code-gm_code = '03'. "
st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
SORT itab BY aufnr matnr j_3asized.
LOOP AT itab.
itab_afs_gm_itemx-material = itab-matnr.
itab_afs_gm_itemx-plant = itab-werks.
itab_afs_gm_itemx-stge_loc = itab-lgort.
itab_afs_gm_itemx-batch = itab-new_charg .
itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
itab_afs_gm_itemx-stck_type = 'F'.
itab_afs_gm_itemx-move_type = '262'.
itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
itab_afs_gm_itemx-grid_value = itab-j_3asized.
itab_afs_gm_itemx-orderid = itab-aufnr.
itab_afs_gm_itemx-move_reas = itab-move_reas.
APPEND itab_afs_gm_itemx .
SELECT SINGLE etenr
INTO etenr
FROM j_3abdsi WHERE aufnr = itab-aufnr
AND matnr = itab-matnr.
gr_afs-matdoc_itm = '0100'.
gr_afs-sched_line_sku = etenr.
gr_afs-stock_cat = itab-j_4kscat.
gr_afs-grid_value = itab-j_3asized.
APPEND gr_afs.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gm_header
goodsmvt_code = st_gm_code
IMPORTING
goodsmvt_headret = st_gm_headret
materialdocument = mat_doc
matdocumentyear = doc_year
TABLES
goodsmvt_item = itab_afs_gm_itemx
return = bapi_return
afs_goodsmvt_sku = gr_afs.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
Hi Friends,
I need ur help very urgently,
I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
everything working fine, ie it gets updated in IM/WM.
but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
How to solve this issue using this BAPI.
I have attached the code, plese help me is there any other parameter to set for this BAPI.
Thanks in advance.
Shankar
Code:
*Header Structure
st_gm_code-gm_code = '03'. "
st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
SORT itab BY aufnr matnr j_3asized.
LOOP AT itab.
itab_afs_gm_itemx-material = itab-matnr.
itab_afs_gm_itemx-plant = itab-werks.
itab_afs_gm_itemx-stge_loc = itab-lgort.
itab_afs_gm_itemx-batch = itab-new_charg .
itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
itab_afs_gm_itemx-stck_type = 'F'.
itab_afs_gm_itemx-move_type = '262'.
itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
itab_afs_gm_itemx-grid_value = itab-j_3asized.
itab_afs_gm_itemx-orderid = itab-aufnr.
itab_afs_gm_itemx-move_reas = itab-move_reas.
APPEND itab_afs_gm_itemx .
SELECT SINGLE etenr
INTO etenr
FROM j_3abdsi WHERE aufnr = itab-aufnr
AND matnr = itab-matnr.
gr_afs-matdoc_itm = '0100'.
gr_afs-sched_line_sku = etenr.
gr_afs-stock_cat = itab-j_4kscat.
gr_afs-grid_value = itab-j_3asized.
APPEND gr_afs.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gm_header
goodsmvt_code = st_gm_code
IMPORTING
goodsmvt_headret = st_gm_headret
materialdocument = mat_doc
matdocumentyear = doc_year
TABLES
goodsmvt_item = itab_afs_gm_itemx
return = bapi_return
afs_goodsmvt_sku = gr_afs.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
Similar Messages
-
How to use smart form for production orders
Hello Experts,
I have a couple of questions about printing out production orders from SAP, from OPK8.
My ABAPer has developed a smart form and I am trying to use the same for the list LG01, i.e. the object list.
Since, there was no place to assign a smart form directly, so the ABAPer has copied the existing print program , defined for my ref. order type and LG01 and assigned the new smart form inside the program. This new program has now been assigned against my ref. ord type, LG01 and all the plants, as seen in screenshot below.
Now, what is happening is that when I give print for my order, a pop-up screen asks for the printer. I give LOCL , check 'print now' and then click on the print preview.
I can see the new form that has been developed and it is alright.
Then, when I click on the back arrow, once again the print pop-up screen appears. Now, when I enter LOCL, print now and click the print preview, then I see another form open up before me. I am assuming that this is some form which was pre-configured in the system, under the section 'Forms', for the same object list LG01.
Do I have to assign the new smart form under the section "Forms' also, for the ref order type and LG01? or the change in the section 'print programs' is enough for the new form to kick in? Please guide me. I tried to but it gave the error that the form is not created in English. Also , my form is a smart form, not a SAPScript or PDF form, so I wonder if that will help at all.
Requirement :- I need to suppress this second form somehow but do not know how to do it. I want that only one form, i.e. my smart form should be printed out when someone gives print from the order.
Let me know if something is not clear.
Regards
P.RHi P,
Go a few steps down and remove flags on the documents you don't want to print:
this are just suggestions, they can be changed in your production order, in CO02, menu Order->Settings->List Control.
regards,
Edgar -
PP scenario to complete the production order without GR and No stock update
Hi Experts,
I have a very typical PP scenario here. Let me explain,
I want to create a production order (CO01) add operations to it and do the confirmation. As set, the cost will get updated against the production order. This is perfect.
Now the trick is, i actually DONT want to update the stock of the material. That is, the goods reciept should not happen. But at the same time, I need to have the count of how much is delivered in the production order.
I was thinking of having new movement type created (that would statiscally do the goods reciept without updating the actual stock of the material). Would this suffice, or do you guys have any other way of getting the count in the production order without having the goods reciept done.
Thanks for your early reply.
BeatleDear ,
If you want to avoid inventory issues as well as cost issue , i think you can bring the Confirmation -Yeild field as Delevered quianity in a Z-report .You can also utilise COOIS-Select Confirmation -Standrad Profile -Enter Order Type and Plant Code .Here you can select the change lay out option and bring the confirm yeild qty field from Hidden column to diplay colmn for all these orders .
You can use following tabel for your custom report or utlise coois for the same
1.AFRU -Confiramtion
2.GMNGA-Yeild Confirmed
3.LMNGA-Yeild to confirm .
Regards
JH -
MIGO Proposes Quantities even when the Production Order has DLV status
Hi,
In ECC 6.0 after my last operation has been confirmed with AUTO GR. MIGO proposes the planned Scrap quantity against the Production Order for Goods Receipt. Is there a way to stop this.
Here is the scenario that I am facing this issue.
I have a production order with Qty 103 with 3 QTY as planned Assembly scrap.
At the last operation I do 98 yield, 2 rework and 3 scrap. My Rework Reason Code inserts a rework operation using trigger point in the production order. Now after I confirm Rework Operation when I got MIGO for Goods Receipt it proposes me 5 (i.e. 3 Planned Scrap plus 2 rework).
Is there a way this behavior be stopped.Hi Aravind,
I have a suggestion. Instead of having assembled scrap if you follow below way you can overcome from this issue.
To produce 100 quantity, goods should be issued for 103 quantities. You should maintain this in BOM. So during production confirmation, if your yield is 98 then GR will happen only for 98 and you can enter 2 piece as scrap quantity. GR will not happen for scrap quantity. When you confirm the rework operation, system will propose only 2.
Currently we are following this way. Try it out and see.
If you need more information, do reply.
Regards / US -
GR for production order post to cost center and not to the production order
Hi all,
when we post the goods receipt for the finished product against the production order (mov. type 101), the order is not credited with the corresponding stock value. Instead of this, the value accounts to a cost center.
We specified this cost center in OKB9 (Default account assignment), because if not, we get an error when posting the goods receipt cause of lacking accounting object.
I can't see why the system does not credit the production order?
Any ideas?
Thanks for your time
DanielHi Daniel,
This is the first time i am coming across an issue like this.
neverthless from a logical front,
1. Remove Cost center as a valid receiver in Settlement Profile.
2. Your OKB9 setting are pretty much good. No need to worry about it. Becasue, OKB9 only will work if the system doesn't identify any other cost object. In this case Production Order is an automatic cost object which system should have taken.
3. Check the Settlement rule when you have created Production Order. It should have been MAT.
4. I hope you are creating Production Order with Material (using CO01 and not CO07)
5. Make sure in OPL8, the default rule in controlling tab is PP1.
Once all these are fine, i do not see any reason why you will get your probelm.
Please check and revert back to me if the problem still persists.
Best Regards
Surya -
How to resrve the stock to the customer against the sales order
hi,
sap gurus,
good morning to all,
how to reserve the stock to the customer against the sales order if this process is not MAKE TO
ORDER SCENARIO.
the prices of the products will be often changing drastically so
he is following MAKE TO STOCK Process in his production process.
so with out using m.t.o. process how to reserve it against the customer.
for eg:
in the market when the customer/dealer/stockist coems to know that prices are going to increase
then obviously he tends to purchase in bulk quantities and reserve it in godown.
so how to map that process.
help me on this.
regards,
balaji.t
09990019711Dear Balaji,
This can be done By MM consultant through movement type. to move the stock from unresticted stock to customer stock.
Regards,
Sudhir -
How the material PRT issue/receipt to the production order can be handled?
Hi PP Gurus,
For one of our clients, the handling of PRT is to be controlled with the issue/receipt for the production order.
1. What is the procedure for issue/receipt of PRT material in the SAP?
2. What is the procedure to block the PRT for the creation/release of production order when it was already assigned to the other production order during the same time?
3. The PRT is to be available automatically once the assigned production order operation is confiremd.How it can be handled in the SAP?
Appreciate your early response.
Thanks,
Reddy.Hi Ramanujam,
Thanks for your response.
1. The dies can be used for the production of Pressing, Casting and Forging etc. These dies will be managed in the stores. The stores representatives will issue the die to the shop floor for an operation of a production order.They will return back the die once the production is completed at that operation using the die. How to map this process in the SAP.
Typically, these dies can be treated as PRT materials in the SAP system.
2. OPJK configuration is not sufficient. The same PRT will be assigned to the many production orders during the same time.The system won't block with only this setting. There are some other steps involved to complete the process.
I would like to know the complete procedure with all the steps to block the PRT once it was assigned to the production order operation. The same PRT is to be available for other production orders automatically once the operation is confirmed after production. -
How to check the Production order exits
Hi Experts
Modification to processing of Command Orders & Tickets
We require a modification to the processing being performed on sales data originating from the Command Concrete system and potentially from other systems yet to come online (e.g. Pinkenba Cement plant).
The Sap process involved is ZINT_INBOUND_POLLING and within that, ZINT_CSTPORD_ROUTINES.
The problem
Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.
In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.
This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.
The solution
In the routine which checks for the existence of a production order, modify the code as follows:
Inspect each item on the sales order
If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.
---- ZINT_CSTPORD_ROUTINES -
*& Form process_inbound_data
Create prod. orders from ticket data extracted from the COMMAND
system. Note that large portions of the code in this routine
have been copied from the retired ZPPU_COMMAND_PRODUCTION
interface program. This was done (1) because the old code works
and (2) to save development time.
-->T_ZINT_IDATA Internal table of interface data
-->T_ZINT_PARAM Internal table of interface parameters
-->T_ZINT_MSLOG Internal table of messages
-->P_ZINT_ID Interface ID
-->P_ZINT_TY Inteface type
-->P_ZINT_IS IDOC group for interface
-->P_ZINT_DL Flag: delete IDOC group when complete
-->P_ZINT_AL Flag: run in standalone mode
-->P_ZINT_NW Flag: do not log warning messages
-->P_ZINT_SQ Interface sequence number
<--P_ZINT_RC Return code (<>0=>error)
form process_inbound_data tables t_zint_idata structure zint_idata
t_zint_param structure zint_param
t_zint_mslog structure zint_mslog
using p_zint_id type zint_id
p_zint_ty type zint_ty
p_zint_is type zint_is
p_zint_dl type zint_dl
p_zint_al type zint_al
p_zint_nw type zint_nw
p_zint_sq type zint_sq
changing p_zint_rc type zint_rc.
program is continuing .............
I WANT TO WRITE A CODING HERE **********************
CHECK IF PRODUCTION ORDER REQUIRED
IF NOT THEN GO TO PERFORM UPDATE DATA
if production order required then check
for each item on sales order item list
with item category = 'ZTAC' then
return true
next
end function
if there is no production code
these has to be check from VBAP TABLE field VBELN and PSTYV (ZTAC,ZTAN Etc)
select * from Vbap WHERE VBELN = '00000269951' and VBAP.PSTYV = 'ZTAC','ZTAN' Etc
No production order?
elseif lva_prodord is initial.
clear v_messg.
call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
exporting
input = lva_filemat
importing
output = lva_filemat.
No production order found - log a warning message.
concatenate 'Production Order not be found for'
'Command order' lva_cmdord
'Material' lva_filemat
'Customer' lwa_02-customer
into v_messg separated by space.
perform write_log_entry
tables t_zint_mslog
using 'E' 'ZINT_CSTPORD_ROUTINES'
'FIND_SAP_PRODORD'
v_messg
p_zint_nw
lwa_01-ticketnumber. " RJS
continue.
endif.
Production Order WAS found... Continue creating IDOCS
lwa_hdrlevel-postg_date = lwa_01-ticketdate.
Obtain the storage location parameter value.
read table t_zint_param with key zint_fn = 'LGORT'.
if sy-subrc ne c_noerr.
perform write_log_entry
tables t_zint_mslog
using 'E' 'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
'Parameter LGORT is missing from ZINT_PARAM'
p_zint_nw
lwa_01-ticketnumber. " RJS
exit.
endif.
loop at l_it_05 into lwa_05
where ticketnumber = lwa_01-ticketnumber.
clear lwa_gm_item_create.
lva_filemat = lwa_05-material.
if lva_filemat eq lva_prodmat.
concatenate 'Command ticket-' lwa_05-ticketnumber
into lwa_hdrlevel-conf_text.
lwa_hdrlevel-conf_quan_unit = lwa_05-unitofmeasure.
lwa_hdrlevel-yield = lwa_05-quantity.
check whether the confirmed value + current delivery value is equal *
the production order qty. If the production order value is less
than the total delivered value, set final conf indicator and clear
reservations
lva_wemng = lva_wemng + lwa_05-quantity.
if lva_wemng < lva_psmng.
lwa_hdrlevel-clear_res = c_false.
lwa_hdrlevel-fin_conf = ' '.
else.
lwa_hdrlevel-clear_res = c_true.
lwa_hdrlevel-fin_conf = 'X'.
endif.
move: 'Z1BP_PP_HDRLEVEL' to t_idoc_data-segnam,
lwa_hdrlevel to t_idoc_data-sdata.
append t_idoc_data.
clear lva_formmat.
lva_formmat = lwa_05-material.
lwa_gm_item_create-material = lva_formmat.
lwa_gm_item_create-plant = lwa_03-plant.
lwa_gm_item_create-ref_date = lwa_01-ticketdate.
lwa_gm_item_create-prod_date = lwa_01-ticketdate.
lwa_gm_item_create-move_type = '101'.
lwa_gm_item_create-spec_stock = 'E'.
lwa_gm_item_create-sales_ord = lva_saleord.
lwa_gm_item_create-entry_qnt = lwa_05-quantity.
lwa_gm_item_create-entry_uom = lwa_05-unitofmeasure.
lwa_gm_item_create-orderid = lva_prodord.
lwa_gm_item_create-move_mat = lva_formmat.
lwa_gm_item_create-move_plant = lwa_03-plant.
lwa_gm_item_create-mvt_ind = 'F'.
clear t_idoc_data.
move: 'E1BP2017_GM_ITEM_CREATE' to t_idoc_data-segnam,
lwa_gm_item_create to t_idoc_data-sdata.
append t_idoc_data.
else.
clear: lva_loggr,
lva_formmat.
lva_formmat = lwa_05-material.
select single loggr into lva_loggr from marc
where matnr = lva_formmat
and werks = lwa_03-plant.
if sy-subrc ne 0.
clear v_messg.
No logistics handling group - log a warning message.
concatenate 'No logistics handling group for material'
lva_formmat
'in plant'
lwa_03-plant
into v_messg separated by space.
perform write_log_entry
tables t_ldata
using 'W' 'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
v_messg
p_zint_nw
lwa_01-ticketnumber. " RJS
clear lva_loggr.
endif.
if lwa_03-satsur eq 'T'.
lwa_e1edl21-lprio = 30.
else.
lwa_e1edl21-lprio = 20.
endif.
else.
if lwa_03-satsur eq 'T'.
lwa_e1edl21-lprio = 10.
else.
lwa_e1edl21-lprio = ' '.
endif.
endif.
lwa_e1edl21-berot = lwa_04-driver.
move: 'E1EDL21' to t_idoc_data-segnam,
lwa_e1edl21 to t_idoc_data-sdata.
append t_idoc_data.
lwa_e1edl55-qualf = '001'.
lwa_e1edl55-refnr = lva_saleord.
move: 'E1EDL55' to t_idoc_data-segnam,
lwa_e1edl55 to t_idoc_data-sdata.
append t_idoc_data.
Loop at materials - create delivery entry for each
loop at l_it_05 into lwa_05
where ticketnumber = lwa_01-ticketnumber.
clear t_idoc_data.
lwa_e1edl24-matnr = lwa_05-material.
lwa_e1edl24-werks = lwa_03-plant.
lwa_e1edl24-vfdat = lwa_01-ticketdate.
lwa_e1edl24-lfimg = lwa_05-quantity.
lwa_e1edl24-vrkme = lwa_05-unitofmeasure.
lwa_e1edl24-lgort = t_zint_param-zint_fv.
clear lva_loggr.
lva_formmat = lwa_05-material.
clear lva_loggr.
select single loggr into lva_loggr from marc
where matnr = lva_formmat
and werks = lwa_03-plant.
if sy-subrc ne 0.
No logistics handling group - log a warning message.
concatenate 'No logistics handling group for material'
lva_formmat
'in plant'
lwa_03-plant
into v_messg separated by space.
perform write_log_entry
tables t_ldata
using 'W' 'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
v_messg
p_zint_nw
lwa_01-ticketnumber. " RJS
lva_loggr = 'BBIN'.
endif.
if lva_loggr is initial.
move: 'E1EDL24' to t_idoc_data-segnam,
lwa_e1edl24 to t_idoc_data-sdata.
append t_idoc_data.
endif.
endloop.
clear: lva_xabln,
lva_vbeln,
l_vbfa.
Matching ticket against a Delivery?
select single xabln vbeln into (lva_xabln,lva_vbeln) from likp
where xabln = lwa_01-ticketnumber.
if sy-subrc = 0.
If found, does this delivery match the sales order?
select * from vbfa into l_vbfa
where vbelv = lva_saleord
and vbeln = lva_vbeln.
exit.
endselect.
endif.
No matching delivery found, or Matching delivery, but for other Sls Ord
if lva_xabln is initial
or ( lva_vbeln <> space and l_vbfa is initial ).
if not lva_saleord is initial.
perform create_delivery_idocs tables t_zint_mslog
using s_idcgp
lwa_01-ticketnumber
p_zint_nw.
else.
concatenate 'Error finding a Sales Order for ticket "'
lwa_01-ticketnumber
'" reprocess the file AFTER'
' the sales order issues have been fixed'
into lva_outtext.
perform write_log_entry tables t_zint_mslog
using 'E'
'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
lva_outtext
p_zint_nw
lwa_01-ticketnumber. " RJS
endif.
else.
concatenate 'Command Ticket "'
lwa_01-ticketnumber
'" has already been processed into delivery "'
lva_vbeln
into lva_outtext.
perform write_log_entry tables t_zint_mslog
using 'I'
'ZINT_CSTPORD_ROUTINES'
'PROCESS_INBOUND_DATA'
lva_outtext
p_zint_nw
lwa_01-ticketnumber. " RJS
refresh t_idoc_data.
endif.
endif.
refresh t_idoc_data.
Write out all messages collected so far
perform update_data tables t_zint_mslog
using p_zint_id p_zint_ty.
endloop.
Write out all messages collected so far
perform update_data tables t_zint_mslog
using p_zint_id p_zint_ty.
endform. " process_inbound_data
Thnaks
RegardsThanks
Thread closed -
How can read BOM component date before save the production order??
Hi Experts,
In our company, we need to develop a program to read the BOM component data of the production order
before we save the production order.
That for example ,when we create and release a production order , before we save the production
order,we want a porgram to read the BOM component data. If some component data can meet our
requriement (may be if there is material requirement quantity>100 EA),then the system will pop up a
small dialog box to remind us.
There is user exit PPCO0007 and PPCO0007.But it seems they only can read the head data of the
production order before we save the production order. And the BOM component data of the production
order are saved in the RESB(Reservation Table).So if we do not save the production order,all the BOM
component data are not saved in the RESB table.
So how can slove the problem??
How can read component date before save the production order??
Are there any other user exit we can use???Hi Just wanted to check am I right that you are trying to check if you have enough Materials Available before you release or Save the order right ? if this is your business objective then when you create order you have material availability tab which checks and gives error if shortage is there. Please let me know if is this wht you asking for ?
-
How to settle the production order variance to 3 GL account
dear all
i met a problem in the project ,the customer need see the production order variance category detail for (material,routine,overhead variance) in FI report ,so it need to settle the variance to at least 3 GL account
i don't know how to configure it ,i try to use result analyse like wip ,but go failed
do you have some suggestion
thank youHi ,
Through Standard SAP .. the same it not possible . Standard SAP will post the differences to one GL account ..The variance amount is not segregated..
The way out is to use report KKO0 .( Product Costing Drill Down Reports ) in CO . There are many reports available .. and you can compute the difference in CO Reports and manually make an entry in FI by manually reversing the original variance account and posting it to cost component wise variance accounts ..
To use the KKO0 report.. please perform the following tasks :-
1. Assign cost component structure in transaction OKN0 ( Date Extraction/Product Drill Down) tab.
2. Product Group Type = Material group..
3. Run KKRV after period end every month to collect the data for drill down reporting..
Please revert back for any further clarifications
Regards
Sarada
Sarada -
How to delete the production order in mass?
Dear Experts
Please tell me how to delete the old production orders?Raja,
CO78 is a one stop transaction for production order setting deletion flag, deletion indicator, archiving and finally deleting.
Generally we schedule the following programs in background in the sequence below,
1. PPARCHP1 for Setting Deletion Flag
2. PPARCHP1 for Setting Deletion Indicator (Once set cannot be revoked- so care should be taken in selection of orders)
3. PPARCHA1 for archiving the production order with Deletion Indicator active. Basis should set the database/storage space for archiving/storing the records.
4. PPARCHD1 for Deleting the records from SAP database.
Regards,
Prasobh -
How to Find Out The Production Order Number For The Sales Order Line Items
Hi All,
I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK. or in table AFPO.
Regards,
Rich HEilman -
Automatic creation of production order against the sales order.
Hi Experts,
My client requirement is he wants the production order to be generated or created automatically as the sales order is created, please suggest weather it is possible or not.
Regards,
Naveen.
Edited by: vaddapalli naveen on Mar 13, 2010 9:03 AMHi,
It is possible by selecting proper Planning strategies.
Example you can use the planning strategy Assemble to order with Production order, it is possible.
please refer the below help link for more details,
http://help.sap.com/saphelp_erp60_sp/helpdata/en/41/191eb845fd11d188ff0000e8322f96/content.htm
Thanks,
R.Loganathan -
HI, its my first time buying apple product from online, I'm from Sarawak, Malaysia, i would like to know what type of post/delivery service will be used to deliver the product i ordered to my house address.
iPhones, iPads, iPods are dispatched from China. Apple accessories are dispatched from Singapore. The carrier is FedEx.
Online purchases could be delivered to office addresses or home addresses. Track your item through the email sent by Apple. If necessary, you could change the delivery address to your office one. -
SD-PP Availability to include the production orders
Dear All,
Our client has a production plant which produces for 3 differennt sales departments as below
1) Distriibution
2) Retail
3) KSA
The production for each department is done seperately with seperate production orders whcih have seperate MRP Areas.
I have 3 sales order types for each depatrtment
ZOR1 - Distriibution Sales Order
ZOR2 - Retail Sales Order
ZOR3 - KSA Sales Order
The production orders are included in the availability scope but when i do the availablity in any of the above SALES orders it is including all the production orders for all the departments
How can i restrict the availabilty in each sales orders to respective production orders of each departments.
Kindly Advise
With Regards
Mohammed RaeesI faced the same issue in my previous projects..
As my understanding, there s a conflict between SD and PP module.. If you use MRP area, the ATP checking scope in PP side can be split into at least 3 levels, plant level, MRP area level and storage location level.. But in SD side, only 2 level are aviliable, plant level and storage location level, since you can not input MRP area directly into sales order, while what you can do is just to input plant (this is mandatory) and storage location (optional) and the MRP area is determined by the storage location you input in the sales order.. But once you identify a storage location in sales order, actually, the ATP scope is against storage location instead of MRP area..
In 2 of my previous projects, this requirement was raised.. But I m luckly enough..
The products / inventory management is not complicated in one of the progects that user can accept storing their finish goods into a 'fixed' storage location for each for MRP areas, i,e. for storage location 1001 is the only storage location for finish goods for MRP area 001, while 1010 is for MRP area 010...In the other project, they need to store their finish goods seperately based on different requested storage enviroment..But we use WM in this project that the storage locations for finished goods are still 'firmed' for each MRP area..
Based on this pre-condition, my solutions is to use a user-exit in SD to populate the storage location in sales order accordingly..
Hope above helps.. And kindly share with me if you find out the solution for 'multiple storage location in the same MRP area'
Maybe you are looking for
-
Hi, i have oracle 10.2.0.1 client installed on my windows platform and i have 10.2.0.1 solaris database server. when i lunch the following command from windows client's sqlplus: ALTER SESSION SET TIME_ZONE='+01:00'; ALTER TABLE TABLE_TIME_STAMP SPLIT
-
Mac Or PC. Virus free or not?
This is more for S... and giggles than anything else, but I want to know if people have the Answer. Which is better, PC's or Mac's? And the bigger question, What makes macs (Unix based) get less if any Viruses?
-
Code Signing certificate expired
Hello, I please need an information about SGDEE 4.1 login applet: it seems applet code signing certificate was expired on September 2, 2005. I have no problem (after I deleted all expired root certificates from local client repository) with Internet
-
Extract data from RMS to BI.
Hi experts, I wish to know if its possible to extract data from CRM RMS using BI (7.0). I have read in other topic that it doesn't exist any standar way to do it (using Bussines Content), but that topic was answered some years ago. ¿do you know if th
-
Catching exception thrown by Native program
I am calling a C++ DLL from java program. If there is any exception in the DLL, the java program exits by itself. I want to know how I can catch the exception thrown by the native program. Any help is appreciated. Thanks in advance. Sridhar