How to create service items and sales order for service contracts.
Hi,
I have created item using Purchased Item template and one more item(service item) using service /warranty program template. Then I have used these items to create sales order with service item in it and closed that order , but Iam not getting this order in service contracts. Is this right way to create sales order for service items. I
item name:- personal_computer
copied from purchased order template. service is enabled and install base is checked and enable service coverage is enabled.
item name:- service_item
copied from service /warranty program template
service is selected to inactive,
service type: service
duration: 1 year
template: Gold
and saved the item.
Then I have used these two items in sales order for service contracts. But that sales order is not hitting in service contracts. Is there any error with item creation.
Thanks,
Bharat G.
Following SAP Notes to be referred for Service Tax:
1. 778976 u2013 Service Tax and Ecess on Service Tax
2. 1032265 - SEcess on Service Tax
Regards
AK
Similar Messages
-
How to create Billing Plan in sales order using Function module /BAPI
hi,
How to create Billing Plan in sales order using Function module /BAPI
i hv check few FM such
BILLING_SCHEDULE_READ
BILLING_SCHEDULE_GET_NUMBER
BILLING_SCHEDULE_SAVE
But unable to create billing plan for a sales order.....any other method to create???Hi,
Use this link.
Create sales order with billing plan via LSMW and BAPI BUS2032
BAPI or Function to update Billing Plan in Sales Order Items
Hope this will help you.
Regards,
Vijay -
Swap between two different item categories in sales orders for sub-contracting
Dear gurus,
my requirement is to have the ability to swap between two different item categories for sales orders for sub-contracting.
This should be controlled by a combination of the material and a value maintained the Usage field in the Customer Material Info Record (for example by entering a ‘V’). A combination of Sales Doc Type, Item Cat Group and Usage should result in the creation of a purchase requisition.
In the event that a process order is required instead of a purchase requisition (i.e. the product is to be manufactured in-house instead of sub-contracted) the user must have the ability to change the Item Category within the sales order to produce a process order.
The user would just change the item category within the sales order, and the system would automatically remove the purchase requisition assigned to the SO, and create a process order and assign it to the SO.
Can you suggest any possible solution?
Thank you in advance.Hi Majlo,
In my system, I checked. First created sales order with third party line item and then changed item category to normal item category.
Till Purchase order not created, I can change Item category of my sales order line item.
In this case SAP inform by log and once save delete purchase requisition of that line item .
For this you need to assign another item category as an manual item category in SPRO Item category assignment.
After this user can manually change item category to other one manually, if PO do not exist.
Please let me know if your query is different.
Regards -
How To Create A Technical And Business Systems For Web AS ABAP ???
Hi Experts,
How To Create A Technical And Business Systems For Web AS ABAP ???
Please Let me Know All the Step-By-Step Process to Create ????
Points Will be Given
Regards
KhannaHi Sumit,
When U Told the thing that first time to execute the RZ70 and All i Did this in XI System
So I got An Entry for the Technical System for XI System.
Now i Deleted that and Executed RZ70 in R/3.
When I Executed RZ70, I got this Error.
<b> "RFC Call failed: Error Opening an RFC Connection "</b>.
Now I am Unable to see Any Technical System Under Web As ABAP. It's Showing Empty Now.
Please Let me know
Regards
Khanna -
How to Create more than one Sales order
Hi All
Is it possible that at Va01 initial screen i have a field with name Group and when i select the group in that field sales order for alll the customer in that group may be created automatically
Regards,
AmmadHi,
Not clear about your requirement. Can you explain a bit? How are you going to determine which materials are doing to sell?
Best regards,
Anupa -
Liquidity Report not picking up Noted item and Sales orders
Hi Experts,
I created planning levels from source as PSK, yet the liquidity is not picking up these items from sales orders and purchase orders. Also while creating noted items, i have given planning levels in the configurarion and the same is not picking up in the liquidity too
Please advice
Thanks in AdvanceHi Hien,
We have created planning levels separately for MM and SD and we have created under SDF and MMF respectively.
IT is working for group created for direct FI entrly and linked the same with PSK and the same is working fine.
I am new to FSCM. Can you please elaborate FDFD?
Thanks and Regards -
How to ChangePlantfor each item of Sales order using User Exit SAVE_DOCUMEN
Hi All,
I have to change plant for Each line item of sales order using (MV45AFZZ) (USEREXIT_SAVE_DOCUMENT) based on first Schedule line.
if Confirmed Quantity is Less than Ordered Quantity.
based on first Schedule line.
it has to select other Plant and need to populate it in line item of sales order.Please see the below code and let me knoe if any changes required... Thanks in Advance.
data : wa_vbep like xvbep,
Lv_matnr type mara-matnr,
lv_werks type marc-werks.
DATA: it_vbap TYPE STANDARD TABLE OF vbap,
wa_vbap TYPE vbap.
field-symbols: <wa_vbap> type VBAPVB.
clear wa_vbap.
*loop at xvbap into wa_vbap.
loop at xvbap assigning <wa_vbap>.
read table xvbep into wa_vbep with key posnr = <wa_vbap>-posnr.
if wa_vbep-ETENR = '0001'.
if sy-subrc = 0.
IF wa_VBEP-BMENG LT wa_VBEP-WMENG.
SELECT SINGLE DWERK
INTO lv_werks
FROM MVKE WHERE matnr = <wa_VBAP>-matnr
and DWERK ne <wa_VBAP>-werks.
if not Lv_werks is initial.
if lv_werks EQ 1033.
move '1002' to <wa_vbap>-werks.
if sy-subrc eq 0.
xvbap-werks = <wa_vbap>-werks.
modify xvbap from <wa_vbap> .
endif.
elseif lv_werks EQ 1003.
move '1003' to <wa_vbap>-werks.
elseif lv_werks EQ 1010.
move '1010' to <wa_vbap>-werks.
endif.
endif.
endif.
endif.
endif.
endloop.
endif.
Regards,
Sudhakar Reddy.AYou have to use the form routine "USEREXIT_SAVE_DOCUMENT_PREPARE"
regards
Vinod -
How to add line item to sales order item table?
Kindly help me the with the below requirement .
Add line item to sales order(va01) dynamically on click of button. The button is also custom created push button.
In the above requirement I have added the pushbutton to va01 tcode. But when I click on that button I need to add line item to sales order item table.
I tried a lot but I am not successful. If possible can u please help on this.
Regards,
RachelHi!
It's quite easy even in the standard SAP to add a line item for a customer order, I don't think it worth to develop a new button for this.
However if you wanted to add a line automatically, the you can do the following in the program MV45AFZZ, FORM USEREXIT_SAVE_DOCUMENT.
You can use similar code, but with some modifications.
DATA: lv_posnr.
LOOP AT xvbap.
MOVE xvbap-posnr TO lv_posnr. "get the last posnr
ENDLOOP.
ADD 10 TO lv_posnr.
MOVE 'XYZ' TO xvbap-matnr. "enter your material number here
MOVE lv_posnr TO xvbap-posnr.
* fill additinal field data in XVBAP if necessary
MOVE 'I' TO xvbap-updkz. "Insert line
APPEND xvbap.
Regards
Tamá -
How to create PR automatically by sales order?
Dear experts,
I want to create PR automatically with sales order, and then create delivery from this sales order, and goods issue. I know third party order, however it can't create delivery.
thanks
LanceHi,
Go to VOV7 T code,
You will find one check box Create PO automatic. Check that.
It will create automatically PO.
Hope this will help.
Reward Point if helpful.
Thanks,
Raja -
How to creating Service Contract using BAPI_SLSTRANSACT_CREATEMULTI
Hi,
In my requirement, I have to create a Service Contract from flat file by using BAPI - BAPI_SLSTRANSACT_CREATEMULTI and data which are comming from flat files are, Serial number, Sold-to party, Ship-to party, Installation date, Contract start date, Contract end date, Service profile, Response profile.
Please suggest me what are the Import parameters should I pass in this BAPI to create Service Contract?
Thanks in Advance,
DeepeshHi All,
for everybody's benefit (and to avoid you the time I've spent to work this out...), here is a working example on how to create an sales order (TA) via the BAPI_SLSTRANSACT_CREATEMULTI.
Not really a Service Contract, but it tells you how to call the BAPI.
Points appreciated, if you find this helpful...
I use the convention entryField for the values that should be set based on your system.
Cheers
G
*& Report ZZGVBAPISALESORDER
REPORT ZZGVBAPISALESORDER.
include constants
include crm_direct.
// GUIDs
data: lv_guid_h type GUID_32,
lv_guid_i type GUID_32,
lv_guid_sl type GUID_32,
lv_guid_p type GUID_32.
// Handles
data: lv_current_handle type crmt_handle,
lv_handle_h type crmt_handle,
lv_handle_i type crmt_handle,
lv_handle_sl type crmt_handle,
lv_handle_p type crmt_handle.
// Administration header + item + etc
data: lt_salesorder_header type table of bapibus20001_header_ins,
ls_salesorder_header type bapibus20001_header_ins,
lt_salesorder_item type table of bapibus20001_item,
ls_salesorder_item type bapibus20001_item,
lt_scheduleline type table of BAPIBUS20001_SCHEDLIN,
ls_scheduleline type BAPIBUS20001_SCHEDLIN,
lt_partner type table of BAPIBUS20001_PARTNER_INS,
ls_partner type BAPIBUS20001_PARTNER_INS,
ls_logical_key TYPE crmt_partner_logic_partner_key,
lt_organisation type table of BAPIBUS20001_ORGMAN_INS,
ls_organisation type BAPIBUS20001_ORGMAN_INS.
// Saved sales orders
data: lt_saved_process type table of bapibus20001_object_id,
ls_saved_process type bapibus20001_object_id,
ls_salesorder type CRMT_RETURN_OBJECTS_STRUC.
data: lt_input_fields type table of bapibus20001_input_fields,
ls_input_fields type bapibus20001_input_fields,
lt_return type table of bapiret2,
ls_return type bapiret2.
// Macro definition to populate structure and input field
This, called as
setfield ls_salesorder_header GUID lv_guid_h
is exploded as
ls_salesorder_header-GUID = lv_guid_h.
ls_input_fields-fieldname = 'GUID'.
append ls_input_fields to lt_input_fields.
Note 1: &2 (field name) MUST be uppercase
Note 2: for the salesorder header, I haven't used the macro,
to show how the code should look.
I've used the macro everywhere else.
define setfield.
&1-&2 = &3.
ls_input_fields-fieldname = '&2'.
append ls_input_fields to lt_input_fields.
end-of-definition.
// end of macro definition
// fill order administration header
perform get_guid changing lv_guid_h.
add 1 to lv_handle_h.
ls_salesorder_header-guid = lv_guid_h.
ls_salesorder_header-handle = lv_handle_h.
ls_salesorder_header-process_type = 'TA'.
clear ls_input_fields.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_guid = lv_guid_h.
*ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-orderadm_h.
ls_input_fields-fieldname = 'GUID'.
append ls_input_fields to lt_input_fields.
ls_input_fields-fieldname = 'HANDLE'.
append ls_input_fields to lt_input_fields.
ls_input_fields-fieldname = 'PROCESS_TYPE'.
append ls_input_fields to lt_input_fields.
append ls_salesorder_header to lt_salesorder_header.
// fill organisation data (I needed this, you may rely on
sales org determination instead...)
clear ls_input_fields.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-orgman.
setfield ls_organisation REF_GUID lv_guid_h.
setfield ls_organisation REF_HANDLE lv_handle_h.
setfield ls_organisation REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_organisation SALES_ORG_RESP salesOrgResp(input).
setfield ls_organisation SALES_ORG salesOrg(input).
setfield ls_organisation DIS_CHANNEL disChannel(input).
append ls_organisation to lt_organisation.
// fill order administration item
perform get_guid changing lv_guid_i.
lv_handle_i = lv_handle_h.
add 1 to lv_handle_i.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_i.
ls_input_fields-ref_handle = lv_handle_i.
*ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_i.
ls_input_fields-objectname = gc_object_name-orderadm_i.
setfield ls_salesorder_item GUID lv_guid_i.
setfield ls_salesorder_item HEADER lv_guid_h.
setfield ls_salesorder_item HANDLE lv_handle_i.
setfield ls_salesorder_item HEADER_HANDLE lv_handle_h.
setfield ls_salesorder_item ORDERED_PROD product(input).
*_set_field ls_salesorder_item ITM_TYPE 'TAN'.
setfield ls_salesorder_item MODE 'A'.
*adjustment taken from standard include LCMS_MAPPERF04
*(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
delete lt_input_fields where fieldname = 'HANDLE'
OR
fieldname = 'HEADER_HANDLE'.
append ls_salesorder_item to lt_salesorder_item.
// fill schedule line for item
perform get_guid changing lv_guid_sl.
add 1 to lv_handle_sl.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_i.
ls_input_fields-ref_handle = lv_handle_i.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_i.
ls_input_fields-objectname = gc_object_name-schedlin.
setfield ls_scheduleline ITEM_GUID lv_guid_i.
setfield ls_scheduleline GUID lv_guid_sl.
setfield ls_scheduleline HANDLE lv_handle_sl.
setfield ls_scheduleline ITEM_HANDLE lv_handle_i.
setfield ls_scheduleline QUANTITY '1.000'.
append ls_scheduleline to lt_scheduleline.
// fill partner line
*perform get_guid changing lv_guid_p.
*the partner use the logical key as well
ls_logical_key-ref_partner_handle = '0001'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
setfield ls_partner REF_GUID lv_guid_h.
setfield ls_partner REF_HANDLE lv_handle_h.
setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_partner REF_PARTNER_HANDLE '0001'.
setfield ls_partner KIND_OF_ENTRY 'C'.
setfield ls_partner PARTNER_FCT '00000001'.
setfield ls_partner PARTNER_NO bpNumber(input).
setfield ls_partner NO_TYPE 'BP'.
setfield ls_partner DISPLAY_TYPE 'BP'.
move-corresponding ls_partner to ls_logical_key.
append ls_partner to lt_partner.
// example of a second partner function (custom) with data
override
ls_logical_key-ref_partner_handle = '0002'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
setfield ls_partner REF_GUID lv_guid_h.
setfield ls_partner REF_HANDLE lv_handle_h.
setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_partner REF_PARTNER_HANDLE '0002'.
setfield ls_partner KIND_OF_ENTRY 'B'. "manual entry...
setfield ls_partner PARTNER_FCT customFct(input).
setfield ls_partner PARTNER_NO bpNumber(input).
setfield ls_partner NO_TYPE 'BP'.
setfield ls_partner DISPLAY_TYPE 'BP'.
setfield ls_partner TITLE 'Mr.'.
setfield ls_partner FIRSTNAME 'John'.
setfield ls_partner LASTNAME 'Smith'.
setfield ls_partner STR_SUPPL1 'John Smith and Co'.
setfield ls_partner STREET 'Street1'.
setfield ls_partner STR_SUPPL3 'Street4'.
setfield ls_partner HOUSE_NO '42'.
setfield ls_partner CITY 'Townville'.
setfield ls_partner DISTRICT 'Districtshire'.
setfield ls_partner POSTL_COD1 'AA1 2BB'.
note now ...
*adjustment taken from standard include LCMS_MAPPERF04
*(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
I don't use macro because name of the field in input_table is different
*_set_field ls_partner COUNTRYISO 'GB'.
*instead
ls_partner-COUNTRYISO = 'GB'.
ls_input_fields-fieldname = 'COUNTRY'.
append ls_input_fields to lt_input_fields.
*_set_field ls_partner LANGU_ISO 'EN'.
ls_partner-LANGU_ISO = 'EN'.
ls_input_fields-fieldname = 'LANGU'.
append ls_input_fields to lt_input_fields.
move-corresponding ls_partner to ls_logical_key.
append ls_partner to lt_partner.
Create sales orders *
call function 'BAPI_SLSTRANSACT_CREATEMULTI'
EXPORTING
testrun = false
TABLES
header = lt_salesorder_header[]
item = lt_salesorder_item[]
partner = lt_partner[]
organisation = lt_organisation[]
input_fields = lt_input_fields[]
scheduleline = lt_scheduleline[]
saved_process = lt_saved_process[]
return = lt_return[].
// get the GUID of the created object
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01.
The include contains only this:
***INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01 .
*& Form get_guid
text
<--guid text
FORM get_guid CHANGING GUID.
CALL FUNCTION 'SYSTEM_UUID_C_CREATE'
IMPORTING
UUID = GUID.
ENDFORM. " get_guid -
How to change the price in sales order copying from contract?
Hi All,
I am creating a sales order with reference to contract & the same prices in the contract are flowing. But the validity of prices are expired & I am unable to edit the prices in the sales oerder level.
Please suggest what configuration need to do to edit prices in the sales order level.
Thanks,
MadhuHello Madhu,
I am creating a sales order with reference to contract & the same
prices in the contract are flowing. But the validity of prices are expired
& I am unable to edit the prices in the sales oerder level.
Please suggest what configuration need to do to edit prices in the sales order level.
The configurational setting for changing the pricing flow from Contract to Sales Order is in Copying control. Go to the T-code VTAA and select your relevant Contract and Sales Order. At the Item level itself, you shall find a control called PRICING TYPE. Select the option as B or C.
Please try out this approach so that your issue related to pricing flow can be avoided.
Regards,
Sarthak -
Get Classification status of item in Sales Order for variant configuration
Hi Experts,
I want to get the classification status against the variant configuration of item in sales order.
When i enter the sales order in VA03 , at the item level, I select the item and click on item configuration icon below.
Here I can see the variant configuration. Now if I do not maintain the configuraiton correctly, then the classification status shows either locked or incomplete. When it is properly maintained it shows released. ( When it is locked, the classificaiotn status shows a red signal at the left bottom corner).
My requirement is to capture this classification status at the item level of each Sales Order.
How can I get this.Hi!
try this code:
* Initialization
CALL FUNCTION 'CUDB_INIT'.
CALL FUNCTION 'CE_C_INIT'.
* read configuration from database
CALL FUNCTION 'CUCB_GET_CONFIGURATION'
EXPORTING
instance = vbap-cuobj
IMPORTING
configuration = gt_configuration
EXCEPTIONS
invalid_instance = 1
instance_is_a_classification = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE: /' No configuration data found!'.
EXIT.
ENDIF.
* only sinlgle-level configuration possible
READ TABLE gt_configuration ASSIGNING <gs_instance> INDEX 1.
* get and show status
SELECT SINGLE * FROM tclc WHERE
klart EQ <gs_instance>-conf-klart
AND statu EQ <gs_instance>-conf-cstatus.
FORMAT COLOR COL_NORMAL.
IF tclc-frei = 'X'.
WRITE: /'Status:', icon_green_light AS ICON.
ENDIF.
IF tclc-gesperrt = 'X'.
WRITE: /'Status:', icon_red_light AS ICON.
ENDIF.
IF tclc-unvollstm = 'X' OR tclc-unvollsts = 'X'.
WRITE: /'Status:', icon_yellow_light AS ICON.
ENDIF.
FORMAT COLOR OFF. -
Link between process order and sales order for planning strategy 52
Hello,
I investigate the possibility of a link between "sales order" and "planned order / process order" for the usage of planning strategy 52 (planning w/o final assembly, make to stock).
I know, this is not conform to the basics of planning strategies (EITHER make to order OR make to stock) and I suspect it would be a modification. Of course we have the alternative "make to order" - strategy 50, but we do not want to use individual customer stocks.
Is anybody there with similar customer requirements or project experiences?
Thanks in advance,
Joerg
Message was edited by:
Jörg DemtschukHi Jorg,
To my understanding if you need hard pegging then in SAP only Individual requirement is possible.
Or else you need to create a custom transactions/table to identify Sale order and when ever a process order is created by selecting the sale order record, the process order detials should also get updated against that.
You need to take the help of ABAP expert for this,
Regards,
Prasobh
Reward points if this was useful -
How to create Service Contract-Urgent
Hii All,
Can anyone tell me what all the requirements needed to create a service contract?
I shall be thankful to anyone who could please please send me the step by step procedure to create the service contract.
Thanks
Gopi.Hi Gopal ,
Use following steps for creating service contract.
1] Use t-code <b>ME31K</b>
2] Enter details like Vendor , Agreement type (MK) , Purch Orgn Purch.group.In the same , enter Item Category as "<b>D</b>" and respective account assignment category (K,F etc.)
3]In second screen enter Validity period , then short text for the desired services.In next screen , enter Service details and proper account assnmnt
Save the contract
Regards
Nilesh -
Displaying stock and sales orders for aggregated product in Product View
Hello,
We have successfully created an SNP aggregated planning scenario which uses CTM to plan purchase requisitions and planned orders at the aggregated product level. The disaggregation to the sub-product level is working as well.
We have one issue.
We would like to be able to use the Product View (SAPAPO/RRP3) to view the sales order and stock information for both the aggregated products and the sub-products.
Currently, the sub-products (which are the materials in the stock and sales orders functions in ECC) show the disaggregated planned orders and purchase Reqs, and the sales order and stock information in the Product View.
The aggregated-products (which aren't included in the ECC sales order and stock functions), only show the aggregated planned orders and purchase Reqs.
Is there a Product View configuration which will show the aggregated stock and sales orders in the aggregated product view?
thanks in advance for any comments and/or assistance.
SarahHi Sarah,
The Product view configuration is available under customisation menu under the below path.
spro > sap guide > APO > supply planning > PPDS > settings for order view/product view
Under this, you can configure your customised product view structure.
Regards,
R. Senthil mareeswaran.
Maybe you are looking for
-
Hi everyone, First let me apologise in advance if i sound a little rushed, as i have a somewhat urgent problem that i need to resolve tonight. I am new to cisco switches and setup a 2950 yesterday in a friends office. I went through the web interface
-
Need help for storing time along with the date
Hi, I have one procedure as follows, In last_update_column of the table job_data having date and time.But after execution of this procedure only date is inserting into the job_master. If I queires the table job_master with to_char(Last_Update_Date, '
-
Hi there - I'm not finding PANTONE 802 (Neon bright Green) in any of the swatch libraries in Illustrator CS5 Mac. I figure the work around is to create a proxy color for the 802 spot. But I'm wondering if there is a swatch library for the PANTONE neo
-
Making a PKGBUILD for a Qt Widget
I've made a pkgbuild for qtermwidget - it works - the "example" consoleq works, but I wonder if I have to add some source files to the pkg like lib/qtermwidget.h, so the widget could be used in other Qt apps code? pkgname=qtermwidget pkgver=0.1 pkgre
-
ITunes on a single computer for multiple iPods
Can a single laptop(Windows Vista Home Premium) be used with 2 iPodTouches? If so how does one configure iTunes to synch the 2 iPods with their different libraries?