IN CJI5 transaction how the commitment cost is calculated?
PA30 Exit
Dear Experts
Am using EXIT_SAPFP50M_002 exit to validate 0002 infotype custom field , am facing issue that if i get error while validating and i correct
the error , INNNN still have the old value before correcting
please help me to solve this issue ,i have tried to clear it after error , but doesn't solve the issue.
below us my code
WHEN '0002'.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = PI0002.
if STRLEN( PI0002-YYPRONUM ) > 2.
IF STRLEN( PI0002-YYPRONUM ) <> 10 ."and PI0002-YYPRONUM(3) <> '700'.
clear PI0002.
MESSAGE Text-007 TYPE 'E'.
Regards
Ghadeer
Re: Overwrite Exit for CL_ERP_SWITCH_CHECK method ERP_ALL_LISTS is not executed
Hi Eric,
presumably you want to activate the PDF output option. How this can be achieved you can see in SAP note 1919904.
What looks like hard-coded in this method can be changed by activating business function ERP_ALL_LISTS via the switch framework (transaction SFW5).
Kind regards
Uwe
Best SD user exit to use for checking 'material pricing conditions' (KOMV-KSCHL)
Hiya,
When creating a sales document I'd like to check the material pricing conditions (KOMV-KSCHL), specifically for rate(KBETR), when a material is entered into an order.
If the Rate value is not as expected then I'd like to raise a pop-up to inform the user.
I was searching for a userexit to use and I can't find anything that fits my requirement...
I was therefore thinking of using USEREXIT_PRICING_PREPARE_TKOMP or USEREXIT_PRICING_PREPARE_TKOMK.
But I thought I'd just check with you experts first.
Would anyone have any suggestions?
Thanks in advance!
Re: Overwrite Exit for CL_ERP_SWITCH_CHECK method ERP_ALL_LISTS is not executed
Hello Eric,
Check the package of the class of Overwrite method (CL_ERP_SWITCH_CHECK), it most probably involves a switch which is turned off.
This is also the reason why you cannot set a breakpoint because this coding will not be executed at runtime.
As Uwe mentioned, you can switch-on the business functions associated with the switch but be careful because this business function is not reversible, therefore cannot be switched off.
See also precautions that have to be taken when switching on a business function on the Help Portal:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/de/899442047b0831e10000000a1550b0/content.htm
Regards,
Pascale Boyer
SAP SFW Dev Support
Re: Display the added field only in tcode VA03(item details of Additional dataB
Hi avvaru,
My Requirement is same..I have written the same code in PBO of Screen No 8309, Additional Tab....But still in VF03 the field is coming in change mode.
Can u please help me?
Re: Display the added field only in tcode VA03(item details of Additional dataB
Hi Avvaru,
Its working now....actually its was not activated.
Re: Calculate Opening and Closing Stock
Hi Sneha,
How can I Calculate opening stock & closing stock using selection screen date,material,palnt in zreport..
Plz tell me logic...,
Thanks
sunil
Need exits for Purchase Order change (After DB commit)
Hi Experts,
I have some custom coding to be done immediately after the Purchase Order create/change.
Here requirement is my custom coding should be in a exit which runs once the purchase order data gets stored in standard SAP Tables.
I have used the method IF_EX_ME_PROCESS_PO_CUST~CLOSE of the BADI Definition ME_PROCESS_PO_CUST.
this method works fine during the Purchase Order creation time, but it is not getting triggered during the PO change process.
other methods of this BADI gets called before the PO data gets stored in DB so no use for me.
please suggest.
Regards,
Jagesh
Problem in Creating/Editing an Method in custom Class
hi Friends,
A method been created and activated inside a Custom class (se24). Now, the problem is in editing that Method. I'm trying to write code inside Method..Endmethod..but the screen is not in editable mode !!
As it is custom class, i don't have any clue, please suggest and I don't feel using 'insert line area' is the right option for this ?
Regards,
Suren
Re: Problem in Creating/Editing an Method in custom Class
Hi Suren,
only possibility I can imaging:
- is this a method of a parent class ? then you should get a message and you have to redefine.
- authorization issue ? check with SU53
- Insert Line area would mean you're in an other namespace as foreseen in your system. then you would modify.
bye, Volker
Re: Problem in Creating/Editing an Method in custom Class
hi Volker,
The Method is a new one to create, hence 'redefine' will not comes to picture, right.
Generally, in custom class, we can just create Methods, but behaving strangely here as it's not allowing to have code inside the method resulting with 'disabling screen' !
Please suggest.
Regards,
Suren.
Re: Need exits for Purchase Order change (After DB commit)
Hi Jagesh,
please check fm EXIT_SAPMM06E_013 from SAP-SMOD-Enhancement MM06E005. You need an active custom CMOD project for that.
Regards,
Klaus
Re: Problem in Creating/Editing an Method in custom Class
Hi Suren,
please check the Original System from Object Directory Entry of your class in SE24. Is this system your DEV system?
Regards,
Klaus
Re: Problem in Creating/Editing an Method in custom Class
Hi Suren,
Check if it is a Static method of Super class.
Regards,
Shivajiraju.
Re: Problem in Creating/Editing an Method in custom Class
hi Klaus,
Yes, the Original system is my dev and Original lang is DE.
Re: Problem in Creating/Editing an Method in custom Class
hi Shivajiraju,
It is Static method and there is no super class and the Class is defined as Final.
Regards,
Suren
Re: Problem in Creating/Editing an Method in custom Class
Hi,
then please check, that there is no authority reason for this issue (with tcode SU53).
Regards,
Klaus
Re: Problem in Creating/Editing an Method in custom Class
Hi Suren ,
If a Class is declared as a static method and Final . cannot redefine or add the lines to that method,
even though in same class.
Please change the declaration from Static to Instance method.
Now you can add the lines in that method.
I hope it works fine.
Regards,
Shivajiraju.
Re: Class enhancement: Use super-> in overwrite exit
having the same issue, anyone knows the answer?