Change Item Text and Header Text in Posting Document
Hi Experts,
When Travel Document is posted in FInance -
i) Document Header is blank.
ii) and Item Text is *Trip from 01.09.08 To 01.09.08 to Mumbai
I want to change the Header Text with Expense Schema and Item text with Schema and additional Text.
Regards,
Kamal Rawal
hi,
There is a BADI available for the same.
BADI definition name: TRIP_POST_FI
Thanks,
Rajkumar.S
Similar Messages
-
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. -
How do I convert a pdf-presentation into Powerpoint, which it is said that I can do? I can convert into Word, but that is of no help as I need to change the text in the document.
Hi Sara!
Yes this sounds interesting. Can I update to that from the PDF Export I have just renewed? How much would that cost?
Thanks for your quick answer.
Best Regards
Per-Olof Egli Logga Egli C.I.S
Managing Director
Egli C.I.S. Consulting
Lapphundsgränd 43
SE-128 62 SKÖNDAL
Sweden/Швеция
Phone: +46 708 23 03 53
<http://www.eglicisconsulting.se/> www.eglicisconsulting.se
<mailto:[email protected]> [email protected]
Skype: eglipo
Från: Sara.Forsberg
Skickat: den 10 september 2014 22:11
Till: P-o Egli
Ämne: How do I convert a pdf-presentation into Powerpoint, which it is said that I can do? I can convert into Word, but that is of no help as I need to change the text in the document.
How do I convert a pdf-presentation into Powerpoint, which it is said that I can do? I can convert into Word, but that is of no help as I need to change the text in the document.
created by Sara.Forsberg <https://forums.adobe.com/people/Sara.Forsberg> n Adobe ExportPDF - View the full discussion <https://forums.adobe.com/message/6718870#6718870> -
Update of business place and section code for posted documents
Hi,
We have few posted documents without business code and section place.
Now we want to update the business code and section place for posted documents.
guide me
sateeshHi,
The issue got resolved. We need to give in MM invoice number not the accounting document invoice number.
Fi invoice number and MM invoice number are availiable in bkpf and MM invoice number will availible in BKPF-AWKEY field.
Sateesh -
Change item text in purchase order
Hi folks,
I'm trying to change some item text in the purchase order through the BAPI_PO_CHANGE
with the following test code:
REPORT zprueba_bapi_po_change.
DATA:
itab_text LIKE TABLE OF bapiekpotx,
wa_text LIKE bapiekpotx,
itab_lines LIKE TABLE OF tline,
wa_lines LIKE tline,
itab_items LIKE TABLE OF BAPIEKPO,
wa_items LIKE BAPIEKPO.
DATA: name LIKE thead-tdname,
id LIKE thead-tdid,
object LIKE thead-tdobject,
v_result LIKE itcer.
DATA: itab_return LIKE TABLE OF BAPIRET2.
data: poorder like BAPIEKKO-PO_NUMBER.
poorder = '4500058923'.
CALL FUNCTION 'BAPI_PO_GETDETAIL'
EXPORTING
purchaseorder = poorder
ITEMS = 'X'
* ACCOUNT_ASSIGNMENT = ' '
* SCHEDULES = ' '
* HISTORY = ' '
item_texts = 'X'
* HEADER_TEXTS = ' '
* SERVICES = ' '
* CONFIRMATIONS = ' '
* SERVICE_TEXTS = ' '
* EXTENSIONS = ' '
* IMPORTING
* PO_HEADER =
* PO_ADDRESS =
TABLES
* PO_HEADER_TEXTS =
PO_ITEMS = itab_items
* PO_ITEM_ACCOUNT_ASSIGNMENT =
* PO_ITEM_SCHEDULES =
* PO_ITEM_CONFIRMATIONS =
po_item_texts = itab_text
* PO_ITEM_HISTORY =
* PO_ITEM_HISTORY_TOTALS =
* PO_ITEM_LIMITS =
* PO_ITEM_CONTRACT_LIMITS =
* PO_ITEM_SERVICES =
* PO_ITEM_SRV_ACCASS_VALUES =
* RETURN =
* PO_SERVICES_TEXTS =
* EXTENSIONOUT =
COMMIT WORK AND WAIT.
name = '600007545900001'.
id = 'A01'.
object = 'EKPO'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = id
language = sy-langu
name = name
object = object
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
lines = itab_lines
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT itab_lines INTO wa_lines.
CLEAR wa_text.
wa_text-po_number = poorder.
wa_text-po_item = '00001'.
wa_text-text_form = wa_lines-tdformat.
wa_text-text_line = wa_lines-tdline.
wa_text-text_id = 'F03'.
APPEND wa_text TO itab_text.
ENDLOOP.
SORT itab_text BY po_item text_id.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = poorder
* POHEADER =
* POHEADERX =
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* IMPORTING
* EXPHEADER =
TABLES
RETURN = itab_return
* POITEM =
* POITEMX =
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POTEXTHEADER =
POTEXTITEM = itab_text
* POPARTNER =
COMMIT WORK AND WAIT.
However this code isn't updating the text. Does anyone could tell me what i'm missing?
Thanks for your help.
Kind Regards,
Gilberto LiHi,
Please check this code..It worked for me..Instead of 00001 try giving 00010
PARAMETERS: p_ebeln TYPE ebeln OBLIGATORY.
PARAMETERS: p_text(50) OBLIGATORY.
PARAMETERS: p_textid TYPE bapimepotext-text_id OBLIGATORY.
DATA:
lt_poitem LIKE bapimepoitem OCCURS 0 WITH HEADER LINE,
lt_poitemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE,
lt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
lt_bapi_itemtext LIKE bapimepotext OCCURS 0 WITH HEADER LINE.
<b>lt_poitem-po_item = '00010'.</b>
APPEND lt_poitem.
<b>lt_poitem-po_item = '00010'.</b>
APPEND lt_poitem.
lt_bapi_itemtext-po_number = p_ebeln.
<b>lt_bapi_itemtext-po_item = '00010'.</b>
lt_bapi_itemtext-text_id = p_textid.
lt_bapi_itemtext-text_line = p_text.
APPEND lt_bapi_itemtext.
call the BAPI.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = p_ebeln
TABLES
return = lt_return
poitem = lt_poitem
poitemx = lt_poitemx
potextitem = lt_bapi_itemtext.
LOOP AT lt_return WHERE type = 'A' OR type = 'E'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error'.
ELSE.
COMMIT WORK.
WRITE: / 'Success'.
ENDIF.
Thanks,
Naren -
Hi,
For FI documents generated from GR (MIGO) and IV (MIRO), can we update the text field with certain values from the material documents?
In fact, we would like to always populate the text field of FI documents from sub modules.
What would be the best method?
I found this thread: Item Text in FBL3N copied automatically from MIRO line item
Can the method be used for all types of documents? It seem quite tedious?
Thanks.
Regards.Hi,
The above given thread is the perfect solution for your requirement.
Defaulting some data in the text field means, either you can use the the Substitution / BTE.
Using the substitution, system not allows you to change the text field in case of any modification you want. But with the BTE you can specify only at the time of the document posting.
BTE is the best option in this case.
VVR -
Can't modify line item text in financial document
Dear all,
In some cases I'm not able to modify line item text field in financial documents, and I don't know why.
I've checked customizing and BSEG-SGTXT appears as modificable field in any case.
As far as i know text field is not a relevant field, so the system should let me modify it if the customizing is right.
Does anyone know if there could be any other customizing that affects this transaction (FB02)?
ThanksHi
Since you indicated the entry is from goods receipt, I understand that you are trying to change the line item text in a GL line item.
If so, please ensure the following:
1. in OB32, for Account type S and Field name BSEG-SGTXT, the trasaction type is blank, "Field can be changed" is ticked and "Posting period not closed" and "Line item not cleared" are not ticked.
2. In OB32, for Account type S and field name BSEG-SGTXT, no other entry is there along with company code which has a different rule.
3. You can enough authorization to change the document.
4. If you can change the text, but cannot save it, then please check whether any validation/BTE is in place which is not allowing to do so.
Regards -
Reading Item texts of a document (PO) while it is not yet saved
Hi Team ABAP,
i´m a little confused about those item texts.
I was searching the Forum on this and found thread
according to this i adopted my Coding, but still it wont, work. Maybe one of you guys has an Idea where i go wrong?
FORM get_article_basic_text
USING ebeln TYPE ebeln
ebelp TYPE ebelp
matnr TYPE matnr.
DATA: ls_header TYPE thead,
lt_lines TYPE TABLE OF tline,
ls_lines TYPE tline,
lv_swap TYPE c LENGTH 3,
lv_line TYPE char20.
FIELD-SYMBOLS: <line> TYPE tline.
DO 30 TIMES.
WRITE sy-index TO lv_swap.
CONDENSE lv_swap.
CONCATENATE 'W_LONG_TXT' lv_swap INTO lv_line.
ASSIGN (lv_line) TO <line>.
IF <line> IS ASSIGNED.
CLEAR <line>.
ENDIF.
ENDDO.
IF ebeln IS INITIAL.
ebeln = 'XXXXXXXXXX'.
ENDIF.
CONCATENATE ebeln ebelp
INTO ls_header-tdname.
ls_header-tdid = 'F03'.
ls_header-tdobject = 'EKPO'.
ls_header-tdspras = nast-spras.
g_tdname = ls_header-tdname.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = ls_header-tdid
language = ls_header-tdspras
name = ls_header-tdname
object = ls_header-tdobject
TABLES
lines = lt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
I created a new PO using ME21N, added the F03 Text on item level for item 10. Then i pushed print preview and debugged right into my coding.
Values for LS_HEADER were:
ls_header-tdname = XXXXXXXXXX00010
ls_header-tdid = F03
ls_header-tdspras = D
ls_header-tdobject = EKPO
and still i got sy-subrc = 4 and no result.
Edited by: Florian Kemmer on Jun 9, 2011 9:36 AMFlorian, Have you checked the possibility of using the BADI "ME_PROCESS_PO_CUST" to achieve this ? Most of the methods in this badi uses the parameters of type IF_PURCHASE_ORDER_MM. May be you can use the methods IF_LONGTEXTS_MMGET_TEXTOBJECT, IF_LONGTEXTS_MMGET_TYPES, IF_LONGTEXTS_MM~GET_TEXT of the interface IF_PURCHASE_ORDER_MM.
I didn't tried this with PO, but simliar kind of BADI worked properly with Purchase requisition. Wiki post [Purchase Requisition Header Long Text using Badi - ME_PROCESS_REQ_CUST|http://wiki.sdn.sap.com/wiki/display/ABAP/PurchaseReq.HeaderLongTextusingBadi-ME_PROCESS_REQ_CUST] may be helpful.
Regards, Vinod -
Upload item text for FI document using BAPI_ACC_DOCUMENT_POST
Hi,
I need to upload FI document posting using BAPI_ACC_DOCUMENT_POST. However item text that I received is too long and need to store at item long text. So can we use BAPI_ACC_DOCUMENT_POST to upload long text for item text? If this possible, may I know how to do this.
Thanks.
Regards,
ainHi,
You cannot pass item long text using this BAPI, Call the function module SAVE_TEXT after successfull call of BAPI
Call Save_Text with following parameters.
Text_ID : 0001 (Notes)
Text_object : DOC_ITEM (Line Item Text)
Language : EN
Text Name : Company code +Document NO + Fiscal Year + Line item ID
Regards
Vinod -
Find/Change Item Numbers and create Table of Contents
Hello! I need help to find all my item numbers and apply a paragraph style to it so I can use them to create a Table of Contents page.
Sample item numbers
#12345
#12345-5
#12345-20
#12345-ABC
#12345/N
I tried entering #^?^?^?^?^? on the Find/Change box and but this will find exactly the 5 characters after the # sign. I wonder if you can find all characters starting with # and until the last characters.
Once I find all the item numbers, how can I apply the paragraph style for only those characters after the # sign? Because I only want to show the item numbers without the # sign on the Table of contents/Index page.
By the way, I have InDesign CS2 which have no GREP function Maybe I can do this without the GREP?
I really appreciate any help. Thank you very much.You actually have two problems here. The first is to assign the paragraph style. For that you can use GREP.
Find #\d+ and leave the change field blank, but in the change formatting pick the paragraph style. Stricly speaking you only need to find #\d or even just # because a paragraph style applies to an entire paragraph, so assigning it to any character inthe paragraph will assign it to the entire paragraph.
Which is your second problem. The TOC is based on paragraph styles and will include all of the text in each paragraph (up to the character limit for a TOC entry, which I think is 256 characters). You can't make a TOC and only use some of the paragraph. For that you need to use an index, or you need to make hidden or non-pinting frames with only the exact text you want in the TOC and assign a unique style to those.
It's also possible someone has written (or could write) a script that can find text strings that match a pattern such as your numers, assign a character style to them (you could actually do that part in the paragraph style by adding a nested GREP style), then making a list of the text strings along with the page number on which they appear -- almost the same as an index except it would be based on character style, not an index marker. -
Transfer item text invoice in Document FI
Hi developers,
I wish transfer the item text of the invoice SD in field of Account Document FI (BSEG-SGTXT ).
Have you some ideas for help me!!!!!!!!
Thanks in advance
Domenicouse enhancement SDVFX008 to feed the XACCIT-SGTXT field.
You ca retreive the text using the FM READ_TEXT, normally in the invoice the header text is a VBBK object.
Roberto -
How to Track changes of Detail and header at purchase document
Hi
I have one problem while issueing the output type i created new output type created new output routine and i have to track the header changes and issue proper output and prevent to issue wrong output type
example : zne1 for header changes and zneu for detail level but i cannot track the header level changes becoz cdhdr and cdpos tables are updated after output routines (800 and 801 newly created and assigned)
can u please tell me how to track the po level changes so i can solve this problem ASAP
it is urgent !!! please help me in this !!
thanks in Advance !!!Hi Mr. Modi,
Can you clarify your scenario properly that I can analyse it to give you proper solution....I am confuse with your requirement and example which you have given...
Cheers,
Sagun Desai.... -
How to allow user to 'Park' and not allow to 'Post' document in F-02
Hi Guys!
I want the users to only be able to 'Park' document, and restrict them from Posting FI document in F-02. Can any body help me on this.
Helpful answers wud be rewarded for sure.Hi Tripat,
In your Case restrict the user by using user exit. please find below user exit's for F-02 select suitable one as per your requirement.
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment.
if you give me brief i can help you out more.
if helpful REWARD points
Thank you .
Regards
Ramana -
Filtering Item, Customer and Supplier data on Marketing Documents
My client has 7 franchises under one umbrella, so as their item, customer and vendor masters will be at one place in SBO. But their requirement is when specific franchise person work on marketing documents, could only be able to access its respective master data in LOV's. I filtered it through formatted search and filtering in LOV's as well but he/she can access others master data. Can anybody tell me any workaround for it?
Thanks & regardsHi there!
I am exactly in the same situation. Did you get some answers or did you find any solution about the filtering data and marketing documents?
I try to filter some data like BP (OCRD), Sales Marketing documents & Opportunities by using the SlpCode from the OSLP table.
I have to do as well a link between the login used and the slpcode.
I have to do a global like by using the table OUSR (user) (link between login and slpcode).
Any advice?
Best regards,
Sébastien -
Changing Item Text Auto in Purchase Order
Hi All,
In existing purchase orders, i like to add two text lines to the last line item in the tab 'Texts'. First i have to read the text lines for the last item. Then i have to add lines to the item. Would anyone know what bapi to make the text changes on the bapi ?
thanks
JoyceHi Joyce,
You can use as below:
DATA: lt_lines LIKE tline OCCURS 0 WITH HEADER LINE,
lt_header LIKE thead, " long text
lc_tdformat TYPE tline-tdformat VALUE '*',"Tag column
lv_message(132) TYPE c.
*-SAVE TEXT in - 'Bill of lading Instructions' of Delivery
lt_header-tdobject = 'VBBK'.
lt_header-tdname = gv_delivery.
lt_header-tdid = 'Z050'.
lt_header-tdform = 'SYSTEM'.
lt_header-tdspras = sy-langu.
*-CALL FUNCTION 'SAVE_TEXT' - To save text in the Delivery
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = lt_header
savemode_direct = gc_x
TABLES
lines = lt_lines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
Thanks
Satyasuresh
Maybe you are looking for
-
Append Extra Slash for Application Request through OHS
Hello All, I am writing to request your help on the following blocking issue : In my attempt to configure End-End SSL between Browser->OHS Plugin->SSL Weblogic Managed Server , Weblogic is giving me an incorrect response while constructing the absolu
-
TCP/IP settings/Ethernet
I just moved to a new place with ethernet internet connection. It works fine with my newer ibook but my old imac that still uses 9.2 doesnt have the address for ethernet I called the provider but they said to ask mac. Does anyone know what the settin
-
How do I correct a typing error?
New to Blackberry. I have typed a message but if I make a mistake I do not know how to delete a letter, where is the delete key?
-
Production order quantity changes
Hi Guru's, Please help me to trace the production order changes. for example: order 1 = 100 and later I changed to 200 how can i trace it.please explain the steps to follow. Thanks Satya
-
Executing an external program via menu
Hello friends at www.oracle.com , this should be simple, but I can't find it on Form Builder help: how can I create a Forms item that executes an external program? I need to create a menu option that has to execute Acrobat Reader, and it has to open