Partiral delivery of sales items in a service order brings the order header to in process
Hello Experts,
I am currently working on CRM 7.0, EHP 1.
I am creating a service order in CRM and the sales items in the order are replicated to a sales order in ECC. The header system and user status at this point is Released.
On creating a partial delivery for the sales items, the header of the service order is set to system status In Process. This doesnt allow creation of a confirmation because the header is no more released.
Is there a note to stop the system status change to in process ?
Thanks &Regards,
Itisha
Hi Rohit,
It is ideally required to have both higher item and subitem in delivery. However the moment there is a sub item, the delivery quantity for higher level item becomes 0 and hence this will not affect the quantity to be delivered. Hence the presence of higher level item will not impact the delivery or PGI in anyway. You can check this.
Similarly for billing, you can check the Billing quantity field in copy control between delivery and invoice. The value has to be either G or H based on the scenario you want.
Having said all these things, I think just adding the customer entered material either in the customer material field in sales order (I think VBAP-MATWA) or in some other Z field will relieve you of this big complexity. So unless or otherwise your customer i adamant on this, you can think of a simpler solution than the multiple levels of items.
Similar Messages
-
Hi Team,
Can anyone help us to solve the issue in credit control process..our requirement is stock reservation should happen in sales order even if the sales order value is above the limit in customer master..
Please share the configuration ..
We tried many things but not working properly..
Thanks,Hi Shiv,
thanks for the help
in this note , the point number 9 mentions that the result of rescheduling and manual stock reservation will be different if there is credit check in sales order.
is there any way to solve it? it is because our product list is so high..i run V_V2 for 1000 items for 800 items reservation happened propelry and for 200 V_V2 didnt confirm for some orders for the same do we need to run manual ATP??
Thanks to help us -
Help! losing sales orders in the order list from cumulative value VK13
Hi Experts,
Now we are facing a problem that when user going to check for which orders the condition record was used, the T-Code is VK13.
Path: VK13 -> Display the condition record -> additional data -> Extra -> Cumulative values -> First Sales orders
they found some orders are missing in that list, but in previous system, the list was included all the order numbers which used this condition record, so it's confusing for them to tracking the utility of this condition record.
Can anyone share your idea on it such as 1. whether user exit exists there, what the user exit name? 2. whether configuration should be changed, which configuration should be modified, your idea will be highly appreciated!Sorry for confusing, the thing is only the first 3 orders of individual month will be displayed. No issue now
-
Stop delivery & invoice if there is a OPC status on the order
Hi All,
I have to set OPC status on the order if there is a orphaned condition in the order and at the same time should prevent order to get delivered or invoiced...
can anyone help me out how to prevent order to deliver or invoiced when it has a OPC status ???
Pls help me out...thanks for the quick reply......Does anybody know the specific user exit or badi name to prevent delivery or invoice....
-
Any ideas?
Hi,
If orderitem and parts are the only tables involved, and each orderitem references only 1 part, then it's pretty simple: just update parts, like this
UPDATE parts
SET qoh = qoh - :NEW.quantity
WHERE part_num = :NEW.part_num;
If you can modify filled orderitems (e.g., DELETE orderitems or change the part_num after the order is filled, or change the status from filled back to unfilled then it's more complicated; you might have UPDATE the :OLD.part_num as well as the :NEW.part_num
I hope this answers your question.
If not, post your best attempt, along with a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Since you're asking about a DML statement, such as UPDATE, the sample data will be the contents of the table(s) before the DML, and the results will be state of the changed table(s) when everything is finished.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
SCHEDULE AGREEMENT-DELIVERY SCHEDULE LINE ITEM PRINTING
Scheduling agreement is created in ECC.
Delivery schedule line items are generated using APO and CIFed over to ECC.
Upon displaying in ME38 in ECC, the delivery schedule line items are appearing as required. The problem is that no output type is displayed for condition type LPET even though the settings are done & condition records are maintained.
Can someone throw some light on this?Hi Anil ,
Goto Transaction NACE , Select Application EL and then Click on O/p Types.
Select your o/p and click on Processing routines.
Make a copy of medium 1 and change it to 5. The program , Form , Form routine would remain the same.
Maintain condition records with medium 5 in MN10.
Ensure that email address exists in Vendor Master.
Check with ur Basis to make sure that the setting are done in Transaction SCOT for sending document via PDF.
Create a new Agreement and test it.
Regards
Ramesh Ch -
Unable to add line item to a Service Ticket!
Hi Expets,
I am facing some difficulty in adding a line item to a service ticket. The service ticket is not getting saved.I think I am missing some parameter to be passed to CRM_ORDER_MAINTIAN.Please find below my coding:
lv_product_i-ref_handle = '0000000002'.
lv_product_i-process_qty_unit = 'EA'.
INSERT lv_product_i INTO TABLE lt_product_i.
ls_orderadm_i-header = lv_header_guid.
ls_orderadm_i-ordered_prod = 'SERVICEITEM_SG5'.
ls_orderadm_i-handle = '0000000002'.
ls_orderadm_i-mode = 'A'.
INSERT ls_orderadm_i INTO TABLE lt_orderadm_i.
ls_input_fields-ref_handle = '0000000001'.
ls_input_fields-objectname = 'ORDERADM_I'.
CLEAR ls_field_names.
ls_field_names-fieldname = 'MODE'.
APPEND ls_field_names TO ls_input_fields-field_names.
ls_field_names-fieldname = 'ORDERED_PROD'.
APPEND ls_field_names TO ls_input_fields-field_names.
INSERT ls_input_fields INTO TABLE lt_input_fields.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_product_i = lt_product_i
CHANGING
ct_orderadm_i = lt_orderadm_i
ct_input_fields = lt_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
I am also calling the save and commit BADI's after this, but somehow its not working for me.
Can anyone please help me out on this or provide some pointers?
Thanks and Regards,
RohitHi,
I have tried everything, still its not working.
First I tried creating a Service Ticket and adding the line item at one go.Then I was getting status error:
System error: An attempt has been made to create a status object
with the object number DE20131333937DF180C5001372F65D25. However,
a status object with this number exists already.
Code sample given below:
CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
TABLES
header = itab_header
item = itab_item
partner = itab_partner
status = itab_status
text = itab_text
return = itab_return
service_os = itab_service
input_fields = itab_input_fields
created_process = itab_created_process.
Then I tried creating a service ticket first and adding item later.Then there was no dump, but item details are not getting saved. Code sample given below:
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_product_i = lt_product_i
CHANGING
ct_orderadm_i = lt_orderadm_i
ct_input_fields = lt_input_fields
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
Can anybody please help me out on this? What is the correct approach?
Thanks and Regards,
Rohit -
Redetermination for partner no. in sales item
Hi all,
When I change a partner no. (e.g. Payer) in the sales document header > partners, the same partner function "Payer" in all the sale items could be
redetermined and follow the one in the header.
For a customized partner function, how could I force the redetermination in the sales item if I change the one in the header?
Thanks!hi,
this is to infrom you that,
header - this carries over all information of total document
item - it carries its own information on items.
if it is copied from standard partner functions i think it will work.
balajia
Edited by: balaji timmampalli achari on Dec 7, 2010 9:12 AM -
Batch nos for particular Delivery and line item no
Hi Gusy,
I am developing a report, which i need to display the Delivery and item no and batch detail for respective delivery and item. Is any table or function module, if I pass the Delivery and Item no to get the details
Ex: Delivery "80909080" and item "000010",
Thanks,
Gourisankar.Hi,
Check the table LIKP...You can pass the delivery number and item number to get the material and batch.
Once you get the batch number and material number , you can use BAPI_OBJCL_GETDETAIL , to get the batch characteristcis.
Regards,
Nagaraj -
Creating the Sales Order using the bapi BAPI_SALESORDER_CREATEFROMDAT2
Hi,
My problem is , i have created one module pool program for accelerating the Sales Order creation.
I am using the bapi BAPI_SALESORDER_CREATEFROMDAT2 for sales order creation. After executing the program
bapi is given an errot that, incomplete sales order document is saved.
Can any body tell me plz what are the necessary fields i need to take in the header and item level , so that the complete
document will be saved through BAPI.
<removed_by_moderator>
Thanks
Edited by: Julius Bussche on Jan 11, 2010 12:09 PMTABLES: VBAK, "Sales Document: Header Data
VBAP. "Sales Document: Item Data
*************************************WORK AREA DECELERATION************************
DATA: BEGIN OF WA_HEADER,
LI TYPE I, "LINE TYPE
AUART TYPE VBAK-AUART, "Sales Document Type
VKORG TYPE VBAK-VKORG, "Sales Organization
VTWEG TYPE VBAK-VTWEG, "Distribution Channel
SPART TYPE VBAK-SPART, "Division
KUNNR TYPE BAPIPARNR-PARTN_NUMB, "Customer number
END OF WA_HEADER.
DATA: BEGIN OF WA_ITEM,
LI TYPE I,
MATNR TYPE VBAP-MATNR, "MATERIAL NUMBER
ZMENG TYPE VBAP-ZMENG, "QUANTITY
END OF WA_ITEM.
***********************************INTERNAL TABLE DECELERATION***************************************
DATA: IT_HEADER LIKE TABLE OF WA_HEADER WITH HEADER LINE. "IT FOR HEADER
DATA: IT_ITEM LIKE TABLE OF WA_ITEM WITH HEADER LINE. "IT FOR ITEM
DATA: IT LIKE VBAK OCCURS 0 WITH HEADER LINE.
***************************SALES ORDER INTERNAL TABLE DECELERATION********************************
DATA:
HEADER TYPE TABLE OF BAPISDHEAD WITH HEADER LINE, "SALES HEADER DATA
ITEMS TYPE TABLE OF BAPIITEMIN WITH HEADER LINE, "SALES ITEM DATA
PARTNERS TYPE TABLE OF BAPIPARTNR WITH HEADER LINE. "SALLES PARTNERS
***********************************DYNAMIC FIEL PATH GETTING DECELERATION************************
DATA : HL_FIELD_NAME TYPE DYNPREAD-FIELDNAME VALUE 'G_P_SPATH', "SCREEN FIELD NAME
HL_FILE_NAME TYPE IBIPPARMS-PATH VALUE 'G_P_SPATH', "Local file for upload/download
IL_FIELD_NAME TYPE DYNPREAD-FIELDNAME VALUE 'G_P_EPATH', "SCREEN FIELD NAME
IL_FILE_NAME TYPE IBIPPARMS-PATH VALUE 'G_P_EPATH', "Local file for upload/download
FL_FIELD_NAME TYPE DYNPREAD-FIELDNAME VALUE 'G_P_EPATH', "SCREEN FIELD NAME
FL_FILE_NAME TYPE IBIPPARMS-PATH VALUE 'G_P_EPATH'. "Local file for upload/download
DATA : CTR TYPE I .
DATA : CTR2 TYPE STRING.
DATA : CTR1 TYPE STRING.
Sales document number
DATA : L_VBELN LIKE BAPIVBELN-VBELN.
SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE T1.
SELECTION-SCREEN : SKIP.
PARAMETER : P_HPATH TYPE STRING.
PARAMETER : P_IPATH TYPE STRING.
SELECTION-SCREEN : SKIP.
SELECTION-SCREEN : END OF BLOCK B1.
SELECTION-SCREEN : BEGIN OF BLOCK B2 WITH FRAME TITLE T2.
SELECTION-SCREEN : SKIP.
SELECTION-SCREEN : BEGIN OF LINE.
SELECTION-SCREEN : PUSHBUTTON 10(14) UPLOAD USER-COMMAND CLICK1.
SELECTION-SCREEN : END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.
******************************************INITIALIZATION.***************************************************
INITIALIZATION.
T1 = 'Putchase Order Source File Path'.
T2 = 'Push Button'.
UPLOAD = 'Upload'.
*******************************************AT SELECTION SCREE EVENT********************************************
AT SELECTION-SCREEN.
CASE SY-UCOMM.
WHEN 'CLICK1'.
IF P_HPATH IS INITIAL AND P_IPATH IS INITIAL. "CHECKING BTHE THE TEXT BOX
MESSAGE I009.
ELSE.
PERFORM SELECT. "CALLING THE SELECT SUBROUTINE
ENDIF.
WHEN OTHERS.
MESSAGE 'PRESS FORM BUTTON' TYPE 'I'. "WHEN EXECUTE BUTTON IS PRESSED
ENDCASE.
***********************************GETTING HEADER FIEL PATH*******************************************
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_HPATH.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = HL_FIELD_NAME
IMPORTING
FILE_NAME = HL_FILE_NAME.
P_HPATH = HL_FILE_NAME.
***********************************GETTING ITEM FIEL PATH*******************************************
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_IPATH.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = IL_FIELD_NAME
IMPORTING
FILE_NAME = IL_FILE_NAME.
P_IPATH = IL_FILE_NAME.
START-OF-SELECTION.
*& Form SELECT
text
--> p1 text
<-- p2 text
FORM SELECT .
CALL FUNCTION 'GUI_UPLOAD' " function resposible to get the local flat
EXPORTING " and upload it in a internal table
FILENAME = P_HPATH
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = '#'
TABLES
DATA_TAB = IT_HEADER.
CALL FUNCTION 'GUI_UPLOAD' " function resposible to get the local flat
EXPORTING " and upload it in a internal table
FILENAME = P_IPATH
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = '#'
TABLES
DATA_TAB = IT_ITEM.
LOOP AT IT_HEADER.
Initialize Header values
HEADER-DOC_TYPE = IT_HEADER-AUART.
HEADER-SALES_ORG = IT_HEADER-VKORG.
HEADER-DISTR_CHAN = IT_HEADER-VTWEG.
HEADER-DIVISION = IT_HEADER-SPART.
APPEND HEADER.
PARTNERS-PARTN_ROLE = 'WE'.
PARTNERS-PARTN_NUMB = IT_HEADER-KUNNR.
APPEND PARTNERS.
CTR = 10.
LOOP AT IT_ITEM WHERE LI = IT_HEADER-LI.
CTR2 = CTR.
CONCATENATE '0000' CTR2 INTO CTR1.
***Initialize Item values
ITEMS-ITM_NUMBER = IT_ITEM-ITEM.
ITEMS-ITM_NUMBER = CTR1.
ITEMS-MATERIAL = IT_ITEM-MATNR.
ITEMS-REQ_QTY = IT_ITEM-ZMENG.
APPEND ITEMS.
CTR = CTR + 10.
ENDLOOP.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
ORDER_HEADER_IN = HEADER "SALES HEADER DATA
IMPORTING
SALESDOCUMENT = L_VBELN "RETRIEVED SALES DOCUMENT NUMBER
TABLES
ORDER_ITEMS_IN = ITEMS "SALES ITEM LEVEL DATA
ORDER_PARTNERS = PARTNERS. "SAKES PARTNERS
APPEND L_VBELN TO IT.
COMMIT WORK AND WAIT.
CLEAR : HEADER , ITEMS[] ,PARTNERS,CTR,CTR1,CTR2.
REFRESH : ITEMS.
ENDLOOP.
IF IT[] IS NOT INITIAL.
LOOP AT IT.
WRITE: / 'SALES ORDER', IT-VBELN , 'CREATED'.
ENDLOOP.
LEAVE TO LIST-PROCESSING.
SET PF-STATUS SPACE.
ELSE.
MESSAGE I044.
ENDIF .
ENDFORM. " SELECT -
Dear Sir/Madam,
Recently, I was ordered the iphone 4 (8G) in HK and got the status of receiving the iphone on date 26-Nov or before. However, I haven't receive any iphone on that day so i was contact the apple hotline on monday morning (office hr, mon-fir, 9-6). They said i can cancel the order and wavie the cancel order charge. At this moment, i believed that this is settled.
However, afternoon in same day, Apple's customer service told me that i can't wavie the cancel order charge and suggest me to accept the order. If i can't accept the order, they will charge me 15% order fee. So i confirmed them to receive the order on next day again.
On next day (tuesday), i waited the order, but the order was not delivery to me (result dhl was delivery it to apple store). I was angry to contact your customer service, they replied me to say "I don't know why" and convinced me to "accept it devliery on the next day". At this moment, they made me very disappointed. So, I tried to apply the cancel order again, they said if you cancel order, you will need to pay 15% cancel order fee.
Up to now, the order was delayed two working days. I suspected the delivery date was incredible. How do i trust your product delivery on time?
And I am so argry that why your order cannot delivery to me on time and why if your order cannot delivery to me on time, can i waive the cancel order charge?
My order number: W239678975
Thx a lot.
your faithfully,
George@Dougnvic, no need to worry because I'm here to help! The vibrate function is very important especially when you're in a situation where you cannot have the ringer turned on.
If we replace your phone through the warranty you are only charged for the equipment if there is any damage on the phone. The normal wear and tare is expected and you will not be billed for the phone because of these scratches.
Once the phone is received it is inspected for any physical or liquid damage. If damage is found you are then billed for the phone and the charge will appear on your bill. You will also receive a text message advising you of the charge. Once you are billed the charge cannot be removed even if you return the replacement.
If you change your mind and do not want to have the phone replaced you can just return the replacement once you receive it and keep your current phone. Just use the prepaid return label that will be inside the box of the replacement.
If you are sure there hasn't been any damage then there is nothing to worry about. You will not be charged. You can also take the phone into a store and have a store representative take a look at the phone before you return it, if that makes you feel better.
John B
Follow us on Twitter @VZWSupport -
Cannot get the Service No from the subitem in a PO
Hi all.
What I wanna do is to get the service number within a position in a purchase order. I've tried function MPN10_READ_POSITIONS wich brings me all the data of the sub item except for service number. The function fills and internal table i_POT with PO number (EBELN), PO position (EBELP) and the service package number (PACKNO) among others. I though that by accessing with these three elements in table ESSL, I would be able to get the service number. Got no lucky,u2026u2026so, does anybody know how to get this information from the PO?I got it. Bye.
-
Table which links Service PR and PM Order
Dear All,
Can anyone help me to find the Table name where i can find Link Between Service PR number generated automatically for External Service Orders with the Order number.
Thanks in advance.
Shailesh PanchalHi Shailesh,
I would suggest you to check the fields
EBKN-BANFN /-BNFPO,
EBKN-AUFNR,
EBAN-ESTKZ
AFVGD-BANFN
Regards,
Edit -
Delivery document - sales order - no stock items
Hello,
when we create a delivery document out of a sales order, we face the problem that certain material items in the sales order with no stock will be copied to the delivery document. Other materials that have no stock will not be copied into the delivery document.
Where in SAP can I do the customizing for that situation?
Thanks
Anne> when we create a delivery document out of a sales order, we face the problem that certain material items in the sales order with no stock will be copied to the delivery document. Other materials that have no stock will not be copied into the delivery document.
> Where in SAP can I do the customizing for that situation?
Generally when Availability check is active system should not copy the Material which are not available. I can think this may be because of following reason
1.. Check your configuration of the Item Category using 0VLP. There is stock determination rule fields, i dont have access to SAP so not sure but please check whether there is any setting.
2. check in copy control VTLA for the item category whether you have maintained the following:-
Order requirements-->101
Item data-->101
Update document flow-->X
Pos./neg.quantity-->+
And if these seems ok, Then you have to check the routines in the copy controls.
Thanks,
Raja -
Delivery from sales scheduling agreement with one item per schedule line
Hi all,
I have a sales scheduling agreement where the same part number has 3 different JIT schedule lines and I need to create a delivery with 3 item lines: every item line of the delivery has to be referred to one schedule line of the scheduling agreement.
When I create the delivery with transaction VL10E it has only one item line and its quantity is the sum of the 3 schedule lines of the sales scheduling agreement.
I've tried to change the customizing of the User Role, choosing the Split Schedule Line = 2 ("One item per schedule line") but the delivery is created again with only one item line.
How can I solve this issue?
Thanks in advance for replyDear Alex
The SAP standard behaviour is that all schedule items with delivery date in the past have to be rescheduled anyway to one date and are combined therefore.
Partially this behaviour can be influenced in VL10* by 2 parameters in
the user role : Split per sched.line and Rule (delivery qty).
Please find below informations about these different parameters
"Split per sched.line propose you 3 Rule for creating one delivery item
per schedule line. In a delivery list in item view with multiple
schedule lines, you can decide for the same document item whether you
want to generate one delivery item per schedule line or whether you want
to deliver the cumulated quantity of the last schedule lines selected.
About rule for delivery quantity, the following rules are currently
implemented:
1. No cumulation
The open schedule line quantity to be delivered is the quantity at which
the list line is delivered.
2. Sum of all open schedule line quantities to be delivered that fall
before the chronologically latest date in the to field (following the
Deliv. creation date field) of the selection criteria.
3. Sum of all open schedule line quantities to be delivered whose
delivery creation date falls within the selection time frame (between
the dates in the Deliv. creation date and to fields, respectively),
making the calculation of the quantity to be delivered consistent with
selection criteria. However, calculationof the quantities delivered with
the order's schedule line quantities is not affected."
Hope this helps.
Regards
Tonia
Maybe you are looking for
-
No Message: Write to Fact table.
Hi ALL, Source: ECC 6 Target: BI 7.3 We are Transferring 2LIS_13_VDITM Datasource---->> 0SD_CO3 Infocube . After Data Replication , 1. Data Transferred to PSA . 2. During Transformation Creation Manuel Mapping is performed . Activated . 3. During DTP
-
While dragging and dropping text on Mail sometimes is copied instead of moved
When composing a message under Mail it happens that a word needs to be cut from a place and paste somewhere else in the body. Instead of cutting&pasting most text editors allow the user to drag the selected word (or consecutive words) and drop them a
-
Hello in which transactions do i get the data for tables COSS and COSP
Hello i have these two tables. i need to know which transactions correspond to them .thx
-
Integration of HR Masterdata with the third party Recruitment system
Hi folks, I was doing some analysis regarding the process of integrating the HR Masterdata with the thrid party recuritment system. One of the process is exporting all the new hire data coming from the third party soffware( the entire hiring process
-
Pages & Mavericks - "The required index.xml file is missing."
I upgraded to Mavericks a few days ago, and am using the same Pages '09 (4.0.3) I was using with Snow Leopard. I wrote a text document in Pages after I did the Mavericks upgrade, and now it won't open-I get the "required index.xml file is missing" me