Tcode FV50: How to find long text in FI Document line item Before Saving.
Hi,
How to find long text in FI Document line item.
During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
I would like to validate the Long Text Before Saving in user exit "U300" under the "Sunstitution" .
Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
Please give me the answer as soon as possible .
Note:- Read_Text function module is not useful. Because Read_text useful after saving document.
Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii
Similar Messages
-
How to fill Long Text in Accounting document in the item level.
Hi,
I need to fill Long Text field in item level of accounting document from the header texts from Billing header(say billing instructions)
I checked the user exit EXIT_SAPLV60B_008 but it didnt worked in my case. I have read the billing instructions in the Billing header using FM READ_TEXT but I am not able to save this text using FM SAVE_TEXT because for the field Long Text the parameter TDNAME is a concatenation of BUKRS(COmpany code) BELNR(Accounting doc. no.) GHAJR(fiscal year) BUZEI(line item) .
But I am not able to capture this accounting doc. number in the mentioned user exit instead I am getting Sales Invoice number and hence not able to give TDNAME parameter for FM save_text.Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii -
How to copy MIRO header text to account document line item automatically
HI Experts,
I really need your help or advices , my question is as follows, thanks.
After goods receipt , I do invoice verification at t-code MIRO , and it'll produce an account document by system.
at MIRO, I key in the purchasement description on the header text column (INVFO-SGTXT) ,
and after posting , the header text only appear in account document's account payable item ,
it's blank in GR/IR and tax item.
How to do could let the GR/IR and tax item have the header text too at column BSEG-SGTXT which produced by system?
p.s.
I have try to use BADI: AC_DOCUMENT , Method: CHANGE_AFTER_CHECK
and declare a couple of parameters to check the value, as follows
DATA: WA_HEADER TYPE ACCHD,
WA_ITEM TYPE ACC_DOCUMENT-ITEM,
WA_ITEM_AMOUNTS TYPE ACC_DOCUMENT-ITEM_AMOUNTS.
WA_HEADER = IM_DOCUMENT-HEADER.
WA_ITEM = IM_DOCUMENT-ITEM.
WA_ITEM_AMOUNTS = IM_DOCUMENT-ITEM_AMOUNTS.
but, in the parameters , I don't see any column to access INVFO-SGTXT value.....
Thanks a lot in advanced.
Best Regards,
YacoaHI SAPFICO,
Thanks for your advice,
I have follow the link , and create an function model named ZSAMPLE_INTERFACE_00001025(copy from SAMPLE_INTERFACE_00001025),
and also run the setting in FIBF....
I write some code in my function , as follows, but it doesn't work after I do MIRO
and it's still blank of the account document's line item.
p.s. even make a breakpoint at the function , it doesn't stop and stay at the breakpoint when I execute MIRO, so werid....
FUNCTION ZSAMPLE_INTERFACE_00001025.
""區域介面:
*" IMPORTING
*" VALUE(I_BKDF) LIKE BKDF STRUCTURE BKDF OPTIONAL
*" TABLES
*" T_AUSZ1 STRUCTURE AUSZ1 OPTIONAL
*" T_AUSZ2 STRUCTURE AUSZ2 OPTIONAL
*" T_AUSZ3 STRUCTURE AUSZ_CLR OPTIONAL
*" T_BKP1 STRUCTURE BKP1
*" T_BKPF STRUCTURE BKPF
*" T_BSEC STRUCTURE BSEC
*" T_BSED STRUCTURE BSED
*" T_BSEG STRUCTURE BSEG
*" T_BSET STRUCTURE BSET
*" T_BSEU STRUCTURE BSEU OPTIONAL
DATA: C_SGTXT TYPE BSEG-SGTXT.
IF SY-TCODE = 'MIRO'.
READ TABLE T_BSEG INDEX 1.
C_SGTXT = T_BSEG-SGTXT.
LOOP AT T_BSEG.
IF T_BSEG-SGTXT IS INITIAL.
T_BSEG-SGTXT = C_SGTXT.
MODIFY T_BSEG.
ENDIF.
ENDLOOP.
ENDIF.
ENDFUNCTION.
Edited by: Yacoa Chen on Mar 30, 2011 9:54 AM -
How to read header text in MM contract (ME31K/ME32K) before saving record?
Hi All,
In ME31K / ME32K (Contracts), before saving the contract I would like to check if the user has entered header text in the contract or not.
I am using customer exit MM06E005.
Can anybody help me with this?
Thanks in advance.Try creating dummy text id which will be part of text determination procedure @ Customers sales text & document header text.
else, maintain the SO10-text against this text ID. whenver user createds quotation this text will be defaulted irrespective of the cusotmer.
then based on if user want to modify the text they have to enter manually in this text id. print this text in header.
Regards,
Reazuddin MD -
Text in the document line item
Hi,
In COI, I am doing reclassification using document type.
System has posting the documents correctly, but strange thing is in the document header text, it was giving some text by itself.
Example of the actual text in the document header is as below:
"3B586AF9C74AF958DC4EFAB080B180B6D2E90F25"
Thanks in Advance,
RichardHi Dan,
You are correct. The text is coming by itself while doing Reclassification for dividend at PL 30.
Still confused why it is throwing some text in the document header..
Regards,
Richard -
How to get Status of Archived Delivery Document line item
Hi Folks,
I want read the Status of line item of archived delivery document.
As delivery is archived, it is not found in LIKP/LIPS. So I got the archived delivery document from VBFA table.But this does not contain the status field.
Is there any program or Function modules which reads this status.
Please help.
Thanks in advance.Check field VBUK-GBSTK (Overall processing status of document).
regards,
srinivas
<b>*reward for useful answers*</b> -
How to read long text in Document line item
Hi,
How to read long text in FI Document line item.Use Read_text function module.
you need to pass
ID
LANGUAGE
NAME
OBJECT to the function moduel
To find the Text id name language and object these are the following steps. Example: FB02
1. goto FB02, Enter Document number
2. from menuselect Goto>Header-->header Text..... New window will be displayed
3. select the Header Text. here you can see all the text.
4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper.
5. in the Next window you will find Text Name. Text ID, Language. etc...
Regards,
Lalit Mohan Gupta. -
Remove symbol # for long text in document line item
Dear Experts,
I enter some information in the long text field in document line item. For the area that I use "Tab" button, system will display as # symbol. Therefore when we print the information, the output will include the #### symbol which is not correct.
Please help.
Thanks.
-Syaban-Dear Gaurav Aggarwal,
Thanks for the reply, can you guide me the step to perform the suggested solutions? currently, we are using ECC6.
Thanks.
syaban -
FB60 - Substitution rule to generate Text in automatic generated line item
Hello SAP genious,
While we post vendor invoice ( FB60) and customer invoice (FB70), at this time along with Dr and Cr line items one automatic additional line item is getting generated this is based on Tax type which you select while making invoice.
now, I want to show some text in this automatically created line items. This might be possible by creating some substitution rule but i am not sure.
and if it is possible through substitution rule then what could be my prerequisite, and check would be..?????
can you please tell how can i get Text in this additional line item getting created due to VAT tax code.
Thanks a Lot for your input.
your reply will be rewarded with points.
Thanks
JigneshThanks for all your replies.
I Want the field BSEG- KOBEZ i.e description field in the accounting doc of the offsetting entry to be replaced in the GL account text field.
Ex :
PK Account Description Amount Text
31 100000 Furniture Vendor 50 Sales
40 1999 Inter Compy 50 Furniture Vendor
I want the description of offsetting entry vendor description i.e Furniture vendor (field BSEG-KOBEZ) to be replaced in GL line item text BSEG-SGTXT.
I cant find the field BSEG- KOBEZ while i search in the substituion to replace in Text field.
How do i write in substitution to say that the offsetting entry description should be in text field of GL account. -
Document line item text in Clearing document
Dear All,
Document line item text
My client want the vendor invoice line item text(BSIK-SGTXT) to be captured in the corresponding clearing document line item text field(BSAK-SGTXT).
(i.e) The vendor invoice and its payment clearing document should have the same text in the document line item text filed.
According to me i can use a substition rule and a user exit to assign the values. but here comes a problem* i have one clearing document against 3 to 4 vendor invoice documents* so my programming logic has got stucked here? like which vendor invoice line item text the clearing document should pick up?
is there any other enhancements possible or can some one help me with the programming logic to be applied here.
Thank you
Regards,
Vasanth Dlike which vendor invoice line item text the clearing document should pick up?
is there any other enhancements possible or can some one help me with the programming logic to be applied here
Why don't you discuss the issue with your client? As you said, if you pay 5 invoices in a single run, the payment document item text can't carry all of those texts unless you use the long text. What is the reason for the requirement? Perhaps there's another solution. -
Enter Text in Price difference line item in MIRO
Hello,
My user wants to enter text in price difference account line item in MIRO. I tried to do it in MIRO simulation by doubl click on line item. But it does not show as we normally see in FI documents.
Please advise how can I enter text in price difference line item while doing MIRO. Since this account gets posted automatically.
Regards,
TapanHi,
You can create substitution with exit in GGB1/ OBBH
In exit, give a popup for this price difference line item and in that popup user can enter the text and then fill that text in the line item.
Your ABAper should be able to do it.
Regards,
SDNer -
How to find the text of a viwe
How to find the text of a view?
I tried all_views but it only types the partial text. What can be the problem and the possible solutions?
NaveenWe also found there was a "COL TEXT A80" in our glogin.sql. I don't know whether we put it there or whether it was installed by default. This resulted in some views which had been defined with longer lines having words chopped in half, which is no good for creating scripts. Therefore when selecting view text I also issue a
COL TEXT A200 word_wrapped -
How to retrieve long text data
Dear all,
How can i retrieve the long text for document line item
Gone thru this in forum..but unable to get the correct one
some say to use READ_TEXT FM
Pls advise steps
Rgds
NareshHi,
Please find here with link for bringing the long text.
http://scn.sap.com/thread/497205
Regards,
Ramana -
How to print long text in scripts
plzzzzzzzzz answer this qestion
how to print long text in scriptsHi Kranthi,
You can create Text Id and include that in your script.
For example:
/E TEXT
/: INCLUDE ZTEXT OBJECT TEXT ID ST
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
How to display long text in smartforms
Hi experts,
Iam trying to display long text into smartforms.I got the long text into ITAB frm database
in the abap program.In the form interface how to define the variable?In the long text i have 6 lines.
points guaranteed
cheers
kakiKaki,
Delcare a table and getting the LONG TEXT is not the right way of doing this.
You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
Make sure this is a part of the main window as this might run into multiple pages.
Regards,
Ravi
Note : Please reward the posts that help you.
Maybe you are looking for
-
JSTL support for standard flow control. what that means ? I am aware of that JSTL can help in SQL processing , XML processing through Tag libraries. But however, how the JSTL supports standard flow control ? is it the JSTL iterator we are talking abo
-
Variance analysis at reopening a closed Discrete Job at 11.5.10.3
Hi, On Discrete Manufacturing at 11.5.10.3 we closed several Job´s which were at several Production stage, then reopened all at same day. As I know Variance, if exists, is launched when Job is closed, and when reopened (in same Period) Variance is no
-
"low level exception occurred in: mxf op1a (exporter)"?
Hello, Does anybody know about this error during an export operation? I found nothing during my researches. Thank you for your help. C.
-
Pages software in 10.8.3 does not support previous work done on microsoft office 2004. Pop up says -- You can't open the application "Mircosoft Excel" because Power PC applications are no longer supported. What can I do now?
-
Impact of revoking APEX_040000 view and privileges from public ?
Forum... We are in an integration scenario where we do not want to have a user connecting through SQL see the apex product database objects to which apex has granted public access show up. ( As per the "Granted Priviliges" of the Apex documentation -