Settle PP Orders to SD Order items using KO8G in a MTO Scenario
Hi
I've set a Make_to_Order scenario for a company.
I need to settle the cost collected onto PP Order to the relative Sales Order Item.
When I use the KO88 transaction, i can settle a single PP order without problems, but when I try to use the KO8G transaction for a mass settlement, the system issue the message KD233 No settlement for this Sender, in both Foreground and Background processing mode.
Somebody has an idea how to solve this issue ??
Why is possible settle a single Order with KO88, but teh system reject the same operation with KO8G transaction ??
Thanks id advance for your help
Kind regards
Claudio
HI
Solved by myself.
The right transaction to use is CO88 and not KO8G used for CO and PM Orders.
Claudio
Similar Messages
-
Background Batch Procesing for Settlement of Orders via Tcode KO8G
Hi Experts,
I am looking for document to explain the steps involved in creation of Background Batch Processing for Settlement of Orders through TCode KO8G.
In case no document may be available, can anybody pls explain the steps for the same.
Thanks in advance & Regards
Piyush KothariHi,
- enter parameters or choose a variant for KO8G
- click F9 or choose program->execute in background (from menu bar)
- schedule job; choose immediate or a time to run
- check SM37, if job is finised
- go to SM35, process the job
Rgds. -
How to set "Configuration Variant" for a sales order item using function
Hello All,
I use function module 'SD_SALES_DOCU_MAINTAIN' to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
Is their any idea or sample code?Hi Zhijun zhang,
<u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
<u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
The first link will guide you by screen shot wise.
Award points if it adds information.
Thanks
Mohan -
How to split the Order items using standard procedure
Hi All,
I am a BW Consultant and currently working for Sales Module. I have one question regarding the Order Item changes in VA02. For example a user creates one SO with Item 10 and the quantity is 1000. Later they want to split this Order into two i.e. they change the first item quantity to 500 and create another item (20) with Quantity 500 .Users are doing this ,because of allocation process.
Now I would like to ask whether this is a standard procedure to follow.I have no issues with the new item , I am not sure how they are changing the first order item qty in VA02, because Qty is greyed out . My assumption is, they are deleting the item first and then recreating with the new quantity.
Hence I would like to check is there any other option/process available to change the quantity and also would like to know whether it is a standard procedure? Reason I am asking this question is,extractor is not picking the correct records.Hence I suspect this is not a standard procedure to follow.
Please advice .Thanks for your time.
Thanks.hi raja,
go to shedule line data of position 10
here you want to have 1000 pcs for the 18.12.2009
change her into
500 pcs for the 18.12.2009 and
500 pcs for the 21.12.2009
at 18.12.2009 you will get adelivery of 500
at 21.12.2009 you will get the rest.
in total, the Position has 1000 pcs.
hans -
Configured Sales Order Items using BAPI_SALESORDER_CREATE
Hello
I am trying to use the BAPI_SALESORDER_CREATEFROMDAT2 to create a Sales Order for a Configured Item .
I get my item on the Sales Order but no Configuration Data behind it .
I am populating the the order_items_in & order_items_inx tables and linking using po_itm_no fields .
I am also populating the order_cfgs_ref , order_cfgs_inst , order_cfgs_value fields with the relevant Characteristics data .
I have looked at the SAP Note 549563 and can see no differences between the info on that and what I am doing .
Does anyone have any advice or experience of doing this ?
Regards
PaulHi all,
I managed to create a dummy sales order in SAP R/3 using the DCOM Connector and Borland Delphi 7.0 Professional.
Hoping the below listed example will help, here we go:
ctrlBAPI: TSAPBAPIControl;
var
order, header, items, partners, ret: Variant;
try
order := ctrlBAPI.GetSAPObject('SalesOrder');
header := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'OrderHeaderIn');
items := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'OrderItemsIn');
partners := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'OrderPartners');
ret := ctrlBAPI.DimAs(order, 'CreateFromDat1', 'Return');
// The values....
header.Value('DOC_TYPE') := 'TA';
{ the order type is as you see it when you log in with language 'DE' }
header.Value('SALES_ORG') := '2000';
header.Value('DISTR_CHAN') := '10';
header.Value('DIVISION') := '10';
header.Value('REQ_DATE_H') := now;
header.Value('PURCH_NO') := 'Test BAPI Delphi';
partners.Rows.Add;
partners.Value(1, 'PARTN_ROLE') := 'AG';
{ The partner function is as you see it when you log in with language 'DE' }
partners.Value(1, 'PARTN_NUMB') := 'M9531057';
// Line 1...
items.Rows.Add;
items.Value(1, 'MATERIAL') := '000000000000000354';
items.Value(1, 'REQ_QTY') := '00000003';
// Line 2
items.Rows.Add;
items.Value(2, 'MATERIAL') := '000000000000003595';
items.Value(2, 'REQ_QTY') := '00000005';
// Insert this order in R/3...
order.CreateFromDat1( OrderHeaderIn := header,
OrderItemsIn := items,
OrderPartners := partners,
Return := ret);
ShowMessage('Return type: ' + ret.Value('TYPE') + #13 + 'Message: ' + ret.Value('MESSAGE'));
except
on E:Exception do
ShowMessage(E.Message)
end;
If you need more help, do not hesitate to ask,
Bogdan CIOC -
Settings for Purchase Order output using services for MM-SUS scenario?
Dear Gurus,
I am configuring the service procurement classic and plan driven procurement for MM-SUS
environment. We are on SAP SRM 7.01/ECC 6 EHP5.
I need to maintain the below settings for PO output:
1. RUN transaction SWETYPV
2. IN the object types field, enter CL_SE_PUR_WF_OUT.
3. In the event field, enter CREATED.
4. In the receiver type field, enter WS53800008.
5. In the receiver function module field, enter SWW_WI_CREATE_VIA_EVENT_IBF.
6. Select the 'Linkage Activated' checkbox.
7. Save your entries.
Similarly, one more entry for the event CHANGED.
However, the system is not allowing me to save the settings.
If I choose BOR Object Type 'CL_SE_PUR_WF_OUT', it gives an error message 'Object type CL_SE_PUR_WF_OUT is not defined'.
If I choose object category 'Business class for object type CL_SE_PUR_WF_OUT, it gives an error message 'Class CL_SE_PUR_WF_OUT is not a business class.'
There are similar entries in the table SWETYPV for object type CL_SE_PUR_PO_WF_OUT' with object category CL.If we copy the entries and tries to replace the
object type 'CL_SE_PUR_PO_WF_OUT' with CL_SE_PUR_WF_OUT and save it, it gives an error message 'CL is not used for workflow event'.
Could you please help me on how to configure the settings for PO output from ECC system using services?
Any input is highly appreciated.
Thanks and regards,
RanjanHi Ranjan,
Please add the value 'CL' in the table SWF_CATIDS
Then it will work.
With Regards,
Malay -
Document contains some order item more than once - invoice verification
Hi,
we have one cross company stock transfer process in which when a billing is created in SD side, an IDOC will be triggered automatically and create an invoice verification at the MM side.
The problem is some of our billing of this process having an IDOC application error that said.
Document contains same order item more than once
Message no. M8321
Diagnosis
Under the following circumstances, you can settle an order item in an invoice received via EDI more than once:
- Goods-receipt-based Invoice Verification has been defined for the order item.
- The IDoc contains the delivery note numbers of the goods receipts.
System Response
If this is not the case, the system cancels posting of the IDoc.
Question:
1 - The funny thing is IDOC showing 51 IDOC error code message on status record of INVOIC. But the invoice verfication get created in PO history.
2 - I think this error is because we need to make the PO as GR-based Inverifcation. We have flagged it in Vendor master, and Info record, but this indicator is not flag automatically in the PO (and we cannot manually change the PO as this indicator is grey-out). How?
3 - how to solve this error?
ThanksOnce PO history is created, you cannot change the "GR-based-IV" flag. Two options are there before you.
1. Cancel all the GRs & Invoices posted in the STO then system will allow you to update the GR-based-IV flag. After updating this flag repost the GRs and invoices.
2. Create a new STO, now since you have updated the vendor maser & info-record, this flag will automatically get updated during the STO creation itself.
First option is tedious and should be selected only if you can go option 2 is not at all feasible -
Hey Guys,
I am using internal orders as capital investment programs.
These are the steps i did
1- created the order( AUC gets creted automatically)
2- entered the budget
3 Posted to the order
4- settled it- Using processing type 1( automatic)- after settlign the settlement rule populates through config. This moves the cost from the IO to the AUC
now i need to settle the order again using processing type 8( full settlement) to move values from the AUC to the asset.
It gives me the message that there is nothign to settle or the order is settled.
am i missing any step?
please advice
THanks,
ZaidThanks for the reply-
my settlement rule is
CAT recevier percent settlement
FXA 3-0 100 AUC
This settlment rule comes up automatically once i settle the I/O.
I need to add a settlement rule below this?
please clarify
Thanks,
Zaid -
Project Revenue Plan Not Update from Sales Order Item
I am generating a network and project from the sales order item using Assembly processing. I am using milestone billing on the sales order item and the milestones attached to the project network activities are appearing as billing blocks on the sales order item billing plan. However, the project revenue is not getting updated from the sales order billing plan. Can someone please help?
I have deleted the billing plan on the billing WBS element and activated revenue planning update from sales order in cusomization for PS. I am looking at CNS41 under the project revenue sched in version 0. Is there a different report I should be looking at?
Regards,
Venkat.HI Venkat,
You are looking at the correct report & I believe you have also done the necessary customization. If you create a sales order and reference it to a quotation, the related plan values in the WBS element are refreshed automatically.
When the payment data is recorded, the terms of payment and the customer payment history are taken into consideration. One of the probable causes could be the credit limit of the customer might have been exceeded. Take help of your SD consultant & increase the credit limit for that customer (from the sales document), t-code FD32 if it is permitted in the business.
After the new credit limit is set execute the following steps:
u2022 Go to the t-code Change billing request (VA02)
u2022 Open the required billing request
u2022 Remove the account assignment of WBS element from each line item
u2022 Save the billing request
u2022 Reopen the billing request in change mode
u2022 Reassign the WBS elements to all line items
u2022 Now the changed credit limit will take affect
u2022 Check the Planned Revenue for the said project in CNS41, it should get updated.
Rgds
Deepak -
How to default Delivery Priority on Sales Order Items from Ship To?
Is there a way to pull the Delivery Priority from the Ship To partner when creating sales order items rather than pulling from the Sold To partner? I've checked all of my documentation -- including OSS notes; searches on SDN, IT Toolbox, and internet. This doesn't appear to be configurable. Can someone confirm that or tell me how to configure? If not configurable, what is the recommended user exit?
Thanks!Thanks for responding - you are the first person to do so. Unfortunately, I think you missed the point of my question. We do not want to create and maintain customer materials - the delivery priority is in generally not material dependent. We simply want to be able to have the Sales order item use the Ship To partner's delivery priority rather than the Sold To partner's delivery priority as the default delivery priority on the sales order items. Ideas on how to do that?
-
Hi expert,
I have an urgent requirement from the client.
Delete the sales order item totally in ECC.
I planned to implement this enhancement in ECC. Check the data in BDOC from CRM middleware, according to the user status in the order item,decide whether the item can be deleted.
My question is,where can I settle this enhancement? The BADI name,user exit?
Thanks in advance.
Jerry.Hi Jerry,
It may be delayed. you may found the solution.
Use BADI CRM_DATAEXCHG_BADI and try the code in MBDOC_FILL or BAPI_FILL method.
Regards,
Bala -
Hi gurus,
I m settling a sales order item and the system uses exchange rate M
This is not the expected reaction as for sales deduction amounts are translated
by daily rate. Can someone please comment?
RahjivHi
Please check notes
201445 Info: Currency translations in settlement
1320586 Info: Currency translations in settlement to COPA
explaining the way the system handles currency translation in settlement
hope this helps
Guido -
Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI
I am having a problem when creating a sale order using BAPI
BAPI_SALESORDER_CREATEFROMDAT2
Problem is that sale order item quantity field is not populating
code is as follows
ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
ORDER_ITEMS_IN-TARGET_QU = 'LB'.
ORDER_ITEMS_IN-TARGET_QTY = 1.Hi,
Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
Regds,
Rudra -
Changes to sales order item not reflected if Call Transaction is used
I m updating another Sales Order item quantity and reason for rejection programmatically from another sales order.
The code is working fine and the quantity does get changed as well as the reason for rejection flag get set (if required). But if I go to the change log from the menu in VA02 for the order item which has been changed. It does not record the changes.
I have tried using both BDC call transaction method as well as BAPI_SALESORDER_CHANGE in neither case the change log for the order which has been changed reflects the programmatically made changes?
What m I doing wrong. Here is the code.
IF v_update_order_flg = 'X'.
REFRESH t_bdcdata.
CLEAR s_bdcdata.
REFRESH t_messtab.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'VBAK-VBELN' <wa_r_rtb_posnrs>-zrtbvbeln.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
For Going to specific Item Number
LOOP AT t_schedule_lines.
PERFORM bdc_field USING 'BDC_OKCODE' '=POPO'.
READ TABLE t_item_in WITH KEY itm_number = t_schedule_lines-itm_number.
PERFORM bdc_dynpro USING 'SAPMV45A' '0251'.
PERFORM bdc_field USING 'RV45A-POSNR' t_schedule_lines-itm_number.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSI'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
v_ro_qty = t_schedule_lines-req_qty.
CONDENSE v_ro_qty.
PERFORM bdc_field USING 'RV45A-KWMENG(01)' v_ro_qty.
PERFORM bdc_field USING 'VBAP-ABGRU(01)' t_item_in-reason_rej.
ENDLOOP.
PERFORM bdc_field USING 'BDC_OKCODE' '=SICH'.
v_call_transaction_flg = 'X'.
EXPORT v_call_transaction_flg TO MEMORY ID 'call_transaction'.
CALL TRANSACTION 'VA02'
USING t_bdcdata
UPDATE 'S'
MODE 'N'
MESSAGES INTO t_messtab.
v_call_transaction_flg = space.
FREE MEMORY ID 'call_transaction'.Hi Srikrisna,
This is a typical problem with BDC for updating QUANTITY and CURRENCY fields.
You need to create a character variable of the same length as your quantity field. Move your quantity value to the newly created Character variable.
Now use this new char variable in the BDC.
This correction should solve your problem.
NOTE: BDC RECOGNIZES CHARACTER FIELDS ONLY.
Regards,
Prakash Pandey -
Req:Download of purchase order item details using ALV oops
Hi all,
How to download the purchase order item details using ALV oops from the output of header detailsHi all,
How to download the purchase order item details using ALV oops from the output of header details
Maybe you are looking for
-
How to print an envelope in pages 5.0
How to print an envelope in pages 5.0
-
How does iCloud Photo Library backup photos & save iCloud space
I was reading about how to free up some space on my iCloud account (5GB). Since the Camera Roll is the only thing that is backed up to iCloud, I would periodically import all my photos to iPhoto and delete them from my device. This would make the Ca
-
Good day I synced my iPhone4s with my laptop and loaded music on it, I then tried to upload the music from the same computer to a different iPhone4s and it deleted all the photos and data and replaced it with mine, is there a way to recover the lost
-
Define structure with table type fields using keyword "TYPES"
Hi Gurus, Using keyword "TYPES", I want to define a structure in which there is a field must be table type. It seems not allowed. For example: TYPES tt_items TYPE TABLE OF sflight. TYPES: BEGIN OF str, field1 TYPE i, field_tabl TY
-
CS3 Check Spelling dialog problem
There seems to be a bug with the Dialog box for Check Spelling. If you right click on the blue bar at the top of the dialog and choose Minimize or Maximize. The dialog box will always keep that setting. I have not been able to find a way to Restore t