Vendors Payment terms text
Hi,
I'm trying to catch the text from the payment terms of a purchase order, but i'm getting nothing...
Can anyone please see the code and tell me what i'm i doing wrong?
Thanks
P.S. - this code is in the Code Initialization of the sap adobe forms interface (don't know if it matters or not...)
DATA IT_T052 TYPE T052 OCCURS 0 WITH HEADER LINE.
*Payment Term
DATA v_PaymentTerm TYPE EKKO-ZTERM.
*Texto condição pagamento
DATA IT_PT_TEXTS TYPE ttext OCCURS 0 WITH HEADER LINE .
*Payment term of the PO 1234
SELECT ZTERM
from EKKO
into v_PaymentTerm
where ebeln EQ '1234'.
ENDSELECT.
*Fill the internal table with the payment terms info
select *
from T052
into table IT_T052
where zterm EQ v_PaymentTerm.
*I've tested and it returns 1 row with the correct data
call function 'FI_TEXT_ZTERM'
exporting
i_t052 = IT_T052
tables
t_ztext = IT_PT_TEXTS.
*PROBLEM!!!
*the program never enter this loop
LOOP AT IT_PT_TEXTS.
WA_PT_TEXT-PT_TEXT = IT_PT_TEXTS-TEXT1.
APPEND WA_PT_TEXT TO PT_TEXT.
CLEAR WA_PT_TEXT.
ENDLOOP.
Hi Hugo,
If as an ABAP developer, you want to display payments terms text in different languages, you can read ZTERM text from SAP table TVZBT, Customers: Terms of Payment Texts table.
Customers: Terms of Payment Texts TVZBT table has the following table columns.
MANDT Client
SPRAS Language Key
ZTERM Terms of payment key
VTEXT Description of terms of payment
Stolen from [SAP Payment Terms Table and ZTERM Texts Table for ABAP Developers|http://www.kodyaz.com/articles/sap-payment-terms-table-and-zterm-texts-table-for-abap.aspx]
Regards
Clemens
Similar Messages
-
Vendor payment terms replication
Hi,
Vendor payment terms are not getting replicated to SRM 4.0 from ECC 5.0.We have batch jobs running for vendor replication ( new and update).When i change the payment terms in ECC , it is not coming to SRM.I checked in Manage BPs.
Thanks for suggesting any report / tables where i can find number of vendors that are different in both the systems and replication process. ( As i am unable to use the t code BBPGETVD, BBPUPDVD in easyaccess)
Thanks a lot.Hi pramod,
OK. I got it.
SAP Note 1104581 -No logical system in customizing view
BBPV_PTERM_LOCAL
Symptom
You have transported local payment term Customizing (view BBPV_PTERM_LOCAL)
from your SRM development system to a productive system.
The transported payment terms cannot be selected for local purchase orders
and are not visible in Customizing step "Supplier Relationship Management >
SRM Server > Cross-Application Basic Settings > Create Payment Conditions".
More TermsZTERM, pay, BBP_POC, payment tab, terms of payment
Cause and Prerequisites
Local payment terms must have the local logical system ID in the
corresponding fields of tables BBP_PAYTERM and BBP_PAYTERM_TEXT.
Solution
Please implement this note or the relevant Support Package.
You can then use report BBPCU_PAYTERM_CONV to change the logical system of
the transported entries to the local SRM logical system.
In the single selection parameter, enter the logical system of the
transported entries.
An error will be generated if the entered logical system exists in table
BBP_BACKEND_DEST.
If an entry already exists with the same key (apart from logical system
name) as the tranported entry, no conversion will take place.
The keys of the converted payment terms and their texts will be listed
after executing the program.
The keys of the payment terms that cannot be converted will also be lsited.
table BBP_PAYTERM or BBP_PAYTERM_TEXT.
BBPM_BUT_FRG0061
Payment conditions
i will also check and come back to you.
regards
muthu -
How to get vendor payment terms
Hi all,
I am creating a report. I need to get vendor payment terms. There are invoices without PO, how can I retrieve the payment terms for those cases.
Thanks.Hi nene
in case of invoice without PO, The payment term will be selected from the vendor master data (in View : payment terms transaction in XK03).
Check payment term in master data is exist or not.
the data is in the table LFB1 : Field ZTERM
Regards
Wiboon -
Hi All
Is there a report that can give me the Vendor Payment terms
VishnuHi Vishnu,
go to SE16 , enter table name LFM1. in display parameters select ZTERM
Regards
Mangesh. -
How to get PO and vendor payment term number of days??
Hi Experts,
I want to have a) Purchase order payment term number of days as well as
b) vendor Payment term number of days.
For a) For Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
term number of days.
Is it correct??
b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
with that field.
So is there any other option for (b)
and Whether steps for (a) is correct???
Please confirm this.
Thanks in Advance,
Uday Shankar.For a) For Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
term number of days.
Is it correct??
Payment terms for purchasing doesn't come delivered as part of the R3/ECC tables and is usually is added as a custom field to EKKO and populated via a User Exit. That looks to be the instance in your case because the field that you show as being the payment terms begins with a Z (custom fields begin with Y or Z). That appears, without being able to actually validate in your R3/ECC environment, to be the correct field to use. You would have to validate, however, with the end customer or your MM function consultant to be 100% certain. If this is the correct one to use, you're going to have to enhance the 2LIS_02_HDR extractor by enhancing the extraction structure and creating the User Exit to read it from EKKO and populate into the DataSource.
b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
with that field.
You can enhance the 2LIS_02_HDR extractor with the Vendor Payment Terms by joining the following in your User Exit:
EKKO-LIFNR = LFB1-LIFNR
EKKO-BUKRS = LFB1-BUKRS
LFB1-ZTERM = T052-ZTERM
This could either be done in a SELECT statement in the User Exit to do this equi join, or you could create a view on your R3/ECC environment and SELECT from that view. -
Vendor Payment term Datasource
Hi
I have requirement to extract SAP vendor payment terms master data to BW. can you pls help me with right datasource for this.
Which datasouce needs to used to extract vendor payment term.
In SAP, we can use via SAP is FK03 transaction.
Regards,
AnbuHello Anbu
Data flow is like this
0FI_AP_4 ( DataSource) -
>0FI_AP_O03 ( DSO) -
>0FIAP_C03 ( Cube).
If you install the standard cube in BW system with Data Flow before option , it will install the complete flow.
Regards
Anindya -
Hi All,
How to configure the following Vendor Payment term?
Business requirement:
We require vendor payment term with multiple cash discount days option. Standard SAP provides 2 discount days option, but we require more than 20 discount options within one payment term.
Following is the example of a payment term, which requires multiple discount options as shown.
Payment Date Baseline = Vendor Invoice Date
1% 10 days Net 30 days from date of invoice
0.95% 11 days Net 30 days from date of invoice
0.90% 12 days Net 30 days from date of invoice
0.85% 13 days Net 30 days from date of invoice
0.80% 14 days Net 30 days from date of invoice
0.75% 15 days Net 30 days from date of invoice
0.70% 16 days Net 30 days from date of invoice
0.65% 17 days Net 30 days from date of invoice
0.60% 18 days Net 30 days from date of invoice
0.55% 19 days Net 30 days from date of invoice
0.50% 20 days Net 30 days from date of invoice
0.45% 21 days Net 30 days from date of invoice
0.40% 22 days Net 30 days from date of invoice
0.35% 23 days Net 30 days from date of invoice
0.30% 24 days Net 30 days from date of invoice
0.25% 25 days Net 30 days from date of invoice
0.20% 26 days Net 30 days from date of invoice
0.15% 27 days Net 30 days from date of invoice
0.10% 28 days Net 30 days from date of invoice
0.05% 29 days Net 30 days from date of invoice
Net 30 days from date of invoice
Best Regards,
SivaHi,
This is one single payment term.
Example: Material "ABCD" - Qty 1 EA @ USD100 is ordered and received from vendor. In the PO, this payment term is mentioned. Hence the discount offered by the vendor is based on when the payment is made.
If payment is made on the 30th day from the date of invoice, it is due net. For each day prior to 30, the discount increases. Hence the earlier the payment is made the higher the discount.
If the invoice date is 01-Sep-07, the following table shows the discount based on payment date:
Discount % Payment Date Discount Amount
1.00 % 10 Days from Invoice date 10-Sep-07 1.00
0.95 % 11 Days from Invoice date 11-Sep-07 0.95
0.90 % 12 Days from Invoice date 12-Sep-07 0.90
0.85 % 13 Days from Invoice date 13-Sep-07 0.85
0.80 % 14 Days from Invoice date 14-Sep-07 0.80
0.75 % 15 Days from Invoice date 15-Sep-07 0.75
0.70 % 16 Days from Invoice date 16-Sep-07 0.70
0.65 % 17 Days from Invoice date 17-Sep-07 0.65
0.60 % 18 Days from Invoice date 18-Sep-07 0.60
0.55 % 19 Days from Invoice date 19-Sep-07 0.55
0.50 % 20 Days from Invoice date 20-Sep-07 0.50
0.45 % 21 Days from Invoice date 21-Sep-07 0.45
0.40 % 22 Days from Invoice date 22-Sep-07 0.40
0.35 % 23 Days from Invoice date 23-Sep-07 0.35
0.30 % 24 Days from Invoice date 24-Sep-07 0.30
0.25 % 25 Days from Invoice date 25-Sep-07 0.25
0.20 % 26 Days from Invoice date 26-Sep-07 0.20
0.15 % 27 Days from Invoice date 27-Sep-07 0.15
0.10 % 28 Days from Invoice date 28-Sep-07 0.10
0.05 % 29 Days from Invoice date 29-Sep-07 0.05
(0.00) % 30 Days from Invoice date 30-Sep-07 (0.00)
Best Regards,
Siva -
Vendor Payment Terms config for 30%advance 70% after GR
Hi Guys,
How to configure Vendor Payment Terms for " Vendor Payment Terms config for 30%advance 70% after GR "
Please suggest your expert comments.
Thanks in advance.
Regards,
Jackiesappassion2011 wrote:
Hi Guys,
>
> How to configure Vendor Payment Terms for " Vendor Payment Terms config for 30%advance 70% after GR "
>
> Please suggest your expert comments.
>
> Thanks in advance.
>
> Regards,
>
> Jackie
Hi Jackie,
Do them in trxn OME2
Regards
Shiva -
Are Vendor Payment Terms on RFx Object in Sourcing?
Hi There,
We uncovered this document via a Google search:
http://help.sap.com/scenarios_bus2008/helpdata/en/6d/4c0a50eab44534bef84c9b7bcec94a/content.htm
The document implies that the vendor payment terms are on the RFx object but I cannot confirm that the field exists on this object in Sourcing 7. Does anybody know what version of Sourcing supports this mapping? I haven't been able to find the document that this link belongs to, so it's possible that it's an orphaned page from some old documentation, but I'd appreciate confirmation from one of the experts on this forum.
Thanks!
Shankeri can confirm that the mapping is available in the standard mapping for Release 7.0. (MM_Award_To_Purchase_Order)
also, there are many other fields available not included in the mapping guide, but also readily available for use, with some amendments to the Data Types in SAP PI.
see link for integration guide (including the table you linked)
http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000091446&_SCENARIO=01100035870000000202&_OBJECT=011000358700000161702011E -
Hello
I have a requirement to have the same values for vendor payment terms in purchasing view and accounting view.
I found this topic which works only with transaction XK01 & XK02
Wich user-exit for Creating Vendor I must use?
How make it work with MK01 / MK02 ?
ThanksCheck badi VENDOR_ADD_DATA & method PRESET_VALUES_CCODE.
Try to update the required field for LFB1 in that method. -
Enhanced Vendor Payment Terms for multiple discounts days
Hi
There is requirement of multiple discount days in a single vendor payment term.
Standard SAP provides only 2 discounts for a payment term.
Now we need as many as 30 discounts per vendor payment term.
How do we achieve this?
We are using 4.6c SAP version....
Very urgent please help..
Regards,
Krishna prasadHi Krishna,
Did you find the answer?
I too have a similar problem; if you could find the answer yourself please help.
Regards,
KKG -
Vendor Payment Terms Changes - Listing?
Hi SDN
We are trying to track all the Vendor Payment Terms Changes done in the Vendor Master, and I was wondering if SAP offers some reports that could list, for a given time period, all the vendors that their payment terms changed, as well as what was the old value, and what the new one is.
If not, what would be the table(s) I could use, and maybe try to create a SQVI query to provide me that listing.
Thanks for your usual support.
Eric L.Hello,
You can get the details of changes made to Vendors in report S_ALR_87012089
Further selections include:
General Data
Company Code Data
Purchasing Organization Data
If you want to see only company code data and you will the details for all the fields within "Company Code Data" including "Payment Terms"
Hope this solves your problem.
Regards,
Ravi -
How can we have cash discount as well as vendor payment terms
We have vendor payment term of 2% 10 days, net 30. On top of it the vendor gives us 4% discount on certain POs where the total PO amount exceeds 20K. We want to have the 4% discount on the individual line item at the time of the invoice posting and then additional 1% discount from the payment term. We donu2019t want the PO price to change due to the 4% discount.
In MIRO, it seems we can take either the cash discount (field WSKTO) or the discount from the payment term (field ZTERM). How can we take both the discounts?1 - The 2% 10 days, net 30
It can be calculated using the Vendor payrment terms.
2 - The 4% discount which has to be applied on certain POs where the total PO amount exceeds 20K and should not change the PO price.
I - Create a condition type with the calculation type A - Percentage and select the option Accruals in Control data 2.
II - In the Calculation schema,
Calculate the 4% value from the total of the PO Price.
Untick the manual.
Mark the condition type as Statistics.
Enter a Condition Formula Calculation Rule (Calculation Type) or Use the Requirement to activate if the
value exceeds 20K.
Enter the Accrual key like (FR1, FRE ...) and assign the GL account to that.
By Maintaining this way, you affect only the internal price and not the PO price. -
How to find Payment term text from Terms of payment.
Dear All,
in table VBRK I can see a field Terms of Payments - ZTERM. Now I need to find the table where I can find Payment term text field ? Can someone tell me how to research this ?
Also if I know address from Kna1 ( field name adrnr ) how can i find the fields linking to table ADRC ?
Many Thanks,
AshimHi,
Payment term table already answered by Anil. Use function module "ADDR1_EXTRACT_TABLES" to extract address information. Pass address number as an input to this function module.
Regards
Vinod -
Getting Payment Terms Text of PO
Hi All,
I need to get the Payment terms text of PO.
I am able to get the Own explanations from T052U table.
The payment terms entered in the PO can be got using Read_text passing F07, EKKO and the PO number.
What i need is getting the Explanation of First Payment Term, Explanation of Second Payment Term and Explanation of Net Payment Term.
Regards
Aruncheck table
T052U
<b>Hi ARUN ,
i am unable to get ur Point ? Can u tell me more abt this ?
if i am giving payment term = 1050 @ PO header ? So what do u want to get ? long text of 1050 or what ?</b>Regards
Prabhu
Message was edited by: Prabhu Peram
Maybe you are looking for
-
Format hard drive and use the TM
the story is long but start from downloadingthe mountain lion. i try to install but the system told me i need to run hard drive repair utility becouse the hard drive is damaged. i did that but the software told me is too much and i need to format the
-
Processkeys in 2LIS_02_SGR wrong?
Hi, can anybody please confirm some processkeys of DataSource 2LIS_02_SGR? Following situation in our system: Posting 1: goods receipt with movement type 101 Posting 2: goods return to vendor with movement type 122 sent to BW with 2LIS_02_SGR as: REC
-
MM - Provisional and Final Invoice
Hi All, please, someone can explain to me in which way SAP standard manages provisional and final invoice process (it is clear in which way the Formulas work). Is it possibile to obtain several provisional invoices as much goods receipt and then, at
-
DRG-10849 catsearch does not support functional invocation
I have this error message: DRG-10849 catsearch does not support functional invocation this is my query: SELECT * FROM (SELECT /*+ FIRST_ROWS(50) */ NTQ.*, ROWNUM RNUM1 FROM (SELECT /*+ INDEX(DL_TSD_DEFTR_CI) */ FROM ima_ol.DL_TSD_SITUATION s WHERE (C
-
CM Repository Garbage Collector - System ID, which one to pick?
I followed instructions in <a href="http://help.sap.com/saphelp_nw70/helpdata/en/92/99643e67724644e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/92/99643e67724644e10000000a114084/frameset.htm</a>. When I edit the Task, th