Report for Material Numbers configured in KMAT Sales Order
Hi,
Scenario:
We are operating with KMAT material type. (e.g. ABC)
Material "ABC" has Characterstic Char 1 , Char2, Char3, Char 4
Each Char has Char values.
Sales Persons create the Sales orders by selecting approprite Char & Char Values. Via MRP, this lead to requirement generation for materials associated to the respective Char & Char Values.
Requirement:
For a given list of sales order numbers for the KMAT material (ABC),
I want to get the list of Material numbers associated to the Char & Char Values configured in these S.Os.
Thanks
Nitin
For the Function Modules, you would need to go to Transaction SE37. For CS_BOM_EXPLOSION I use the following Paramater Values, aukmng = 1, auskz = X, capid = PP01, CUOBJ = from the VBAP Table and line Item of the Sales Document VBAP-cuobj, datuv = current date, emeng = 1, mktls = X, mtnrv = VBAP-matnr, stpst = 0, svwvo = X, werks = VBAP-werks, vbeln = VBAP-vbeln, vbpos = VBAK-posnr, vrsvo = X.
For the Function Module VC_I_GET_CONFIGURATION use the following Parameter Value, instance = VBAP-cuobj.
Similar Messages
-
Crystal Reports for SAP Print Output requirements like Sales Order O/P
Hello,
Has anybody used Crystal Reports for Sales Order or Invoice Print Output type requirements?
Typically these outputs get triggered via Output Management Configuration on Save of a Sales Order or Configuration.
Traditionally in the Output Management configuration of say Sales Order, we can specify the "Output Program" and the "Sapscript" or "Smart Form" or "Adobe Form".
How do we tell SAP t trigger a Crystal Report output if it is a feasible way to go?
Also can anybody tell what is SAP's strategic direction for Print Output requirements?
regards,
AtulHi Atul,
Do you have answers for your questions? If so, could you please share?
Thank you in advance,
Joã -
Delivery Created for material with ref to a sales Order, even if the stock
Hi Guru,
Deliveriey is getting created of material having TANN as Item category in the sales Order. We want the system to stop creating a delivery, when there is no stock of the same.
How can we configure the scenario.
Please help.
Regards
Amit ShrivastavaHi amit
If you feel this answer solve your query please reward with points.
With out stock also you can create a delivery and picking you will get delviery doucment number But the thing is when you cannot do the post goods issue
Deficit of SL Unrestricted-use you will get this type of messege when you do the p..g.i. Post goods issue is the thing it will update the inventory. There is no stock it will not update any stock temparay it will create all those things.
Thanks & Regards
rack29 -
Report for Sold to Party code against Sales order number
Hi,
Is there any standard report to take out the Sold to Party code against Sales order number as i have the sales order number.
I don't want to use Tables ,so pls tell standard report if any.Dear Monty garg.
You can use u201CVA05Nu201D to find the sales orders which have been created against for the particular customer/sold to party.
Please let me know if any further clarifications pertinent to this.
Thanks&Regards
Raghu.k -
Report for material with sloc,qty available, and production order
hi friends, i need advice on getting this report for material with qty and specific sloc with the corresponding Prodn order numbers. in mb51 i could get all these details except the prodn order no. could you advice me please?
to make sure you know how to do this.
In the material document list, hit "Ctrl+F8" on your keyboard.
A window will pop up. Click on the button position and look for "order" in the list of available fields. That should do it.
Rgds. -
Report for material which not consumed during C015
HI ALL,
"I required a report for material which material are not
consumed at C015 production confirmation time against actual consumation (order wise , part no wise & date wise )"
its v urgent
good suggesstion reward with valuable points.Amit,
I think your problem is that you want to monitor when users are deleting the goods issue while confirmation. So you would have to know if for a confirmation qty of 100, the planned consumption should have been 100 but the actual consuption is 50.
So you would want to relate the confirmation qty with the planned and actual consumption.
In COOIS Remt, qty and Withdrawal qty will show the total reqmt and actual withdrwal. Hope this will not be helpful if I understand correctly.
You have to create a simple query joining tables AFVV with RESB. Calculate the planned consuption for the confirmation qty. This along with the actual consuption will help to give what you are looking for.
I am right ?
Ram -
Report for material gr/ir clearing account display differences
report for material gr/ir clearing account display differences
hi salsa,
There is no such report for the datails of material gr/ir ......
but T code J1ILN and select
Indirect taxes -
> Register -
> Excise tax -
> In J1IN Update Excise register RG23a -
> then Extract rg23a----- > PRint utility program Rg23a
here u can extract all the invoices gr/ir
Through
T code J1I5
J2I5
J2I6
if useful assign points...
regards,
santoshkumar -
BAPI/Function module TO block material which is mentioned in sales order
Hi All
Is there any BAPI to block material which is mationed in sales order....
I am using BAPI_MATERIAL_AVAILABILITY to check material availibility
how to block quantity if it is available whicl creating sales order via
"BAPI_SALESORDER_CREATEFROMDATA2"
..ThanksThe normal SAP ATP done in the sales orders use the figure ''committed qty'' meaning that if the ATP has been done and confirmed, that quantity will not appear in the next sales order as available.
So if You're using the normal BAPI to create the sales order, the normal ATP function will be called in the processing.
Nevertheless another solution to this issue is to have the MTO (Make-to-order) solution where the requirements are ''attached'' to one sales order/line only.....like this the problem of the stock being taken to another customer disappears.
To do this you'll have to configure the following :
- Go to SPRO and go to Sales and distribution -> Basic functions -> Availability check and transfer of requirements -> Determination of requirements using transaction - Here insert the entry with your sales order type - MRP type (from material master - you might want to consider create one only for this solution) and you should use one of the following:
- KEL Make-to-order, mat. variants
- KELV Make-to-ord.variant + consump
- KP Make-to-order with project
and choose the origin of your requirement - 1 - Item category + MRP Type
- Than configure the association of the requirement type above to the requirement class (normally is the same code) transaction *OVZH*
- Than configure the requirement class (this is what will tell the system the MTO) transaction *OVZG* - On the screen in the field Special stock - E - Sales order stock and please ask for help from an FI consultant because the area of *Account assignment is very important to be well configured*
About the BAPI you're using - Its correct - That's the normal BAPI to be used, taking only into consideration the product allocation issue - MARA-KOSCH
Explaining a little the BAPI you're using :
The program should check if the selected material is allocated or non-allocated.
This information is stored in a field MARA-KOSCH.
We should check this field and if the field is not empty then material is allocated, otherwise is not:
select kosch into l_kosch
from mara
where matnr = <VBAP-MATNR>. " Selected material
if subrc = 0.
if l_kosch is initial.
+" Perform calculation for non-allocated materials+
else.
+" Perform calculation for allocated materials+
endif.
else.
" Material not found, skip it ...
endif.
For allocated materials it will be checked allocation for the netting market of that Order.
The calculation rules for allocated and non-allocated materials are different.
For Non-allocated materials
BAPI 'BAPI_MATERIAL_AVAILABILITY' should be used for getting the ATP quantity.
Bapi should be called as follows --
data: lfl_bapiwmdvs type bapiwmdvs,
lit_bapiwmdvs type standard table of bapiwmdvs,
lfl_bapiwmdve type bapiwmdve,
lit_bapiwmdve type standard table of bapiwmdve,
l_dialogflag type bapicm61v-diafl.
call function 'BAPI_MATERIAL_AVAILABILITY'
exporting
plant = <VBAP-WERKS>
material = <VBAP-MATNR>
unit = <VBAP- VRKME>
check_rule = 'A'
+* STGE_LOC =+
+* BATCH =+
+* CUSTOMER =+
importing
+* ENDLEADTME =+
+* av_qty_plt =+
DIALOGFLAG = l_dialog
+* RETURN =+
tables
wmdvsx = lit_bapiwmdvs
wmdvex = lit_bapiwmdve.
Please note that table lit_bapiwmdvs is the input table and to this following input should be passed -
lfl_bapiwmdvs-req_date = sy-datum. "Current date
lfl_bapiwmdvs- REQ_QTY = <Unconfirmed Quantity> in Sales Order Unit
append lfl_bapiwmdvs to lit_bapiwmdvs.
The return value l_dailog will be --
' ' --- Quantity can be Delivered -- Item to be displayed in the Report!
'X' --- Complete quantity cannot be delivered -- ATP failed, Item not to be displayed.
'N' --- Material not relevant for ATP --- Item not to be displayed in the Report.
For Allocated materials
For the allocated Materials, we have to first do the ATP check in same fashion as for Non-allocated Materials and then in addition to this ATP check, we have to also check for Allocation from SIS table S941.
If ATP check fails, straight away the Item should be ignored from Output display.
If ATP check passes, we further check allocation as follows --
Valid entry should select from S941 as -
data: l_period like s941-spbup,
l_BUPER LIKE T009B-POPER,
l_GJAHR LIKE T009B-BDATJ,
lfl_s941 type t_s941.
data: l_bukrs type tvko-bukrs,
l_periv type t001-periv.
* Select company code
select single bukrs into l_bukrs
from tvko
where vkorg = <VBAK-VKORG>.
* Select fiscal year variant
select single periv into l_periv
from t001
where bukrs = l_bukrs.
* Get Period
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
I_DATE = sy-datum
I_PERIV = l_periv
IMPORTING
E_BUPER = l_buper
E_GJAHR = l_gjahr
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4
IF SY-SUBRC <> 0.
* Ignore entry and skip further processing
ENDIF.
concatenate l_gjahr l_buper+1(2) into l_period.
select single kcqty aemenge from s941
into corresponding fields of lfl_s941
where SPBUP = l_period
and KONOB = 'OBJ_ALL_MATERIALS'
AND MATNR = <VBAP-MATNR>
and zzcnetmark = <VBAK-ZZCNETMARK>
and VRSIO EQ '000'.
IF SY-SUBRC <> 0.
*Ignore entry and skip further processing
ENDIF.
Remaining Allocation = difference between product allocation quantity and incoming order quantity
i.e. (S941-KCQTY - S941-AEMENGE). Now we have to compare this qty with the Unconfirmed qty.
Ensure same Material UOM for quantity comparison as follows --
IF <VBAP-VRKME> NE <S941-BASME>.
CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
EXPORTING
i_matnr = <VBAP-MATNR>
i_in_me = <VBAP-VRKME>
i_out_me = <S941-BASME>
i_menge = <Unconfirmed qty in Sales UOM>
IMPORTING
e_menge = l_menge
EXCEPTIONS
error_in_application = 1
error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* Ignore entry and skip further processing
ENDIF.
ELSE.
*If both Units are same no need for conversion
l_menge = <Unconfirmed qty in Sales UOM>
ENDIF.
Then, compare if Remaining Allocation > = l_menge i.e. Unconfirmed quantity converted to S941-BASME unit, then there is enough allocation for this Material for the Unconfirmed quantity and should be displayed in the report.
Else, the Item should be ignored. -
Configuration data in sales order
Hi,
I want to create a customised report for the configuration data (characteristic & its assigned value) against each line items of a sales order.
Request you to let me know what what are the tables & fields to be captured for the config data in a sales order.
Regards,
RajeshHi,
Try this logic
1) Pass the inputs like Material Number or Plant or Created on to VBAP table to fetch sales item related data along with CUOBJ. This CUOBJ will hold the configuration value set.
2) Pass this CUOBJ number to FM VC_I_GET_CONFIGURATION which retuns configuration value set ( Char + Char values)
3) Print the output in ALV form with all the data needed corresponding to each sales order item
Hope this will help
Regards,
Brahmaji D -
How to hide variant configuration screen in sales order
Hi Friends,
Could you please help : how to hide variant configuration screen in sales order for a configured material
RanjanHi
The very purpose of VARIANT CONFIGURATION is to for this material these are the characteristics available
In this you choose one characteristic then these are the values available
If you make a choice then this is the price
Means Maruthi car is the product
Say 800
Alto
Zen
These are characteristics
In this you choose say black, cherry red, white these are the values
When you put a sales order for Maruthi car then if it is 800 black colour then price is X
if it is 800 white colour then price is y
So that according to the choice of the customer the pricing and other details are fetched
Why do you want to defeat the very purpose of VARIANT CONFIGURATION
Rather than listing out of the whole product list the system simplifies the thing
Without that popup variant configuration is meaningless
Regards
Raja
Edited by: ramanathan raja on Dec 11, 2008 3:48 PM -
Giving BOM material as free good in Sales Order
Hi,
I have a business requirement.
I want to give a free good in Sales Oreder which is a BOM material.This should be possible by manually changing Item category for the line item in the Sales Order just like how we can change TAN to TANN in normal circumsatnces when we add free good material for any NON BOM material.
In standard functionality,the item category determined for this BOM material is TAQ but this item category field in Sales Order is non editable because of which I can not include the BOM material as free good in my sales order.
I have already defined one z Item category for free goods for this BOM material & want to use it in Sales Order.
Can you please suggest how this can be handled ?
Or is there any other work around by which will allow me to include BOM material as free good in my Sales Order ?
Thanks in advance
Regards,
BMHi,
Thanks everyone for the feedback.I agree with Samir Danish.It is a standard functionality of SAP which does not allow free goods for BOM material.
However, can someone suggest work around to deal with this issue.I mean if any one has been doing any work around for this issue then please let me know.It s becoming critical for me.
Regards,
BM -
FM for Updating Installation date in Contracts + sales orders Item level
Hi
Plesae give any FM for Updating Installation date in Contracts + sales orders Item level for contracts tab.
Thanks and Regards,
Vishnuvardhan....Have used the billing transaction to set a Default Billing date at time of blling.
-
Function module for Delivery and billing based on sales order
Hi Friends
I am developing an object which has to create the sales order, delivery for that sales order and billing for it at the same time.
I have tried for few function modules to create the delivery and billing but I am not able to achieve.
Would you please help me by providing the correct function modules for these 2 activities?
Thanks
PraveenHi Nikhil
Thanks for reply,
i am creating the sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT1" only, but the billing document bapi
"BAPI_BILLINGDOC_CREATE" is for online creation, it will call the t-code 'VF01'.
I need to create the billing document with out calling the t-code like using bapi for sales order. Please suggest me if there are function modules to achieve this.
Thanks
Praveen -
Regarding changing of configuration data of Sales Order/item
Hi,
I have taken configuration data of sales order/item from VC_I_GET_CONFIGURATION function module, i should change some of the data and save them back,
Can any one provide the function module name to save the configuration data in SAP sytem,
Thanks in advance,
With regards,
P.Prasanth.Try with Function module
CE_C_PROCESSING.also you can use
CE_I_SET_CONFIGURATION
CUCB_CHANGE_CONFIGURATION
CUD0_CONFIGURATION_TO_DB -
Variant Configuration Description in Sales Order
Hi All,
We have configured Variant Configuration.
During Sales Order Processing on Condition Tab the in Name of Condition Type (Field VTEXT) instead of condition type the system is reflecting the description of Variant.
We want the description of Condition Type & not of variant. Can any one guide how the same cvan be done.
Regards
MahendraFirst, you are talking about VA00 or VA01 condition types, correct?
These work different then other condition types, in a sales document they will display the name of the variant (you defined) that matches your config, characteristic-value(s).
This is Option-based pricing. it is working by design. If you don't want these to show in the procedure then don't define them. you can sum up all values in the configurator then just have one Variant with a "dummy" name and pass that back to the price condition
Maybe you are looking for
-
Droid Razr Maxx/Issues with Exchange Sync and Texting
I have a Droid Razr Maxx. Since the KitKat update to 4.4 in May 2014, my Exchange email account will not sync. My Comcast account does. If I power cycle the phone, it will sync the Exchange account for a short time until I receive the following e
-
Question about returning an Apple product to the store...
Hi everyone, I'm not sure if this is the right place to ask this question, but here it goes: Last Friday, I bought an TV in a Premium/Authorized reseller store. However, I didn't notice that I'd need a television with an HDMI, DVI, or component vide
-
Exposed Wire on MagSafe Adapter
Hello community! I've been very satisfied with all Apple products, and I feel I'll be an Apple customer for a long time. I've noticed cosmetics were not the best in all Apple products since I've got my first iPod (Video) a few years back when release
-
HT3060 How can I check my warranty with 17digits Serial number?
I found that my Apple wireless keyboard has 17 digit serial number. it's located at the back part near power button. I tried to put my serial to apple service coverage check website. But it doesn't work https://selfsolve.apple.com/agreementWarrantyDy
-
Urgent: Degressif / Digressive Depreciation Method for France
Hello, Has anyone implemented degressif / digressive depreciation method for France? Per my understanding, the method starts of as a declining balance method and when straight line depreciation is higher, it switches to straight line depreciation met