How to download explanation texts of Payment Terms.
Hi All MM Experts,
I am a ABAPer.One of the MM consultant in our project wants to download the payment terms with the explanation texts (which is usually in multi line) in OME2 transaction. I have tried table T052 and T052U but it didn't help.
Any pointers on the same will be highly appreciated.
Thanks in advance,
Saket
It creates the texts for the payment terms in the input table I_T052 using the text symbols in program SAPLFHL2.
It means you cannot download the text from any table directly.
you have to write a program to download it, in this program you have to execute the function module to get the texts.
Similar Messages
-
Explanation text in Payment term obb8
Hi ,
I have created a new payment term II50 - payable in 2 installments , 50% in advance and balance in 15 days after invoice.
How should I add text in the explanation field in OBB8 ?? This text field is not enabled . screenshot attached.Hi
You need to populate payment terms
I hope this helps you
Regards
Eduardo -
Complete text for payment terms
please help in picking up complete text for payment terms.i used TVZBT table.but only one line is stored in this table.if they give text in 4 lines,im getting only 1st line if i use TVZBT.please tell how to pick up the entire text.
Hi Srinivas
Please check FM
FI_TEXT_ZTERM
Regards,
Arun -
How to download / read text attachment in Sender Mail Adapter IN XI
Hi
I would like to know how to download / read text attachment in sender mail Adapter & sent same attachment to target system using file adapter.
Please help how to design / resolve this concept.
Regards
DSRI would like to know how to download / read text attachment in sender mail Adapter & sent same
attachment to target system using file adapter.
Take help from this blog:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
From the blog:
However in most cases
our message will not be a part of the e-mail's payload but will be sent as a file attachment.
Can XI's mail adapter handle such scenarios? Sure it can but with a little help
from the PayloadSwapBean adapter module
Once your message (attachment) is read by the sender CC, you can perform the basic mapping requirement (if any) to convert the mail message fromat to the file format.....configure a receiver FILE CC and send the message...this should be the design...
Regards,
Abhishek. -
How can we block, a particular payment term for a particular vendor.
Dear Experts,
How can we block, a particular payment term for a particular vendor.
BR.
ChandraHi Chandra,
If you want to block payment term for "particular vendor" then you need to define a validation rule.
As per my understanding, the link provided by Owen will block term for all vendors.
Regards,
Ankit K. Agarwal -
Payment Terms - Only specify sales text for payment terms for customers !
What is wrong with the format in the attached screen shot ?
Do I have to Choose Customer & Vendor ?Hi Emad,
This error “Only specify sales text for payment terms for customers" appears because this payment term is not applicable for customer. There are two choices either to delete the description text and make the payment term applicable only to vendor,However if you want to keep the description text, then make payment term applicable to customer as well by tick mark.
Regards,
Sam -
How to use BAPI_SALESORDER_CHANGE to change payment terms in Orders?
Can any body give me an idea on how to use BAPI_SALESORDER_CHANGE to change payment terms in Orders?
Regards,
Dantham ConpolwedsonHi,
try the link
Link:[https://forums.sdn.sap.com/click.jspa?searchID=24060901&messageID=7265357] -
Explanation of First Payment Term
HI All,
I want to get the Explanation of First Payment Term from the Payment term definition,
Under the SPRO, I found the Technical Information showing table name R052, however, I cannot find it under SE16...
Does anyone know the table name, pls help.
Thanks.
TerryHi terry
Goto SE11 and enter R052, press display button. on next screen it will display R052 as structure, click on "WHERE USED" button, and select tables.
It will display all the tables containing R052 fields. Try to find out the required table among them.
Currently I don't have the SAP system, else I could have told you exact answer.
try and revert -
How to achieve following scenario through Payment term
Hello All,
Our Client wants the Following scenario to be achieved through payment terms in the system:
30 Days Due Net 20th of the subsequent month
If an invoice gets posted on 01.04.2011- The Invoice should get overdue on 20.05.2011
If an Invoice gets posted on 25.04.2011t the invoice should get posted on 20.06.2011 (20th June)
Can anybody suggest how to achieve this.
Thanks
NitinHi,
in OBB8, you Create a Payment Term Varian eg. G001.
1. to achieve your 1 requirment do create as following.
Give Day Limit as 24 and in (Default for Baseline date -you can select document date or posting date as per your requirment)
you can Select either Vendor or customer as Per your Requirment.
Under Payment Terms give 20 under Fixed date and 1 under Addtional Months.you can give Own explanation as Due on the 20th of Next month. Save it.
2. to achieve your 2 requirment create as below
copy the Variant G001 and change the DAY Limit as 31
Under Payment Terms give 25 under Fixed date and 2 under Addtional Months.you can give Own explanation as Due on the 25th of the Following month
by the above way you can achieve your requirments.
Wht Happens once you create a payment term as above is for the invoices posted on or before 24th , the due date will be 20th of next month and for the invoices posted inbetween 25 to 31 ,the due date will be 25 of the following Month. save it
Please Let me know if you still have any doupts.
Thanks
Goutam -
How to download a text file using classes
Hi Guys
I want to download a text file using classes.
Any idea how to do it ?
Thanks
SameerHI sameer,
It is no different from using a Function module.
example:
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = w_fpath
append = SPACE
write_field_separator = 'X'
CHANGING
data_tab = it_download
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
not_supported_by_gui = 22
error_no_gui = 23
OTHERS = 24
Regards,
ravi -
How to download a text file from the server
hi everyone,
can anyone tell me how to download and read a text file from the server and saved in into resource folder.
with regards
pallaviits really easy
To read from server, use something like:
HttpConnection connector = null;
InputStream inp_stream = null;
OutputStream out_stream = null;
void CloseConnection()
if(inp_stream!=null)inp_stream.close();
inp_stream=null;
if(out_stream!=null)out_stream.close();
out_stream=null;
connector.close();
connector = null;
public void getResponse(String URL,String params)
try
if(connector==null)connector = (HttpConnection)Connector.open(URL);//URL of your text file / php script
connector.setRequestMethod(HttpConnection.POST);
connector.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");
connector.setRequestProperty("content-type", "application/x-www-form-urlencoded");
//connector.setRequestProperty("charset","windows-1251");
//*** If you need to send ("arg1=value&arg2=value") arguments to script use this:
out_stream = connector.openOutputStream();
byte postmsg[] = params.getBytes();
out_stream.write(postmsg);
int rc = connector.getResponseCode();//in any case here connection will be opened & closed
if (rc != HttpConnection.HTTP_OK)
CloseConnection();
throw new IOException("HTTP response code: " + rc);
inp_stream = connector.openInputStream();
int pack_len = inp_stream.available();
byte answ[]=new byte[pack_len];
inp_stream.read(answ);
CloseConnection();
ProcAnswer(answ);//process received data
catch(Exception ex)
System.err.println("ERROR IN getResponse(): "+ex);
} And you can read from resource file like
public void loadFile(String filename)
DataInputStream dis = new DataInputStream(getClass().getResourceAsStream("/"+filename));
String str="";
try
while (true)
ch = dis.read();//read character
if(ch=='\r')continue;//if file made in windows
if(ch=='\n' || ch==-1)//end of line or end of file
if(str.length()==0)continue;//if empty line
//do some thing with "str"
if(ch==-1)break;//it was last line
str="";//next line
continue;
str+=(char)ch;
dis.close();
catch (Exception e)
System.err.println("ERROR in loadFile() " + e);
}Welcome! =)
Edited by: MorskoyZmey on Aug 14, 2008 3:40 AM -
How to see (net due date + payment term's days) in fbl5n as a date
hi experts.
i need some informations about fbl5n fields
i can see net due date and i can see terms of payment fields in the fbl5n but if the invoice has a payment term (30 day additional etc) i want to see (net due date + payment term's extra days) . for example if the net due date is 01.06.2011 and payment term is extra 20 days , how can i see 21.06.2011 in fbl5n or any other sceens?
Edited by: Burak Akdasli on Jun 22, 2011 3:43 PMHi
I understand from ur question whats the billing date?
If this is ur question, you can fetch it from sales order>item>billing tab.
The logic u had mentioned is confusing be more specifc as to what scenario u are trying.
Reward if it helped
Chandru -
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. -
How to create Over 99 days payment term
Hi,
I need to create payment term for Over 99 days.Kindly hlep me to create this payment term.
thanks
prathimaHi Pratima,
Can you explain you scenario more clearly? Because Over 99 days resembles alot.
Regards,
Jigar -
How to download a text file using jsp i
I want to provide download facility in jsp page.
if i have exe download is working . If I have a text / html file it is just displaying I want to make it download How to do it?
regards
subrahmanaymaIf you want to get an "Save as" dialogue, then you need to set the content-disposition in the header to "attachment". The default value is "inline".
Best solution is to create kind of a FileServlet and let it stream the right file as a download to the client. You may find the downloadFile() snippets at the bottom of this article useful: http://balusc.xs4all.nl/srv/dev-jep-pdf.html Put it in a FileServlet and call it using for example .
Maybe you are looking for
-
How can I make text substitutions learn the correct capitalization of an acronym?
I love the text substitutions function in the Mac OS, and the auto grammar and spelling corrections are usually really useful, but there is one particular instance that is driving me insane. In my job, I end up using the acronym "TAs" (for "teaching
-
Register a new purchase of CS5.5?
Wondering if in this era of the Creative Cloud, can you still register and use a new purchase of an older version of Creative Suite (like those sometimes available for sale by third party companies)? I ask because I have a Mac version of CS5.5 and I'
-
Uefi Partitions capture and restore with ZCM 11.2.4
Hello Everybody, I'm able to capture all my partitions from a Microsoft SurfacePro2 to my ZCM 11.2.4 appliance. The restore however is the problem. When I boot my restored machine Windows 8.1 goes into recovery modus. Anybody some suggestions on how
-
New version of iTunes believes my iPod may be corrupt
When I installed iTunes on my new Lenovo laptop (XP), I attach my iPod and a message pops up that it may not be configured for Windows. I've used this iPod for years with my home computer Dell/XP and it still works fine.
-
[SOLVED] xmonad on virtualbox guest does not work
I'm trying to install xmonad on an arch guest in virtualbox. I'm referencing both the Beginner's Guide and the VirtualBox doc. The beginner's guide says to install X a different way and points the virtualbox guide, which doesn't mention X. So here's