How to control material in PO type
There are two material type in our company.One type is normal material,it has information record. other type is test material. it has not information record. but it can be created the information record by company approval.
Normal material can be ordered PO and the material net price(condition type is PB00) will auto take from info record. The test material can be ordered PO and the material net price by manual enter and the net price will record in condition type PBXX.
Now the test material has info record, but the date is overdue. When I order the test material ,system will auto take the PBXX price.
Because our PO type have two. that are NB and Z1. I hope when I use PO type NB,system cannt bring out the PBXX price, if I use PO type Z1, system can bring out the PBXX price.
How can do I config the background?
Hello ramachandran subramanian
Yes, If I extend the validity date of condition PB00 in PIR, system will bring out the PB00 condition price when the PO been created.
But in fact, I want to control the material must be control in finance department if the date have pass,the PO cannt be create in document type NB, The scheduler must ask the finance to extend the validity date.
In Document type Z1, the scheduler can create the PO and use condition PBXX, he can input the price by manual.
Similar Messages
-
How to Restrict Material Type in MM01 ?
*Hi experts,*
*How to restrict material type ? i wanted to restrict the end-user not to access any other material types than Raw material,Semi-finished goods. it means when end user trying to create material then if he enters other than these two material types then he should get error saying that "your not authorized to select that xyz material type".*
*I have tried to restrict the object M_MATE_MAR(Material Master : Material type) but am unable to do so. is there any other object which take care of Material types ? did i selected correct object or not??*
*can anyone help out.*Hi,
You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
how to restrict material master by material type t-code MM01
Hope this helps!!
Regards,
Raghu -
How to access the Custom Data type variable given in Expression edit control To and From LabVIEW
Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
Channel1: Number and
Channel2: Number
I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
I would like to know how to get the values of this custom data type to LabVIEW?
Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
how do i need to set this cluster to the Custom Data type variable in TestStand?
Thanks and Regards
PrakashHi,
TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
Hope this helps
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
Attachments:
1.JPG 187 KB -
How to add Material type(MTART) field on Selection screen of MB5B transaction code.
Hi All,
Please let me know how to add material type field on selection screen of MB5B transaction
For that i made copy ZMB5B_COPY of original report RM07MLBD.
Thanks in adv .
SamadhanHi,
Once you copied the standard report to Z report, you can MTART in selection screen like below.
and in order to inlcude the same in programming logic, we have three option.
1) Check all related select queries, and include MTART in SELECT query using inner join with MARA.
2) In START-OF-SELECTION event fill MATNR as shown below.
3) If user entered any value in MTART, then before displaying the report just check material type of each material in the final internal table(which is used to display report) delete enteries from internal table accordingly.
START-OF-SELECTION.
IF MTART[] IS NOT INITIAL AND MATNR[] IS INITIAL.
SELECT MATNR FROM MARA INTO MATNR-LOW WHERE MTART IN MTART.
MATNR-OPTION = 'EQ'.
MATNR-SIGN = 'I'.
APPEND MATNR.
CLEAR MATNR.
ENDSELECT.
ENDIF.
The above option has one limitation: The selection screen variables has some restriction, please read the below thread.
Facing problem in select statement dump DBIF_RSQL_INVALID_RSQL CX_SY_OPEN_S
Getting Dump in the select query has more than 2000 entries
Hope this will work for you .
regards,
Rajesh Sadula. -
How can we change the valuation type for a material created.
How can we change the valuation type for a material created.
Note : All open orders are closed for this material.3
Please guideHi,
You can change valuation class, or you can set valuation category for your material master. If valuation category is set you can extend your material master and in this way creating records for different valuation types.
Please try to set the desired changes in your mmr (MM02) > save > SAP will give you error message > push 'Display error' button and you will see what conditions must be eliminated to carry out the change.
- you are not allowed to have open transactional data
- no stock in the current and previous period (using proper posting date in MB1A + 201 you can reduce your stock level to 0, and after that you can set it back by MB1A + 202)
- in case of valuation category setting batch archiving may be necessary
BR
Csaba -
STO - How to control Over delivery ?
Dear All,
In STO Scenario, how to control the over delivery?
Please note that I have already assigned a tolerance % in my Purchase Value key & same has been assinged to my material.
Now when I create a STO for this material system is picking up this Overtolerance percentage. But Still If I create a delivery more than the PO Qty (which exceeds the tolerance %). System is allowing to save the delivery.
Hence plz suggest how to restrict the same.
Please note that I am selecting the Partially Delivery indicator in STO as A - Create a delivery with qty. greater than zero Since tolerance wont work if I select Partially delivery allowed.
Hope it is clear.
Thanks & Regards,From OSS note 548914 Over/underdelivry tolerances for GR/GI for stock transp.ord.
R E L E A S E < 4.70
Stock transport orders without SD processing / delivery (for example movement type 351 for the goods issue, Transaction MB1B, MB11):
During the creation of goods issues for stock transport orders the system does NOT include overdelivery tolerances (T156F-FELDM = DM07M-UETMG) maintained in the purchase order item. The system checks only against the quantity ordered during which the system may display message M7022, which can be customized. This is valid for both stock transfers within a company code and for cross-company-code stock transfers.
Stock transport orders with SD processing / delivery (for example movement type 641 for the goods issue, SD Transactions VL02, VL10):
If these are stock transport orders with SD processing, the system neither checksduring the goods receipt nor during the goods issue against the quantity ordered + overdelivery tolerance.
R E L E A S E >= 4.70
As of Release 470 there is, if required, a check against underdelivery tolerances (Field V_T161W-TOLKZ) during the goods issue for the stock transport order. Otherwise the checks are as described for the earlier releases. Customizing: IMG => Materials Management => Purchasing => Purchase Order => ..underdelivery tolerances -
How to create material doc using bapi
hi all,
pls tell me how to create material doc using bapi ,
if i give po no , it will create material doc no .
advance thanks ,Hi venu,
Please go thru this example, it will help u.
REPORT ZBAPIMM01 LINE-SIZE 255 NO STANDARD PAGE HEADING
LINE-COUNT 065(001).
TABLES: T001L, "Storage Locations
MARA, "General Material Data
MAKT, "Material Descriptions
MBEW, "Material Valuation
MARC. "Plant Data for Material
DATA: BAPI_HEAD LIKE BAPIMATHEAD,
BAPI_MAKT LIKE BAPI_MAKT, "Material Description
BAPI_MARA1 LIKE BAPI_MARA, "Client Data
BAPI_MARAX LIKE BAPI_MARAX,
BAPI_MARC1 LIKE BAPI_MARC, "Plant View
BAPI_MARCX LIKE BAPI_MARCX,
BAPI_MBEW1 LIKE BAPI_MBEW, "Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX,
BAPI_RETURN LIKE BAPIRET2.
DATA: BEGIN OF INT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF INT_MAKT.
DATA: BEGIN OF INT_MAT OCCURS 100,
WERKS(4), "Plant
MTART(4), "Material type
MATNR(18), "Material number
MATKL(9) , "Material group
MBRSH(1), "Industry sector
MEINS(3), "Base unit of measure
GEWEI(3), "Weight Unit
SPART(2), "Division
EKGRP(3), "Purchasing group
VPRSV(1), "Price control indicator
STPRS(12), "Standard price
PEINH(3), "Price unit
SPRAS(2), "Language key
MAKTX(40), "Material description
END OF INT_MAT.
SELECT-OPTIONS:
PLANT FOR MARC-WERKS OBLIGATORY MEMORY ID PLT,
MATERIAL FOR MARA-MATNR MEMORY ID MAT,
MATLTYPE FOR MARA-MTART MEMORY ID MTY,
DIVISION FOR MARA-SPART MEMORY ID DIV.
PARAMETERS: F_FILE LIKE RLGRAP-FILENAME
DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
IF GETDATA = 'X'.
PERFORM DOWNLOAD_DATA.
PERFORM DOWNLOAD_FILE.
ENDIF.
IF UPDDATA = 'X'.
PERFORM UPLOAD_FILE.
PERFORM UPDATE_MM.
ENDIF.
FORM DOWNLOAD_DATA.
SELECT * FROM MARC WHERE LVORM EQ ' '
AND WERKS IN PLANT
AND MATNR IN MATERIAL.
CLEAR MARA.
SELECT SINGLE * FROM MARA WHERE MATNR = MARC-MATNR.
CHECK MATLTYPE.
CHECK DIVISION.
CLEAR MBEW.
SELECT SINGLE * FROM MBEW WHERE MATNR = MARC-MATNR
AND BWKEY = MARC-WERKS.
CLEAR MAKT.
SELECT SINGLE * FROM MAKT WHERE SPRAS = 'EN'
AND MATNR = MARC-MATNR.
WRITE:/ MARC-WERKS, "Plant
MARA-MTART, "Material type
MARA-MATNR, "Material number
MARA-MATKL, "Material group
MARA-MBRSH, "Industry sector
MARA-MEINS, "Base unit of measure
MARA-GEWEI, "Weight Unit
MARA-SPART, "Division
MARC-EKGRP, "Purchasing group
MBEW-VPRSV, "Price control indicator
MBEW-STPRS, "Standard price
MBEW-PEINH, "Price unit
MAKT-SPRAS, "Language key
MAKT-MAKTX. "Material description
INT_MAT-WERKS = MARC-WERKS. "Plant
INT_MAT-MTART = MARA-MTART. "Material type
INT_MAT-MATNR = MARA-MATNR. "Material number
INT_MAT-MATKL = MARA-MATKL. "Material group
INT_MAT-MBRSH = MARA-MBRSH. "Industry sector
INT_MAT-MEINS = MARA-MEINS. "Base unit of measure
INT_MAT-GEWEI = MARA-GEWEI. "Weight Unit
INT_MAT-SPART = MARA-SPART. "Division
INT_MAT-EKGRP = MARC-EKGRP. "Purchasing group
INT_MAT-VPRSV = MBEW-VPRSV. "Price control indicator
INT_MAT-STPRS = MBEW-STPRS. "Standard price
INT_MAT-PEINH = MBEW-PEINH. "Price unit
INT_MAT-SPRAS = MAKT-SPRAS. "Language key
INT_MAT-MAKTX = MAKT-MAKTX. "Material description
APPEND INT_MAT.
CLEAR INT_MAT.
ENDSELECT.
ENDFORM.
FORM DOWNLOAD_FILE.
call function 'WS_DOWNLOAD'
EXPORTING
FILENAME = F_FILE
FILETYPE = 'DAT'
FILETYPE = 'WK1'
tables
data_tab = INT_MAT
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
IF SY-SUBRC = 0.
FORMAT COLOR COL_GROUP.
WRITE:/ 'Data Download Successfully to your local harddisk'.
SKIP.
ENDIF.
ENDFORM.
FORM UPLOAD_FILE.
call function 'WS_UPLOAD'
EXPORTING
FILENAME = F_FILE
FILETYPE = 'DAT'
FILETYPE = 'WK1'
tables
data_tab = INT_MAT
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10.
IF SY-SUBRC = 0.
FORMAT COLOR COL_GROUP.
WRITE:/ 'Data Upload Successfully from your local harddisk'.
SKIP.
ENDIF.
ENDFORM.
FORM UPDATE_MM.
LOOP AT INT_MAT.
Header
BAPI_HEAD-MATERIAL = INT_MAT-MATNR.
BAPI_HEAD-IND_SECTOR = INT_MAT-MBRSH.
BAPI_HEAD-MATL_TYPE = INT_MAT-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
Material Description
REFRESH INT_MAKT.
INT_MAKT-LANGU = INT_MAT-SPRAS.
INT_MAKT-MATL_DESC = INT_MAT-MAKTX.
APPEND INT_MAKT.
Client Data - Basic
BAPI_MARA1-MATL_GROUP = INT_MAT-MATKL.
BAPI_MARA1-BASE_UOM = INT_MAT-MEINS.
BAPI_MARA1-UNIT_OF_WT = INT_MAT-GEWEI.
BAPI_MARA1-DIVISION = INT_MAT-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
Plant - Purchasing
BAPI_MARC1-PLANT = INT_MAT-WERKS.
BAPI_MARC1-PUR_GROUP = INT_MAT-EKGRP.
BAPI_MARCX-PLANT = INT_MAT-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
Accounting
BAPI_MBEW1-VAL_AREA = INT_MAT-WERKS.
BAPI_MBEW1-PRICE_CTRL = INT_MAT-VPRSV.
BAPI_MBEW1-STD_PRICE = INT_MAT-STPRS.
BAPI_MBEW1-PRICE_UNIT = INT_MAT-PEINH.
BAPI_MBEWX-VAL_AREA = INT_MAT-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
WRITE:/ BAPI_HEAD, BAPI_MARC1.
call function 'BAPI_MATERIAL_SAVEDATA'
exporting
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA = BAPI_MBEW1
VALUATIONDATAX = BAPI_MBEWX
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA = BAPI_MVKE1
SALESDATAX = BAPI_MVKEX
STORAGETYPEDATA =
STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = INT_MAKT
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error Message ', BAPI_RETURN.
ENDIF.
ENDLOOP.
ENDFORM.
*---End of Program
Reagrds,
Kumar -
How to use std quality document types
Hi, Pls advise how to use std quality document types like Print list, Quality agreement, Technical delivery terms? i mean for what purpose those will be used?
hi
Quality Agreement;
Quality aggrement document type is used in Quality Info Record.If you maintain control key regarding Qaulity Aggrement you must maintain the Qaulity agg otherwise PO or GR wil be blocked.
Technical delivery:
Technical dele term are maintained in Material master-->additional data -->documents.
if you select the control key which has reference of Technical dele term you have to maintain this in MM otherwise PO or GR will be blocked.
Q01 Q-Agreement / MM-PUR
Q02 DelivTerms / MM-PUR
Both are customization in SPRO
Regards
Sujit -
How the system determines the Requirement type for one sales order
Hi,
SAP-SD Gurus,
Please tell me how the system determines the Requirement type for one sales order?
Thanks & Regards,
Sreenivas.PHi,
System follows some search criterial to determine the requirement type
1. First, an attempt is made to find a requirements type using the strategy group in the material master.
2. If the strategy group has not been maintained, the system will determine it using the MRP group.
3. If the MRP group has not been defined, the system uses the material type instead of the MRP group when accessing the corresponding control tables.
4. If no requirements type is found here, the system assumes a special rule and attempts to find a requirements type with the aid of the item category and the MRP type.
5. If this is not possible, a last attempt is made to find a requirements type with the item category only.
6. If the last attempt fails, the system declares the transaction as not relevant for the availability check or transfer of requirements.
Please check the path
SPRO->SALES & DISTRIBUTIONS->BASIC FUNCTIONS>AVAILABILITY CHECK AND TOR->TRANSFER OF REQUIREMENTS--->DETERMINATION OF REQUIREMENT TYPE USING TRANSACTION.
Hope it will clarify
regards,
santosh -
HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?
Dear All,
I want to contol on creation of Sales order with reference to earlier SO? While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
NikhilNikhil Deshpande,
If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
Thanks,
Mariano. -
How to restrict Material Class in Sales Contract Doc
Hi,
I need to restrict Material Class in Sales order based on Item catagory, Material group4 and Sales contract Document type.
If the above 3 fields having a particular value then the system should restrict all the other classes of that material and display only a particular class and it's related characteristics.
If any one come across such a senario then pklease let me know.
Regards
AjayHi,
You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
how to restrict material master by material type t-code MM01
Hope this helps!!
Regards,
Raghu -
How to control follow up doc for Activities
Hi...
I have created 10 different types of Activitiy Doc. When I open any activity in crmd_order I'm getting all other activities as follow up docs(when I click on follow up icon). I dont want all of them, may be I need one or two out of those. How to control those can anyone have idea
Regards,
AjayHi,
Check the copy control for transactions in
spro-->Customer Relationship Management->Transactions->Basic Settings->Copying Control for Business Transactions->Define Copying Control for Transaction Types
If the transactions are maintained as follow up for the transaction you have created then remove the entries which you dont want as follow up.
Reward points if it helps.
Shridhar -
How can i restrict the Expenditure Type values at a specific OU ?
Dear Guys,
I would like to ask about the Expenditure Types,
I have implemented two projects for different Operating Units ,
when navigating to any Projects responsibilty,and navigating the Expenditure Type field
the values exist are all the values implemented across the OU not the values entered at this OU
How can i restrict the Expenditure Type values at a specific OU
Regards
Amr HussienHello
When you set up a project there is an option called Transaction Control.
This option allow you to list the allowed or restricted elements of costs for the project.
You may enter the transaction control on a project template and that will be copied to any new project.
The cost elements may be expenditure types, expenditures categories, suppliers, employees, etc.
In your case, I suggest to set up specific project templates for each operating units. On each template enter the list of allowed expenditures types for that OU.
Doing so, the system restricts users from entering any expenditure item, supplier invoice, purchase cost etc, against an expenditure type, which is not allowed.
Dina -
How to create a contract? ( Types: volume,time,quality contracts)
Hi Gurus,
How to create a contract? ( Types: volume,time,quality contracts)
Give the procedure to create above mentioned types of contract.
Bye
Narasimha Rao Gunda1.Access the transaction choosing one of the following navigation options:
SAP ECC menu Logistics Materials Management Purchasing Outline Agreement Contract Create
Transaction code ME31K
2.On the Create Contract: Initial Screen, enter the following values and choose Enter:
Vendor xxxx
Agreement type MK
Agreement date Todayu2019s date
Purchasing Organization
Purchasing Group xxx
Plant xxx
3.On the Create Contract: Header Data screen, in Validity End field, enter end date (e.g. two years in the future) of the contract and choose Enter.
4.On the Create Contract: Item Overview screen, enter the following values:
Material
Target Quantity 10000
Net price xxxx usd per 100 PC
Plant 1000
5.Remark: Delete any entry in the field storage location.
6.Additional step:
If you want to use the information of an existing info record mark the line of the agreement item (item 10) and go to Environment Info record. On the Info record: General Data screen choose Conditions. On the screen Display Gross Price Condition (PB00): Condition Supplements you can see the value of the gross price (here: 1282.5 per 100 pieces.).
7.Choose Save (Check if the automatic print function of the contract works). -
Control data for storage type is missing Message no. L3006
Dear Mates
i am trying to create a transfer order from delivery. the moment i click on save in LT03 its giving me the error message as
Control data for storage type is missing
Message no. L3006
i have explored every thread regarding the same issue and also implemented some measures like
-> extending the material to particular warehouse and maintaining stock removal and stock placement strategies in it(i created new one from MM01 itself)
-> going to spro path SPRO->Logistics Execution->shipping->picking->Lean WM->Define storage type. and assigned storage type.
but still i am getting the same message in LT03
can you please help me out on this.Please take a look at the following links and see if they will help at all.
Error on creating a TO - Control data for storage type is missing
"control data for storage type is missing"
Kind Regards,
Jason
Maybe you are looking for
-
One of my friends told me that you can trade in an iPod Touch 4th Generation and pay $100 for an iPod Touch 5th Generation. Is this true? If so then I want to trade it in.
-
Need repair of 17-35mm F 2.8 does not show up in repair support.
Lens has focus problem, does not go above 3m
-
Hi , We have a contact center UCCE 8x, in which few of the Agents are migrated to Siebel CRM CTI Application from CAD. We are using Cisco CRM adapters for the CTI communications between CRM and ICM. So the call is maturing to the agent properly, but
-
Hi I have a scenario where XI takes input file and transforms it and again prints file (File name is same all the time). Now this file will be picked by ECC standard program and will be uploaded into ECC tables. The file size is 80MB+. If anybody is
-
Unresolved dependency when upgrading to KDE 4.3
Hello all, When I try to upgrade KDE with pacman -Syu, I get asked if I want to replace the kde groups with the meta packages. I answer yes to all questions, but then I get this: resolving dependencies... error: cannot resolve "kdenetwork-filesharing