Disabling Profit center in VA01 and VA02
Hi geeks,
I have a requirement where i need to disable the profit center column for some specific sales document types in VA01 and VA02.
Please guide me with the User-exit to complete the requirement.
-Jiyaaaa
Hi Prabhu,
i want to gray out completely without being able to input.
the following is the code i hav written in exit "userexit_field_modification" of the include "MV45AFZZ"
enhancement 1 zprofitcenter_enhancement. "inactive version
case screen-name.
when '*VBAP-PRCTR'.
if sy-tcode = 'VA01' or sy-tcode = 'VA02'.
screen-input = 0.
modify screen.
endif.
endcase.
*IF ( SCREEN-NAME = 'VBAP-PRCTR' ).
*SCREEN-INPUT = 0.
*ENDIF.
endenhancement.
In debugging,i have checked it is calling this enhancement.but in the output,it is not greying out.
kindly,let me know where iam going wrong.
-jiyaaa
Similar Messages
-
How to add custoim fields on the additiondata b tab of va01 and va02
Hi All,
i want to add the field on the Additional data B tab of the VA01 and VA02 at header level.
Already one field is there now i want to add one more field.How to proceed.
I think i have to go with screen exits.Can you help me in proceeding further and where should i write the code.
It is urgetn.Please help meI have to move the updated fields to the vbak table
The code is like this
If VBAK-ZZGrswgh less than ZTRKLMT-ZZweight OR
VBAK-ZZCubTot less than ZTRKLMT-ZZCube OR
VBAK-ZZPaltot less than ZTRKLMT-ZZPallet
CLEAR VBAK_ZZTRKLMT.
Else
MOVE X TO VBAK_ZZTRKLMT.
End if
should i write this code in the USEREXIT_MOVE_FIELD_TO_VBAK of program MV45AFZZ ?
This user exit should trigger when
VBAK-AUART Equals 'ZWH' OR
VBAK-AUART Equals 'ZFV'
Reply soon -
While saving the sales order through Va01 and Va02 and email has to send
Hi Experts,
My requirement is to send an email with PDF formatted display of the Sales order to the sold to party's email id while saving the Salesorder through Va01 and Va02.
I need the following .
How to send an email with PDF formatted attachment of Salesorder display ? (we have done the formatting of display through SMARTFORMS )
I think we can do it by userexits program name is MV45AFZZ while saving the document.
Please suggest me the best possible way.
Thanks ,
SarithaHi, there is no need for a customer devlopment on this. A standard smartform output will do with output medium '5' (external send). Then the smartform output will be send as PDF to the e-mail address in the output partner. Have a look at transaction NACE.
Regards Jack -
How to grey out or deactivate the Conditions tab in VA01 and VA02
Hi gurus,
Is there a way I can grey out or deactivate the Conditions tab in VA01 or VA02? Our objective is to attach the pricing conditons to the customer level and that no sales encoder can edit prices during encoding using t-codes VA01 and VA02?
I also tried to solve my problem through authorization object of the user V_KONH_VKS - set to 3 (Display) but still the user was able to make revisions to the Conditions tab if he wants to. This is an internal control issue for our company.
Thanks for the immediate response.
FrancesHello Francis,
In the definition of condition types in SPRO ( T.code V/06) you can define whether a particular condition type ( example PR00) can be processed manually by the user. IF you select the option " No Manual entries" the system does not allow the users to change the condition value determined from the condition records ( Maintained in VK11).
ALternately, if the business requirement is that of allowing a particular condition type ( example PR00) to be processed manually by the user in certain business scenarios and in others the value should not be editable then you can use the user exit in MV45AFZB " USEREXIT_SAVE_DOCUMENT". In this you can write the required logic with the help of a technical consultant.
Hope this helps
Warm Regards
Prashant Joshi. -
Plant and Profit center wise Turnover and gross profit for the Month for s
Hi
We need a report Plant and Profit center wise Turnover and
gross profit for the Month for selected month and GL's
We are using new GL. but our bi system old version.
SAP_BW -- 7 Patch:SAPKW70015
BI_CONT - 703 Patch:SAPKIBIIP7
Do you have any idea or experiences which data source and data target required to full fill this requirement?
Thanks
Ramana PHi
You need to check if you really the report Plant wise and if yes, then check if the Accounting Transactions are maintained at Plant Level in your source system i.e. in R3.
Ideally it should be Business area or Functional Area or Controlling area which are maintained in Accounting Transactions. You will also the relevant details for these Characterisitics + Profit Center in the NEW GL Accounting data sources.
Cheers
Umesh -
Authorization Issue with VA01 and VA02
Dear Experts,
I have request to restrict onl;y three users to view the "payement terms" coloum in VA01 and VA02.
I could not able to find the relavent authorization object. please advise.
Regards
SuneethaHi,
This is possible with user exists. Have a look at the below thread:
Restrict selection for Payment Terms on VA01/VA02
Regards,
Raghu -
Price condition display in VA01 and VA02
Hi Friends,
In our organization, we want that some of the users could not change the price conditions in t. code VA01 and VA02.
Please help us.
Thanks
GaneshDear Tiwari,
As Lakshmipathi mentioned, if you want to restrict the access to all users, then goto V/06; there you uncheck the value field.
If you wan to restrict the access to specific users, then make use of the authorization objects available in the Tcode SU21 (preferably, V_KONH_VKS). or create the custom one; check with your basis team and your ABAPer to do the same.
thanks
Venkatesh SP -
VA01 and VA02 Change Search Help
I need to add extra field in the search help of the ORDER in SALES ORDER (VA01, VA02). I want to see both the ORDER and the DESCRIPTION in the search help of ORDER field.
I ask for this in existing thread but it was marked as Answered: [ Re: VA01 and VA02 Search Help Mitigation]
The main problem is that after i create search help in se11, I do not know what to do after that. Where is the place to say this search help is for this field. I search for exits but no results. Some advises will help.
Thank you.I try this and learn a lot. But i think that this is not the exact way. It do not work. The table is VBAP and the field AUFNR (Order Number). It has not search help. It has only the standard one field. When I press F4 on it it shows only its list and I need the description. When I press F4 and see the technical data it show table AUFK and field AUFNR. The description is in AUFK-KTEXT.
I think i miss something small to do it. I think that I do not need collective search help or search help exit because it is for some more complex checks. May be I need only view with this two fields and elementary search help. But how to 'tell' to the field to use it. -
Difference between profit center in OKB9 and material master
Hello,
I have a small doubt over here in the profit center point of view.
We have created profit center 1200 and assigned the same in material master. Now while doing PO system threws error message like "Account 5005115 requires an assignment to a CO object Message no. KI235". To eliminate this error i have assigned Cost element(1001125) and Profit center(1200) in TC: OKB9, now system is able to post everything fine.
Here the issue " If i can change profit center in the material master say ex: 1201, system picks from the material master only then why assigned in the OKB9? while doing MIRO system updated in the 1201 profit center".
Could anybody update me why we need to assigned profit center in OKB9 and Material Master?
Thanks
anifiHi,
This is about co.code level field status and Transaction level field status. In OKB9 transaction profit center is maintained and it is getting picked up.
As per SAP if any transaction level field status is maintained it will overwrite the co.code level field status.
So, here when you are giving the input of Profit center in the material master itself it is overwritting the co. code level field of profit center. If nothing is given in material master, then by default OKB9 level profit center will be picked up.
Thanks,
Prithwiraj. -
I am posting data for va01 and va02 using BDC session,what happens if
Hi,
I am posting some data for va01 and va02 using BDC session,but what happens if i try to post same data using call transaction.Hi,
That is just another method. You can post the data using Call Transaction as well.
Just give it a try and in case you face some problem revert back with your issue.
We will help you to solve the same.
Hope this helps!!!
Regards,
Lalit -
Is there a Business Object for Sales Order Create and Change VA01 and VA02
Hi experts -
I am looking for a business object for Sales order create and change VA01 and VA02 respectively?
Thanks,
MarkHi Mark,
I think this question is best answered in [SAP Solutions|/community [original link is broken]; Forums.
- Subhodeep
Edited by: Subhodeep on Aug 29, 2009 11:14 AM -
User Exit for VA01 and VA02 transaction codes
Hi,
I am writing a userexit for PO number checking for VA01 and VA02 transaction codes.The PO number should be unique in the table (vbkd-bstkd).Duplicate PO number entries can be checked with Sold-to Party.If anybody written something like this....please advice me...
Thanks in advance.
fractalHi Fractel,
Why are you looking for a user exit to do this duplicate PO check?
This can be achieved through configuration of your sales order document type and message control. Follow the path below for configuration of the document type.
Implementation Guide for R/3 Customizing (IMG)
-->Sales and Distribution
-->Sales
-->Sales Documents
-->Sales Document Header
-->Define Sales Document Types
Once you execute this node, you will see all the available document types. Select the one you are interested in and click the details icon. In the subsequent screen, under "General Control" section, there is a field "Check purch.order no". Pick the value 'A' from the drop-down list.
Once you do this, system will check for duplicate PO numbers whenever you are creating or changing the sales order with that document type. If duplicate, it issues a message. -
Authorization for va01 and va02
Hi all,
I have a requirement to add an authorization for certain fields (not for editing) in va01 and va02. If i create an authorization object for the same, is it possible to integrate auth object to roles and What will be the fields of auth object ?. Anyone can put comments.
Thanks and regards
JijoHi,
This is my code in so include program...
AUTHORITY-CHECK OBJECT 'ZSO_SCHED'
ID 'ACTVT' FIELD '02'.
CASE SCREEN-NAME.
WHEN 'RV45A-ETDAT' OR 'VBEP-WMENG'.
IF SY-SUBRC EQ 0.
SCREEN-input = 1.
ELSE.
SCREEN-input = 0.
ENDIF.
ENDCASE.
Now, i have to connect role to auth. object 'ZSO_SCHED'. Any idea how to do it?
Thanks and Regards
Jijo -
Average response times for VA01 and VA02 transactions
Hi,
we have some users complaining about response times, more specific for VA01 and VA02 transactions. We would like to compare our average response times to those of other companies in order to get an idea of what is acceptable to most companies. If you are willing to contribute, can you please send a few hours of STAD data (only for VA01 and VA02 transactions) of an average working day? Perhaps you can download the data into a spreadsheet and mail the zipped file to my account Many thanks.
Best regards,
Guido Van LeuvenHi,
This is not the issue. We are investigating everything possible to improve our response times and we believe that that these are ok as well. We just want to build a case where we can prove that our response times are not worse than those at other companies and that we can do only by comparing those statistics.
Best regards,
Guido Van Leuven -
Want to find the screen exits in VA01 and VA02
Hi All,
I want to find the screen exits in VA01 and VA02.
How to find these screen exits.
Actually i wnat to add a new custom field to the Additional data B tab on the header of VA01 transaction code.
Now intially i want to know whether there are screen exits in VA01 transaction code ?If yes please provide the names?
Please help me regarding this.Please check this
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
The SAPMV45A , 8309 screen is the Additional Data B tab to add your custom fields . To capture the data from this custon field you can use
the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
USEREXIT_SAVE_DOCUMENT depening on your functionality.
Thanks
Vinod
Maybe you are looking for
-
Error in Phase 44/44 installing SM 4.0 SR3 on Windows 2003 64 bit Oracle 10
Hello All, this is my first post here and I'm having issue installing SM 4.0 SR3. It stops with an error on Phase 44/44. here's the error log. I've tride searching for answer but no luck. can anybody please help? Solution Manager 4.0 SR3 64 bit Inst
-
Jar files for EJB using tomcat
hi, Am using eclipse . I am getting an error the declared package does not match the expected package while compiling the ejb.Can anyone tell me what are the jar files I need to include in classpath for eclipse
-
How to handle comma in the string
I need compare a string in HTMLDB report, as Select HOST, MODEL From hwrpt WHERE MODEL= :P3_MODEL Since most IBM models has 'IBM, XXXX-YYY' syntax for P3:_MODEL, the query failed. I tried to use single/double quoe but failed too. Is there a function/
-
New iPhone 4 ugly yellow- dark display
Hello, I recieved my new iPhone 4 yesterday from the applestore and I'm very disappointed because the display is much darker and has a touch yellow. My 3GS display can perform the colours much more better. White is now always grey- yellow and it is o
-
Hi All, As per EWA report we have upgraed our oracle version 11.2.0.2 to the latest oracle SBP and has done all the steps as given in the readme document which is from market place. After that we have generated the EWA report but still for the databa