Due days
We have created the formula variable ZGIN_DAT and customer exit in CMOD for capturing the GRN date from /BIC/AZSD_O2100 table.
The following are the codes.
when 'ZGIN_DAT'.
break-point.
CLEAR : wa_loc_var_range, wa_var_range.
data zgrndat type /BIC/OIZGRN_DAT.
if i_step = 2.
loop at i_t_var_range into wa_var_range
where vnam = 'ZGIN_DAT'.
select single /BIC/ZGRN_DAT into zgrndat
from /BIC/AZSD_O2100
where /BIC/ZGRN_DAT = wa_var_range-Low.
clear wa_var_range.
endloop.
endif.
endcase.
We have put the breakpoint after when statement in the above coding. when we debug in rsrt, the system is not entering the other statements after when. Since i am new to coding, please correct the coding
HI,
Ucan use this code after all codes in cmod
under
The following are the codes.
when 'ZGIN_DAT'. instesd of that variable u use others and try for that
others
break-point.
CLEAR : wa_loc_var_range, wa_var_range.
data zgrndat type /BIC/OIZGRN_DAT.
if i_step = 2.
loop at i_t_var_range into wa_var_range
where vnam = 'ZGIN_DAT'.
select single /BIC/ZGRN_DAT into zgrndat
from /BIC/AZSD_O2100
where /BIC/ZGRN_DAT = wa_var_range-Low.
clear wa_var_range.
Thnaks & regards,
sathish
Similar Messages
-
KMTL - How to add Column for OVER DUE DAYS in report
Dear Concern,
We are Microsoft Dynamics NAV 2013 users, We want a little change on Reminder Report (In report there is due date we inserted column for OVER DUE DAYS right side to Due Date column in we required Expression of which type of formula that
shows us the Over Due Days for particular.
Please every one confirm or suggest for this error.
Thanks & regards,
Laxman SonarHi Laxman Sonar,
Per my understanding that you have an date field(Due Date) in the report and now you want to get the over due days based on this field and display at right of the date field in the report, right?
I have tested on my local environment that we have two method to do this, one is to add the datediff functon in the query to get the overdue days and another method is to using expression in the report.
Details information below for your reference:
Method one:
Modify the query as below to get the new field(OverDue Days):
SELECT DueDate, DATEDIFF(day, DueDate, GETDATE()) AS OverDueDays
FROM tableName
Method Two:
Add an calculated fields and then add the expression below to get the value for this field or just add expression directly in the new field:
=Datediff("d",Fields!DueDate.Value,Today())
If your problem still exists, please try to provide us some sample date and more details information about your requirements.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Why we set the indicator of ; payment per due day in app wht is the importa
Why we select dayment per due day in app ?
Hi Judy,
The resource leveling command is not a resource optimization tool. It's only job is to resolve resource overallocations by delaying tasks. It will not:
Change resource assignment units to tasks.
Ensure the resource is "fully" utilized.
For example:
Resource with max units of 100% (the default).
Task A starts on 20 January until 22 January and the resource is assigned at 75%.
Task B starts on 21 January until 23 January and the resource is assigned at 50%
The resource is overallocated on Tuesday (peak = 125%) and Wednesday (peak = 125%).
Leveling produces this result:
Project did not drop the assignment to Task B to 25% to allow it to continue while Task A was going on -- it simply delayed B (at 50%) until A was scheduled to finish. -
Over due days calculation?
Hi
i want calculate over due days is system date _ net due data?
here system date means can i take calday? or user enry i can create 1 formula?
please let em knowHi
Normally, the System date (0SYSDATEBEG)can be Created on date and Net due date is Currency Key date.
You can Use Char Formula Variable to calculate the same.
You can even use FM -- DAYS_BETWEEN_TWO_DATES , if you are using Cust Exit --CMOD.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b025fab3-b3e9-2910-d999-a27b7a075a16
Hope it helps -
Net due days from the base line invoide date
Hi,
I am doing a report inFI module.i need to find out the net due days that should be added to the base line invoide date to get the due date for the customer.
in table T052 there are two fields
ZTAGG
ZTAG1
which one is the field that i should use.
Thanks
AnsariHi Ansari,
look , ift that https://forums.sdn.sap.com/click.jspa?searchID=477154&messageID=2164673 will help you
pls reward useful answers
thx.
Andreas -
Is it Possible to make a Tuesday as a due day for payment. in terms of payment obb8
Hi Gurus
I need to make terms of payment 28 days from the base line date of posting date. and payment should made on every Tuesday once the invoice is due after 28th day.
Is it possible to make Tuesday is the base for Payment. instead of Date e.g instead of 2nd payment i need to make payment on every Tuesday.
Thanks in advance
RaviHi Ravi
In SD and MM you can do it with BADI or enhancements. Please, see these notes:
Note 1156325 - BAdIs in the Logistics Invoice Verification environment
Note 301077 - User exits for the interface to accounting
For invoices in FI (FB60/FB70 and so on), maybe with the BTE 00001610
I hope this helps you
Regards
Eduardo -
Different interest percentages for different over due days
Hi Experts,
I have the following scenario with respect to the Interest calc for customers.
1. If the line item is over due till 90 days interest will be charged 10%
2. If the same line item is over due more than 90 days interest should be charged 12%
Can you please provide me with a possible way to configure this scenario?
Thanks in advance.
Siva CheruvuDear Siva Cheruvu ,
the programs for interest calculation for open items (RFDUZI00 or
RFKUZI00) and for interest calculation for balances (RFSZIS00, RFDZIS00,
RFKZIS00) calculate interest linearly.
Kindly review the SAP Note 403580. As this note states, you may
have to use BTE 4152 for interest calculation changes, in case you want
to use a different formula than the one available in the standard.
About the new report RFINTITAR and RFINTITAP, please check the SAP note 736223 that gives You additional information to allow You to do own programming.
Several Badis can help You by se19 to do it as FI_INT_CUS01 for example.
Mauri -
I have Invoice Date as character in my ODS. At the query level i want to know at the time of execution of query, number of days due for an invoice. ie. todays date (system date) - invoice date. How to handle this. Please explain in detail, as this type of query is new for me.
I think you misunderstood the last reply.
You have been suggested to create a FORMULA VARIABLE, not FORMULA.
1. Create a formula
2. look at the bottom most part of the pane where key figure appears, there you would see a folder called formula variable.
3. Right click there and create a new formula variable - type (replacement path) - based on invoice date. (Formula 1)
4. create another formula variable based on type - (customer exit) - based on current date. (Formula 2)
5. create 3rd formula and mention date(formual 2) - date(formula 1).
Formula 3 should give your desired output.
- Danny -
Number of days customer is due to be maped in dunning notice PLD
Hi All,
In the Dunning Reprt PLD I want to print the number of days the Customer is due to company as the number of days due varries from customer to customer please give a solution. So that i want to map number of days from dunning wizard report in to the PLD.
Regards & thanks for advance,
Mobin.Hi Mobin
One question first, the due days per customer does not make sense as there may be more than one document owing. I assume then that the oldest invoice must be used to calculate? This would be true at header level, but it will not be possible to place a field here to calculate from the rows. It might be possible to include a BP master UDF field here at print time, but this field would have to be updated manually on the BP masters with a query to get the maximum due date of open invoices and calculate their days overdue.
For row level each document could have a number of days overdue and this should be rather easy to achieve. Add an extra column as formula field and use the following formula:
ToNumber(F_203)-ToNumber(F_089)
F_203 is my own hidden field at row level with the formula Date() in it. F_089 is the value date or due date on the row. You can also add a hidden field and refer to the database field you want to use for this date.
I am still of course assuming that the dunning report you are referring to is the SAP standard dunning letter(s). If you are referring to a custom report, please let me know.
Kind regards
Peter Juby -
GP: How to wait a specific number of days?
Hello everybody,
I am searching for an idea how to create a step in my Guided Procedures process which waits until a specific day (or a number of days from it's start).
I have thought about implementing a Java Callable Object which waits until completing the step - but I fear to create a lot of server load with that.
Does anyone have a different idea?
Maybe there is a way to use due days and a loop?
Thanks for any suggestion
IngoHi,
I think you can do it :
STEP A - Complete
STEP B - Waiting
STEP C - After complete B
You can developer a Job that uses Guided Procedure API (http://help.sap.com/saphelp_nwce10/helpdata/en/44/0d3e1626821c9de10000000a11466f/content.htm) to complete STEP B, based on creation date. This Job can execute on each hour, 15 minutes, day. Or on way that you need.
So, after execute JOB and a step was select, complete it, so STEP C was activated.
JOBS on NetWeaver CE: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10fed553-0e01-0010-9bb8-ed55659e1236
Other Job alternative: Java Quartz, CRON
Best regards -
Terms of Payment (45) days
Hi Guyz,
We are facing a problem in calculation of days Payment Terms.
We are using PT (T45B - T/T 45 days from B/L date), the problem is
system is not calculating 45 days from the Document day.
In TC (OBB8) the configuration of (T45B) is configured for Customer &
Vendor, in Payment Term no fo days is set as 45. The default for
baseline date is set as Document date, no discounts.
System is not calculating exact 45 days from the document date.
Please reply how to adjust exact 45 days in this PT.
Regards,
Yasir KhanHi Khan,
Four dates are important in SAP
1. Document Date
2. Posting Date
3. Base line Date
4. Due Date
In the Customer and Vendor Master Data you define the payment terms. Based on your configure (Account type vendor / customer documents date/posting date under default for baseline date as per Mr.Amit explain he has decided Base line date has to calculate according to the document date. Hence, if you want you can make it into Posting date) as per my point of view posting date is always better, seeing in practical manner.
When you are posting the documents in the second level screen you have to define your payment term it will come automatically according to your set up. Hence you can change here also.
And you can mention the due days also. If you entered your due date is different from the system due dates then you can feel the calculation of 45 days according to the baseline date may differ.
Please check in your end and get back to me. If you have any further clarifications please let me know.
Warm Regards,
Sivakumar Sathiyamoorthy -
Hi,
Can some one help me with below query.
Posting Date, Doc #, Doc Status (Open Olny), Card Code, Card Name, Supplier ref. No, Doc Total, Total Paid, Balance Due, Today due, tomorrow due, day after tomorrow, like same till month end. (for salected period) (T0.[DocDueDate] >= [%0] and T0.[DocDueDate] <=[%1]).
Regards,
SureshHi,
Check this if it helps you for start :
select t1.docdate As 'Posting Date', t1.DocNum as 'Document #', t1.DocStatus as 'Status',
t1.CardCode as 'BP Code', t1.cardname as 'BP Name', t1.numatcard as 'Reference Number',
t1.doctotal as 'Document Total',t1.paidsum as 'Paid Amount',
t1.DocTotal-t1.PaidSum as 'Balance Due',
datediff(dd,t1.docdate, getdate())as 'Overduedays'
from JDT1 T3 inner join OPCH t1 on t3.transid = t1.transid and t3.shortname <> t3.account
inner join PCH1 t5 on t5.docentry = t1.docentry
where t1.DocStatus = 'O' and t3.refdate >= '2011.01.01' and t3.refdate <= '2011.12.31'
order by datediff(dd,t1.docdate,getdate())
If you need Overduedays in different column, then you have to check Pivot.
Kind Regards,
Jitin
SAP Business One Forum Team -
How to make a single payment for different open items with same due date
Hi,
I have created a payment method and selected "Payment per due day " option in payment method company code settings.
Even I have selected that option, Payment will not happen grouping for the items with same due date
for ex : I have two open items with one due date and another open item with another due date so when I am trying performing F110 system should make a single payment for the item with same due date and seperate payment for another item.
But system making single payment for all items
Could you please suggest anything how to make a seperate payment with due date.
Regards
VK GUPTAHi,
Please check Vendor Master data: FK02 ->company code data -> Payment transaction accounting: unflag 'individual payment'.
Make a test and let me know if it's okay.
regards -
Payment term configuration with installment and due date
Hi,
I have one requirement, one paymne term we have as 40 % advance and 60 % after 45 Days, in description it is as mention, when we do the MIRO one accounting etry is generated in system we can check in FBL1N, now as only one entry is created and the due days are as we maintain in No. of days so according to that the due date is calculated but the requirement is system should show two due date as 40 we have to pay advance so for that for 40 paymne tamount is should so one due date and for remianing amount it should show different due date, How to configure this.
regards,
zafarHi,
Can you help on this issue.
regards,
zafar -
Due date grid for FP04 transaction
Hi Folks,
I need a report layout showing the due date grid for all the open items. Using FP04, I created layouts with all the required fields, but I'm unable to see the grid for due days. Few screenshots of the layout I designed and the summarization fields I defined in our system.
As shown in the output screenshot above, it doesn't display the total grid horizontally for a given customer, instead it is showing rows individually for each grid (30, 60,etc.).
Please advise how this can be fixed to show all the grids for a given customer (30, 60, 90, 180, etc.) in a single row.
Thanks in advance.
Regards,
SantoshHi Amlan,
Thanks for your response.
Here is the layout I have defined.
I initially had few subtotals maintained, but I removed them later as it was not working.
Please advise.
Thanks,
Santosh.
Maybe you are looking for
-
How to update FixedAsset with BAPI_FIXEDASSET_CHANGE
Hi I'm using BAPI_FIXEDASSET_CHANGE to update Cost Center, return message show it's update but when I check AS03, no update make it. Data exported through BAPI Company Code ZZ01 Asset 5102591 TIMEDEPENDENTDATA-BUS_AREA = US02 TIMEDEPENDENTDAT
-
Runtime Error in Standard Include
Hi, After upgrading from SAP 4.7 E to ECC 6.0, we have facing few problem in execution of Reports.. Main problem is that, it called Standard INCLUDES.. Error:- Short text Format error with IMPORT. What happened? Error in the ABAP Application
-
Playing audio podcasts from my iPod on TV
I have no problem playing video podcasts from my iPod on TV, using the Apple AV cable and a scart adapter. However, when I play an audio podcast, I hear the audio on the TV, but I don't see the accompanying visuals that are part of the audio podcast.
-
Error building Application Service because of Web Service operator
Hi Guys, I have a CAF Project and I want to import a standard Web Service from a SAP Java System. I can import the Web Service, but I can't generate it. The error is, that two operations, called getProperty and setProperty, are in reserved Namespace
-
How to assign photoshop cc 2014 to open jpg files
I cannot successfully use the file association screens to select PS CC 2014 as the default program. Why will PS CC 2014 fail to assign when I pull it out of the folder?