‎2006 Oct 19 8:20 AM
Hi,
I will have to transfer our vendor open items from v 3.1 to ERP 2004. I
am using <b>BAPI_ACC_DOCUMENT_POST</b> to upload these open items. However, I
cannot find the <b>'LONG TEXT'</b> field in the said BAPI. In using <b>F-02</b>, a
long text field/button is available. <u><b>How can i post an entry in the long text
field of the line item in f-02 using BAPI_ACC_DOCUMENT_POST</b></u>.
Also, i have used the extension1 table and a BTE (note 487722) in
uploading the posting key. Since field bschl is available in table
accit, there was no problem in doing this. However, i cannot seem to
find the field long text in this table. Is it available? If not, what
can I do with the above situation.
Thanks.
‎2006 Oct 20 5:29 AM
Hi,
How are you calling the SAVE_TEXT fm..
Pass the parameter SAVEMODE_DIRECT = 'X'.
Thanks,
Naren
‎2006 Oct 19 8:36 AM
Hi,
you will <b>not</b> find it in any structure
-> use fm's INIT_TEXT and save_text
A.
Message was edited by: Andreas Mann
‎2006 Oct 19 9:50 AM
it seems that <b>save_text</b> could only be used in headers' long text. will i be able to use this for <b>line items' long texts</b> as well? how can i do this?
Thanks so much
‎2006 Oct 19 8:40 AM
‎2006 Oct 19 9:50 AM
‎2006 Oct 19 10:16 AM
Hi
Excuse me! you can't use RFBIBL00, use the fm SAVE_TEXT.
After calling the BAPI you should have the number of FI document will be created and know in which item you need to insert the long text so:
THEAD-TDOBJECT = <Object text>.
THEAD-TDNAME(4) = <Company code>
THEAD-TDNAME+4(10) = <Document number>
THEAD-TDNAME+14(4) = <Fyscal year>
THEAD-TDNAME+18(3) = <Item number>.
THEAD-TDID = <Id text>.
THEAD-TDSPRAS = <Language>.
THEAD-TDLINESIZE = 72.
These are the header data, transfer the text in LINES parameters.
Max
‎2006 Oct 19 11:08 AM
‎2006 Oct 20 4:03 AM
Hi Max,
How can i find the object text the long text (notes) for F-02? Thanks.
‎2006 Oct 19 9:48 AM
it seems that <b>save_text</b> could only be used in headers' long text. will i be able to use this in line items as well? how can i do this?
also, how can i make use of <b>RFBIBL00</b>?
thanks for all the help.
Eunice
‎2006 Oct 20 4:08 AM
Hi,
If you don't to store more than one 50 characters..Use the field ITEM_TEXT in the bapi line item..
Thanks,
Naren
‎2006 Oct 20 4:18 AM
The thing is, I have used that field already to post other details.
I need the long text to post some more details.
‎2006 Oct 20 4:41 AM
Hi,
The text details are mentioned below..
Text ID - 0001
Text object - DOC_ITEM
The text name is the combination of
BSEG-BUKRSBSEG-BELNRBSEG-GJAHR+BSEG-BUZEI..
Which means you will get the belnr only after calling the bapi..
Use the function module SAVE_TEXT to save the text..
Please let me know if you have any questions..
Thanks,
Naren
‎2006 Oct 20 5:09 AM
There were no errors, though when i checked the document created by the bapi, and went through the line items, still the long text was blank.
‎2006 Oct 20 5:29 AM
Hi,
How are you calling the SAVE_TEXT fm..
Pass the parameter SAVEMODE_DIRECT = 'X'.
Thanks,
Naren
‎2006 Oct 20 5:45 AM