Validation for not due items.
I want to make a validation that when a vendor invoice is cleared and if it is not due (i.e. days in arrears are negative), system should issue a message that the item is not due. I tried with :
pre-req : transaction code=F-53
check : days in arrears < 0
message : error
but it is not working. I dont know whether i have selected the correct message class.
Please guide me.
Hi ,
Please ensure that you have activated the validation through the T code GGB4 .
Secondly , take a trace of the validation and check in which condition is your validation not firing .
Revert back with trance analaysis if stuck up .
Regards ,
Dewang T.
Similar Messages
-
How to create a single 'not null ' validation for all the items in a page ?
Hi everyone ,
how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
Thanks & Regards
UmerNice1 wrote:
bob , as u said I have done the following :
1) under create button , there are 9 items and for each item I have set Required to 'Yes'
2) under delete button , there is 1 item and have set Required to 'Yes' for the item
3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
The best solution is as the reply a couple replies up
Create 2 page type validations as a PL/SQL with code
1st validation
:P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL include all 9 items
Set the When Button Pressed to the CREATE button
2nd validation
:P1_ITEM10 IS NOT NULL
Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
Edited by: Bob37 on Apr 27, 2012 12:02 PM -
How to do the validation for a checklist item
I have a check item which is a date which should not allow future date. This check list item might be 1 st item or 10th or 3rd .. depending on the selection made in the previous page. How can i do validation for this item ?
thanks for your help.Hi, I am not sure of the table though for the budget, but I have one suggestion.. I'm not sure if you already know the F1-F9 button. Firstly, just put your cursor somewhere in the screen where the budget/field is located then press F1 and F9, you will see the table name, go to t-code SE11 and type in the table you've found, then go to attributes and copy the development class, open a new session using t-code SE80(Object navigator), pull down the arrow/F4 choose the development class and press the ENTER button, you will see all the related tables, function modules, transaction, programs, etc., that is related to that development class.
Hope this helps. =) -
F150 dunning note prints also not due items
Hello
I want the dunning note to print only the customer overdue items and not all the opent items. Now it prints also items that are not due yet.
Thanks
OferHi
Check in the dunning settings in FBMP. if you have ticked "print all Items" check box in Dunning levels tab. If this is ticked then it will cover all items.
pushkaraj -
Generating dunning letters for non due items
Hi All,
Currently our setting only prints the items which are due in dunning letters.
But we want to show all items for the customer in dunning letter, in case even one item is due for the customer. So that it give us a chance to remind our customer to make a payment for that also.
What could be the issue?
Thanks,
BhaskarHi Bhaskar,
Go to FBMP and then Menu > Select > Environment > Company Code Data
And untick the u201CBy dunning areau201D and u201CBy dunning levelu201D for your company code.
Also in FBMP, select the option u201CPrint All Itemsu201D for your relevant dunning levels.
Regards,
Gaurav -
Validation for first line item ( table )
Dear Friends,
i have table with multiple line items, i want to validate first line item only, if first line item is initial, it should throw an error message, could any one pls help me with an example
Thanks
Vijaya
Col1
Col2
Col3Hi Vijaya,
Method get_static_attributes_table of interface if_wd_context_node will return a table of context elements. You can then either read the first row of that table or loop through it to validate the table's data and issue messages as needed. For example...
data lo_nd_ctx_node type ref to if_wd_context_node.
data lt_attributes_table type wd_this->elements_ctx_node.
lo_nd_ctx_node = wd_context->get_child_node( name = wd_this->wdctx_ctx_node ).
lo_nd_ctx_node->get_static_attributes_table( importing table = lt_attributes_table ).
If the row to be validated happens to be the table's lead selection, you can fetch attributes of the lead selection row directly, and again validate and issue messages as needed...
data lo_nd_ctx_node type ref to if_wd_context_node.
data lo_el_ctx_element type ref to if_wd_context_element.
data ls_attributes type wd_this->element_ctx_node.
lo_nd_ctx_node = wd_context->get_child_node( name = wd_this->wdctx_ctx_node ).
lo_el_ctx_element = lo_nd_ctx_node->get_element( ).
lo_el_ctx_element->get_static_attributes( importing static_attributes = ls_attributes ).
Both of these code patterns to read context data are available through the Web Dynpro Code Wizard.
Cheers,
Amy -
Over due items are not considered in credit check for customer
Hi Gurus;
We have static credit active for the sales order which is blocking if the sales value is more than the customer credit balance but it is not checking for over due item i.e the billing document whose accounting document hasn't been cleared yet .Though i have maintained same number days for payment terms and risk category for the customer .
Kindly guide me if have missed out any configuration or setting .
Thanks in advance .Hi Nuru,
Hope you are using automatic credit check and not simple crdit check ..Check that.
Is ur update group a standard one..?
Please paste screenshots of FD33, credit status, OVA8 etc.
Regards
Jobi -
Defining complex validations for flex items
Hi,
We've defined a flex regions and a number of flex items. We would like to define more complex validation logic at the entity object level, whereby we'd like to reference both 'fixed' entity attribute values as well as values of the flex items.
Could you please indicate how this can be achieved in the validateEntity method of the EntityImpl.java class.
We know beforehand which flex items will be displayed based on the value of one of the fixed entity attributes (e.g. if the attribute request_type='assist' then display flex items A and B, if request_type='info' then display flex items D, E and F). We use flex items because the number of request_types and corresponding 'dynamic' attributes is too large (and subject to frequent additions, deletions or modifications) to incorporate in a fixed static db table structure.
If you can suggest alternatives to using JHeadstart flex items, these are more than welcome, of course.
Many thanks beforehand,
IbrahimDear Steven,
First of all many many thanks for your prompt reply. We can use JSF EL expressions to conditionally render flex items. I'd like to illustrate my question with a simple example:
We have three fixed entity attributes displayed:
RequestType
Birthday
Sex
and two flex items (rendered at runtime for a specific runtime value of RequestType):
Smoker (Y/N)
Weight
Before saving the record I'd like to check a number of validation business rules that depend on the fixed entity attributes as well as the two flex items being displayed.
Consequently, I'd need to be able to access the flex item values provided by the user, inside my validateEntity method (right ?).
I can define simple validations for the flex items, but I can only access the flex item value and possibly the DependsOnItemValue.
PS: When I define a flex item of type 'inputtext' and try to access its value using a bind variable in the validation query of the flex item e.g.
:ItemValue = 'blabla'
Suppose the user fills in the value Abracadabra, the validation logic substitutes as follows:
Abracadabra = 'blabla' (which generates an Oracle error). I'd expect the following substitution to take place:
'Abracadabra' = 'blabla' -
Customer Aeiging report no due items issue
Hi,Team
we have standard SAP report for aeiging and we can develop new form and report.
I have create New form thru FDI4 here i selected customer for rows and columns i have created with Due date analysis and Days for net due date. in first column i entered not due and here i selected 2(Analysis of line items not due (due date forecast)) and entered days as 0 to 0. and in second column i entered 1(Analysis of line items due) and days as 0 to 30 days. like that i created number of columns and maintained formula for total due items and total open items.
In FDI1 i created report with using new form. Here i entered customer, document type, spl g/l indicator, industry etc..
while executing report i am getting values for due items only. not due items are missing. Not due items column is showing as empty values. but i checked in FBL5N and BSID table there we have data but here it is missing. Can anyone help me to come out this issue.
Regards,
Nagaraju.Hi Team we need to give the days as 0 to 9999 then it will work properly.
-
Interest calculation on cutomer DUE items using FINT option
Hi.
I am using FINT option to calculate interest run for customer due items.
I have posted a customer inivoice using F-22 with posting date as 05.01.2011. I gave the tolerance days as 7 days.
Therefore system is showing that the customer open item as DUE on 11.01.2011 in FBL5N.
When i run FINT option with date as 12.01.2011 system is picking only overdue items and not picking this DUE item.
Can anyone help me in this issue.
Regards,
PadmavathiDear Murali,
I have changed the option in item interest calculation - Ref date as 1 - Value date (or base line date for net payment). Earlier i gave the option as 4 - payment baseline date.
Since i changed the ref date as 1 system is calculating the interest from net due date instead of posting date.
This is solved.
But one more problem is that in the system for the interest indicator i gave from date as 01.01.2011 that means system should select open items from the invoice date 01.01.2011. But system is selecting all open items in that customer a/c irrespective of date given for the initerest indicator when i run FINT option. In FINT option i gave interest indicator from and to as B1. still the system is selecting all open items irrespective of date given for interest indicator.
Can you help me.
Regards,
Padmavathi -
Error in CNS0 :Sales unit is not valid for the item
Dear Team ,
we are using assembly process ,after creation of project from sales order ,requirments are pass to production planning (PP), Asign the bom to activites then we are going to delivery through project (cns0) at the time system shows error" sales unit is not valid for the item" we check the options in material master .please help me on this issue.
Thanks &Regards
R.B.RAOHave a look at the following note:-
Note 140551 - VL384 Stock transport order and batch selection
G. Lakshmipathi -
This action is not valid for this item
Hi all,
I am facing with "This action is not valid for this item" error, if I submit the items by using "Submit Decisions" button on UWL. Please find the uwl, below;
<ItemType name="uwl.task.webflow.decision.TS90100027" connector="WebFlowConnector" defaultView="DevamDevamsizlik" defaultAction="viewDetail" executionMode="pessimistic">
<ItemTypeCriteria externalType="TS90100027" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalId" objectType="WebflowContainer" cacheValidity="session">
<Attribute name="Personel" type="string" displayName="Personel Adı"/>
<Attribute name="AttAbsText" type="string" displayName="Devam/Devamsızlık Tipi"/>
<Attribute name="BaslangicTarihi" type="date" displayName="Başlangıç Tarihi"/>
<Attribute name="BaslangicSaati" type="time" displayName="Başlangıç Saati"/>
<Attribute name="BitisSaati" type="time" displayName="Bitiş Saati"/>
<Attribute name="BitisTarihi" type="date" displayName="Bitiş Tarihi"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="Onayla" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="0001"/>
<Property name="UserDecisionTitle" value="Onayla"/>
</Properties>
<Descriptions default="Onayla"/>
</Action>
<Action name="Reddet" groupAction="" handler="SAPBSPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="0002"/>
<Property name="UserDecisionTitle" value="Reddet"/>
<Property name="Application" value="zh12j010"/>
<Property name="PageId" value="rejectreason.htm"/>
<Property name="workitemId" value="${item.externalId}"/>
</Properties>
<Descriptions default="Reddet"/>
</Action>
<Action name="Detay" groupAction="" handler="SAPBSPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="Application" value="zh12j010"/>
<Property name="PageId" value="detail.htm"/>
</Properties>
<Descriptions default="Detay"/>
</Action>
<Action name="Yazdir" groupAction="" handler="SAPBSPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="Application" value="zh12j010"/>
<Property name="PageId" value="print.htm"/>
</Properties>
<Descriptions default="Yazdır"/>
</Action>
<Action name="submitUserDecisions" groupAction="yes" handler="UIActionHandler" referenceBundle="submit" returnToDetailViewAllowed="no" launchInNewWindow="no"/>
</Actions>
</ItemType>
<View name="DevamDevamsizlik" selectionMode="MULTISELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS90100027" columnOrder="createdDate, Personel, AttAbsText, BaslangicTarihi, BitisTarihi, BaslangicSaati, BitisSaati, redCol, onayCol" sortby="createdDate" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="-1" dueDateSevere="0" dueDateWarning="0" emphasizedItems="new" displayOnlyDefinedAttributes="no" dynamicCreationAllowed="yes" actionPosition="bottom">
<Descriptions default="Devam/Devamsızlık Talepleri">
<ShortDescriptions>
<Description Language="en" Description="Devam/Devamsızlık Talebi Onay"/>
</ShortDescriptions>
</Descriptions>
<DisplayAttributes>
<DisplayAttribute name="onayCol" type="checkbox" width="" sortable="no" format="default" actionRef="0001" hAlign="CENTER" vAlign="TOP" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Onayla">
<ShortDescriptions>
<Description Language="en" Description="Onayla"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="Personel" type="string" width="30" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Personel"/>
</DisplayAttribute>
<DisplayAttribute name="AttAbsText" type="string" width="15" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Devam/Devamsızlık Tipi"/>
</DisplayAttribute>
<DisplayAttribute name="BaslangicTarihi" type="date" width="" sortable="yes" format="medium" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Başlangıç Tarihi"/>
</DisplayAttribute>
<DisplayAttribute name="BaslangicSaati" type="time" width="" sortable="no" format="medium" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Başlangıç Saati"/>
</DisplayAttribute>
<DisplayAttribute name="redCol" type="link" width="20" sortable="no" format="default" actionRef="Reddet" hAlign="CENTER" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Reddet">
<ShortDescriptions>
<Description Language="en" Description="Reddet"/>
</ShortDescriptions>
</Descriptions>
</DisplayAttribute>
<DisplayAttribute name="BitisSaati" type="time" width="" sortable="no" format="medium" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Bitiş Saati"/>
</DisplayAttribute>
<DisplayAttribute name="BitisTarihi" type="date" width="" sortable="yes" format="medium" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Bitiş Tarihi"/>
</DisplayAttribute>
</DisplayAttributes>
<Actions>
<Action reference="submitUserDecisions"/>
<Action reference="refresh"/>
<Action reference="forward"/>
</Actions>
</View>
Can anyone give a suggestion about it?
Thank youHi all,
I had the exact same error using a user decision configuration. Issue was that I was using a VIEW that did not exist:
ItemType name="uwl.task.webflow.TS90300005" connector="WebFlowConnector" defaultView="DefaultApprovalView">
DefaultApprovalView was not defined as a custom view.
SOLUTION: changed it to standard SAP com.sap.pct.erp.srvconfig.approvaloverview view and it worked!
ItemType name="uwl.task.webflow.TS90300005" connector="WebFlowConnector" defaultView="com.sap.pct.erp.srvconfig.approvaloverview">
This is normally by default defined in a standard portal system.
Edited by: David Pierre on Jan 13, 2010 3:15 PM
Edited by: David Pierre on Jan 13, 2010 3:16 PM
Edited by: David Pierre on Jan 13, 2010 3:19 PM -
0FI_AP_4 Not extracting data for items not due
Dear SAP Forum,
Please note when we are trying to pull the 0FIA_P_4 data into SAP BI system, there are certain records like
items not due - records ( in tcode fbl1n) are not populating in the standard DataSource .
I need to display these records in my report.
Please help us on this issue,like how can we pull above records into BI system.
Best Regards,
Padugula SrinivasDear SAP Forum,
Please note this is a production issue and need to resolve with in SLA.
Please help us.
Srinivas Padugula -
Validation for an item is not working
Hi All,
I have a validation for name field in my application to resist the names repeating while creating new USER
i tried Function returning error text.
declare
l_count number:=0;
begin
if :p102_username is not null and :REQUEST ='CREATE' then
select count(username) into l_count
from portal_login
where user_id =:p102_user_id;
if l_count > 0 then
return'This Username already exists. Please enter a new name.';
end if;
end if;
end;
But it is not working..
It gives error like
ORA-01403: no data found
Error unable to fetch row.
First it was working fine, after validation it started to give error.
So i removed that but also the condition is same..
Can any one help me?
Thanks,
AlkaYou are getting this error because your SELECT statement is not returning any rows. You need to do something like:
DECLARE
l_count number:=0;
CURSOR check_emp IS
SELECT COUNT(ename) cnt
FROM emp
WHERE ename = :p14_ename;
BEGIN
IF :p14_ename IS NOT NULL AND :REQUEST ='CREATE' THEN
OPEN check_emp;
FETCH check_emp INTO l_count;
IF (l_count > 0) THEN
CLOSE check_emp;
return l_count||' This employee name already exists. Please enter a new name.';
END IF;
CLOSE check_emp;
END IF;
END;Mike -
Drill down report for due date analysis for customer open items
Hi, in transaction FDI0 i am using report 0SAPDUEAN-01 Due Date Analysis for Open Items .The reason i am using this is that s_alr_87012178 caters for only 6 intervals. With this report , i get 8 intervals:
daily intervals Due Not Due Total OI
0 - 30 0,00 0,00 0,00
31 - 60 67.000,00- 0,00 67.000,00-
61 - 90 0,00 0,00 0,00
91 - 120 20.020,86 0,00 20.020,86
121 - 150 3.270,00 0,00 3.270,00
151 - 180 0,00 0,00 0,00
181 - 210 0,00 0,00 0,00
211 - 99999 0,00 0,00 0,00
Total open items 43.709,14- 0,00 43.709,14-
Is it possible to change the intervals through custo? i need intervals:
0 - 30
31 - 60
91-120
121-150
151-365
>365Hi AA
refer this link where in I have given the screen shots
http://img233.imageshack.us/g/86081486.jpg/
The 1st screen shot is COPY of the Std Form
The 2nd scren shot shows how to add new interval
Br, Ajay M
Maybe you are looking for
-
Error while posting MIGO for HU-Inbound Delivery
Hi All When am trying to post the MIGO for HU Inbound Delivery Creation, am getting an error saying "Required parameters missing when calling up module MARV_SINGLE_READ". Following areas I have verifed: The posting periods in MMRV shows current peri
-
Passing values from main report to sub-reports
- How do we pass values from main report to sub-report?
-
BW 2.1C and ECC 6.0
Hi all, does anybody knows about compatibility of ECC 6.0 and BW 2.1c ? Could you suggest me an official SAP source for ECC/BW compatibility ? Thanks marco
-
Default Settings for Items - default company code
Upon entry into Power Shop, how can I look up what the default Company Code is for the user? Is there a BADI/FM combination that can be used?
-
Lost some Thumbnails and some Full Size
I've noticed after installing V6 that some of my thumbnails are missing. Worst yet that a lot of the full size pitures are not showing in the edit screen. They are however showing as thumbnails. I've also noticed that the folder names used for storin