Can we restrict storage type while creating a order in COR1?
Hi
When we create a process order in COR1 then we enter material list... in that we specify plant stor loc of the material..
my req is if the material type of material is XXX then if its stor loc is ZZZ then it shud look for only 3 storage types ie A, B & C.
Where can I put this condtion..
I tried writing code in user exit EXIT_SAPLCOSD_001 but not getting how to apply the logic.. plz guide on this...
Regards
Hi,
In include ZXCO1U0
Right this code
If STRLC_HEADER_I ne 'A' and STRLC_HEADER_I ne 'B' and STRLC_HEADER_I ne ' C'
Message 'Error' Type E.
Endif.
Revert back if you need further help
Regards,
Vishal
Similar Messages
-
Exit/badi to restrict output types while creating PO
Hi,
Please let me know how to suppress output types while creating/saving a PO. I need to find an exit/badi where I can get all the output types with status vstat = 0. Before saving the PO, I need to manipulate the nast records/output types, so that only PO will be processed successfully for those output types which I need.
Please help me on this...
Regards,
Vikram.Hi Vikram,
Output types are normally handled in configuration. In the configuration you can determine which output types are valid for the object in question and for the function (create or change).
Also in the configuration you will be able to maintain requirements (coding), i.e. specifiy conditions when an output type should be surpressed or not ->Tx OMFT.
Discuss this with your MM consultant.
KInd regards,
Robert -
RESTRICT USER FROM USING SAME REQUIREMENT TYPE WHILE CREATING SALES ORDER
Hi Friends,
I Have a requirement to in SD while creating any sales order i want the system sholud throw a error
message when i am using line items having same requirement type more than one time
i have tried some customer exits v45a0001 & v45a0003 . but was not successfull .
kindly somebody help me with elaborated steps .
thanks in advance .
regards
digvijay raino reply and i am to close this thread so i am putting it as answered ;(
-
Passing of condition type while creating an order
Hello Friends,
I am stuck in a unique situation.
I can create an order using BAPI_SALESORDER_CREATEFROMDAT1 .
However I have to pass condition type 'ZAB'.But this BAPI does not have any provision to pass the condition type.
Please guide me as to how this can be achieved.
Solutions will be rewarded handsomely with points.
Regards
NileshHello vasu
thanks a lot for your suggestion.
I am checking BAPISDHD1 the data type for the field kschl to pass the
exact condition type.
However I dont see any foeld where yoy can pass the condition type.
Do you know which is the exact field where we can pass it.
Oncae again thanks a lot for your suggestion
Regards
Nilesh -
Fiscal year 2010 Not allowed while creating Process order in COR1
Dear Friends,
We have gone SAP live in the month of October. The fiscal yeat we are using is 2011 as the client is Indian client. I have made the fiscal year variant for 2011 (V3). The FI document posting with Fiscal year 2011. It is also creating the Controlling document and Profit center document without any problem.
We have also made the period open as 2011 in MMpv and MMRV. The goods receipts is working fine and the finance entry and material document gets generated for the fiscal year 2011.
Now we are creating the process order in COR1 and getting the error message Fiscal year 2010 not allowed as below.
Fiscal year 2010 is not allowed
Message no. F5568
Diagnosis
The fiscal year entered (2010) is different from the fiscal year derived from the posting date and fiscal year variant (2011).
System Response
Error.
Procedure
Correct the fiscal year entered.
In KP26 we have maintianed for activity price for 2010 & 2011 and the system is picking the data for the fiscal year 2010 data and not the FY 2011 data.
I have checked in OKEQ (Costing version '0') The valide start date for FY2011 is 01.04.2010.
Is there any other place to maintain the fiscal year in Controlling area or Prodduction Planning???
I last my patient last 5 days doing R&D. Can any one help me where the fiscal year is picking and why it is picking FY 2010??
Regards,
DevendranHi Ajay,
Thank you for your comments. I have checked the Factory calendar and that is 2010 (January to December). We have tried to change to 2011 but the system automatically picking the date from January 1st 2011 to 31st December 2011. I am unable to create calendar year with date from 01.04.2010.
I have discussed with my PP consultant about this issue, he is telling the factory calendar nowhere related to Fiscal year. Do you have any idea how to change the factory calendar of 2011 from 01.04.2010 to 31.03.2011?? Is there any there reason why my system considering the Fiscal year 2010 instead of 2011???
Your inputs will defenitely help me to get an clue.
Regards,
Devendran -
Costing Error While creating Process Order in COR1
Hi when i am trying to release the process order in COR1, I am getting the below error *The business transaction
cannot be carried out*
System status CSER is active (ORD 00000000001)
Message no. BS013
Diagnosis
Object ORD 00000000001 has system status CSER (Error in cost
calculation). According to this status, transaction 'Release' is not
allowed.
Procedure
You can only carry out the requested function if this is allowed
according to the status of the object.
Kindly Help me to fix this issue
thanks
Kishore
Edited by: Emergys Corp on Jan 6, 2010 8:23 AMhi,
goto OPJH and check the nature of the status profile assigned to the PP order type..
hope this mite help
regards
sayeed -
BOM not exploding for CR doc. type while creating sales order.
Hi Experts,
I have a problem in BOM. When created the BOM with sales doc. type OR, then BOM exploding as usual and picking pricing for main item.. But when I tried for sales doc. type CR, then the BOM is not being exploding and also pricing is also not picking. Can any one help me for this problem.
Thanks in advance,
Raksha.Hi,
Go to VTAF billing to sales document copy control and check below settings:
Header:
Data Transfer -052 Billing doc header
Data Transfer Buis - 103 Billing bus header data
Data Transfer Part - Billing Header Partner
Copying requirements - 021 Billing Header
Check Copy item number
Uncheck complete reference
Item:
Item Cat proposal G2N Request
Item TAN - Standard item
Data Transfer -153 item from Billing doc
Data Transfer Buis - 104 Billing bus Item data
Data Transfer Part - 004 Billing Item Partner
bl.pl - Leave it blank
Copying requirements - 303 Billing Header
uncheck copy schedule lines and do not copy batch
check update document flow
Pricing type - D
Leave blank - Campaign Deter.
Points to add: If you create without reference to an invoice then it would not explode BOM in RE return order because the configuration not set in REN item category.
As a standard business process return orders always create with reference to invoice.
regards
rc gopi -
SAP Warehouse Management change Storage Type Bin type while creating TO
My requirement is to find an exits which allow us to change the Destination Storage Bin and storage type when creating Transfer orders through Inbound Deliveries.
I have tried using "MWMTO003", "MWMTO004". But the problem here is that none of the funtion exits have both storage type and bin as exporting parameters.
The exit "EXIT_SAPLL03A_001" has Destination bin (LTAP-NLPLA) as a changing parameter but not Destination storage type.
I have activated the check box to trigger User exits using SPRO->LE->WhM->Master Data->Define Storage Type and Activate.
I got a BADI "LE_WM_STORAGETYPE_HU" with both Storage bin and type as changing parameters but then when I activate it and put a break point. My control never stops there.
Kindly Suggest what is the correct User Exit required for this?
Do i need two User Exits to change Storage Type and Storage Bin?
Kindly provide how to approach.I managed to change the casetype now by
1) Changing the corresponding SCMG_T_CASE_ATTR entry
2) Changing the record model POID in the XML file of the case, by manually parsing and replacing the XML
Still wondering if this is a valid approach, or if I've overlooked something... -
Deleated Valuation Type --Need Error Message while creating Purchase Order
Hi,
In our scenario , i need a message should flash , if enduser by mistake select the deleated valuation type while creating Purchase Order.
In current configuration , it's not there.
Await your expert opinion.
Regards
Shyam KogtaI investigated this recently in our company and gave this answer:
A deletion flag does not restrict anything. It is just an indicator to tell SAP that you want this record to be deleted with the next archiving run.
The archiving run then checks if a deletion is possible or not.
So you can set such deletion flags long time in advance, even at a moment where you still have inventory.
To block materials from beeing used in business transactions, usually the material and sales status are used. But these statuses can only be set at overall, plant and sales organisation level.
In some transactions SAP issues warning messages if a material has a deletion flag. This messages could be customized to be an error and prevent any business. However, this type of restriction is not designed for our machine, as we use the material and sales status.
Anyhow, there is no message for valuation types that have a deletion flag in procurement area.
There is one for goods receipts (but only for a certain industry solution that is not used by us)
There is one for deliveries ( VL 211 ).
The valuation types are defaulted from customizing to the transaction e.g. purchase order. Or from info record to the PO. So a standard purchase order gets valuation type ABC , while an internal order (production) gets the DEF. Usually there should not be a need to change this valuation type manually.
So the only solution is to archive the material master at valuation type level.
But I guess, you already have POs with that wrong valuation type, which means you have to archive the POs first. It you have already batches with wrong valuation type, then thy have to be archived as well before a material can be archived.
And finally if you had stock in current year, then you can archive your material in year after next year, as SAP archives only materials that have no stock in current and previous year. -
How to restrict the order reason in Tcode Va01 while creating sales order
Hi Gurus,
My requirement is
while creating sales order in VA01
if order type is Zvol
than the list of order reasons has to be restricted.
Now 15 are coming from OVAU tcode
I need only 5 from these.
Thanks & Reagrds
kals.Hi,
By doing the user exit in IW32 we achieved the requirement of restriction of maintenance order TECO functionality if any Service Entry sheet pending with reference of maintneance order.
regards
JKM -
How to change the document type while creating a PO by ME59N
Hi,
I have 2 groups of PR's, for group one the document type is picked as NB and PO is created and for the group 2 it should pick as XYZ and PO should be created using ME59N tcode.
How to change the document type for group 2 in ME59N? Which user exists to use to change the document type while creating PO in ME59N?
Can any one suggest me.Hi,
There a config area, where you can define default PO doc types for a particular Pr doc type. If you maintain the settings properly there, then your requirement can be fulfilled.
SPRO->IMG->MM->Purchasing->Purchase requisation->Define doc types.
This will serve your purpose.
Thanks,
Srinu -
How can we prevent the PO while creating the sales order
Hi All,
How can we prevent the PO number while creating sales order with existing PO. I have checked the box in sales document type as A but still im able to create sales order with same PO.
Thanks in advance.
NaveenHi
In VOV8 check the box
Check Purchase Order Number
The purpose of this field is to check for duplicate
purchase order (PO) numbers during sales order entry. When you select A in
this field, SAP gives a warning message during sales order creation if another sales
document for same customer with the same PO number exists already. Leave this
field blank if you do not want SAP to check for duplicate PO numbers.
regards
Prashanth -
Valuation type while creating BOM
Hello Experts,
My requirement is that, I should be able to select valuation type of material in BOM. Please let me know, if there any setting where I can enter valuation type, while creating BOM.
We have two valuation types for my raw material - Local and Import. When we execute standard cost estimate, system picks up value appearing in material master (without valuation type). This value is average of both the valuation types. So we want that system should pick up valuation type, mentioned in BOM.
=
DeepakHello Deepak,
In go to CS01/CS02 select the line item and go to item overview and in that in the customer fields tab you can maintain the valuation type.
If customer field not available then with help of the user exit ''PCSD0002'' you add the customer filed in item.
It's not standard process, you have to do the development
I hope this information helpful to you,
Regards
Umesh Mali -
SAP REx 3.2 Predefined list of activities for visit type while creating visit on iPad
Colleagues, our customer wants to have a different predefined list of activities for different visit types while creating a visit on iPad. I have seen such functionality in SAP Demo for REx 3.2 on iPad. Could you tell me what I should do to have such functionality?
Hello Viktor,
There are no REx customisation available to mainatin the set of activities that can be assigned to a visit.
In the REx iPAD & iPhone solution, all the surveys, journals and activities are shown together as activities.
For example in the first screenshot provided by you, for the newly created visit the activities shown plannogram check, trade assets, store sales performance and promotion compliance are the surveys and journals assigned to the CRM transaction type of the REx visit Business Review. We can assign activities which are customised in the SPRO path mentioned by me in the previous post. In the device when we go to the details of the visits and activities then we can see that the surveys and journals assigned to these activities are grouped seperatly.
So if want only specific activities (in iPAD & iPhone surveys and journals are activities) to be available for a visit then we should set the CRM customisation for surveys and journals accordingly.
Regards
Pramod -
Hi All,
I am trying to know how I can restrict a requester to select specific system only while creating a request.
I could find aut. object GRAC_ROLEP in role "XXX_requester". There is field GRAC_SYSID in this object wherein
I can specify the connector name. Initially, it was having "*" value and then I changed it to specific
connector. I sychronized the roles/users data and tried to raise a request. However, I still find all the
connectors defined including LDAP!
May I know how I can show only "required" connectors while creating a request?
Regards,
FaisalDear Faisal,
use GRAC_SYS and restrict GRAC_SYSID to the systems you want to display.
Regards,
Alessandro
Maybe you are looking for
-
Aperture ate my picture files and they are not recoverable. The guy at the Genius Bar told me to Trash the App, empty Trash, then go to Purchases and reinstall. But Purchases says it is "Installed" so it does not let me download it again. HELP!!!!
-
Unable to rename topic files in Robohelp
We're translating Framemaker > Robohelp integrated project into Chinese, and as part of the process, we rename the Chinese topic file names to English so that the Webhelp output works on our chinese web site. This process has worked well, except we a
-
How can I make slow motion work in iMovie 10.0.2?
Is there a way to make effects such as slow motion work in iMovie 10.0.2 (OSX 10.9.2)? In Modify drop down, Slow Motion is black, but the speed options are grayed out. Same with Fast Forward, Instant Replay, and Rewind. Anyone know why some capabilit
-
Infoset not being generated - SQ02
Hello Experts, I have made simple code modification to an infoset created with SQ02, but the changes are not getting applied. This infoset is used in a Z Query, which is assigned to a transaction code. So I have, infoset zinfo query zmmquery Transact
-
Dear sir, i finished loading process of raster into oracle database and trying to retrieve image in mapviwer. but nothing comes out even no any error message. would you please let me know what could be the reason following is my parametes in mapviewe