Post long text for document line item via FI-GL Inbound IDoc
Hi guru,
I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
In the extension ZFIDCP02 and under E1FISEG, I am add my segment ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
I am send ZFIDCP02 IDoc via IBM Websphere no error but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment ZITEXT not post in FI-GL.
How can I post long text for document line item (ZITEXT) in FI-GL ?.
and I'm mean post ZITEXT to bank statement via IDOC.
Please throw light on this and may be I 'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
Thanks in advance,
Akkapong Pirachai
CAT Telecom
Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AM
Close question because long time for answer.
Similar Messages
-
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 -
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. -
How to load long text in BOM line item
Hello Experts
How do i load Long text in BOM Line item using LSMW
Thanks
S
Edited by: Alvaro Tejada Galindo on Jan 31, 2008 5:11 PMUse 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. -
How to get the texts for each line item for Sales order in a smartform
I'm createing a smart form in which i need to display certain texts for each line item of a sales order. How can i get those??
I'm trying with the table STXH and FM read_text... but i'm not clear how and what i'm getting... can anybody pls help me.....Hi There,
But then i will be getting only the value. i want to link that against the particular material of the Purchase Order.
Like for ex:
PO No. Material Code Line Item Basic Excise Tax Inv Value
0000001 5000251 010 100 16 4.64 120.64
0000001 5000252 020 200 32 9.28 241.28
Can u help me on this?
Regards,
Jitesh -
F110 Text for payment line items.
Hi,
Can any one help in this regard. How will the system capture the Texts for payment line items, I require this for ACH payment.
Suppose I paying to a employees, there may be so many payments like for eg: Payroll, Gas Bill, Reg Salary, Ins Prem, etc. where should I configure this, inorder the system will pick the correct text so that it can be displayed in ACH layout.
Can anyone provide a solution for this I need to complete the requirement for ACH.
Thanks,Hi Biju
I am not clear what you are expecting. You can make these setting in the default note to payee (if you want to see what items you can enter in the note to payee, please see the structure FPAYP, FPAYH and FPAYHX)
Thanks
Ashok
Assign points for useful answer -
Need help to change line item text for 220 Line items
Hi Specialists,
The user has posted a reversal entry ( doc type : Manual Accrual) using TCODE FBS1.
It has 220 line items.
Is there a way in SAP he can change the text of All Line Items for a particular document number in one shot ( Mass Change).
Pls note : Header text remains same . Only the line item text needs to be changed in one shot .
For Eg :
1 50 2758000047 Accruals for CAS Accrl - Dec 08 / Nalini Marketing(Door Mats) - Oth
2 50 2758000047 Accruals for CAS Accrl - Dec 08 / SKC - M&E Repair
Changed Description:
1 50 2758000047 Accruals for CAS Accrl - Jan 09 / Nalini Marketing(Door Mats) - Oth
2 50 2758000047 Accruals for CAS Accrl - Jan 09 / SKC - M&E Repair
Thanks,
Abhinav.Hi
This is possible, please follow as below:
If it is GL (FBL3N), Customer (FBL5N), Vendor (FBL1N) line item use the TCODE' mentioned.
In the selection screen, if possible give all the document numbers (it is possible with addition selection).
Once you get the output with the line item, select all line items and go to the menu options there you can see the mass change option, it will give one popup screen give the new value in the text field and proceed further.
VVR -
Logic to get same text for 2 line items
hi all,
i have an issue in my report,
i have a final internal table. fileds in the table are
bukrs belnr gjahr buzei sgtxt
0010 12345 2008 01 text
0010 12345 2008 02 -
now the problem is if the belnr is same thn in the final internal table the above sgtxt shoud come for second line item if the second line item is initial ,i shoud get the output as
bukrs belnr gjahr buzei sgtxt
0010 12345 2008 01 text
0010 12345 2008 02 text
please help me how to write code for thisHi,
Use this :
Loop at itab.
if itab-sgtext is initial .
read table itab into wa with key bukrs = itab-bukrs
belnr = itab-bukrs
gjahr = itab-bukrs
buzei = itab-bukrs
sgtext <> space.
if sy-subrc eq 0.
itab-sgtext = wa-sgtext.
modify itab transporting sgtext.
endif.
endif.
endloop.
Hope this helps.
Rgds,
Sandeep -
ME21N - new field added and same value posted to it for all line items
hi all
i have added new field under item level in me21n screen.
data for new filed fetched from tables with values entered in header level material number.
For one record, it is ok
but for multiple records, same value is fetched for all line items
i have written coding in screen exit for 0111
and function exits EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
how to solve
pl help
regards
senthilMODULE STATUS_0111 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
if sy-tcode eq 'ME23N' or sy-tcode eq 'ME23'.
LOOP at SCREEN.
if screen-group1 ne 'PCS'.
screen-input = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDIF.
TYPES : BEGIN OF ty_cabn1,
atnam TYPE cabn-atnam,
end of ty_cabn1.
DATA : itab_cabn1 TYPE STANDARD TABLE OF ty_cabn1 INITIAL SIZE 0,
wa_cabn1 TYPE ty_cabn1.
TYPES : BEGIN OF ty_cawn1,
atinn TYPE cawn-atinn,
atzhl TYPE cawn-atzhl,
atwrt TYPE cawn-atwrt,
end of ty_cawn1.
DATA : itab_cawn1 TYPE STANDARD TABLE OF ty_cawn1 INITIAL SIZE 0,
wa_cawn1 TYPE ty_cawn1.
TYPES : BEGIN OF ty_cawnt1,
pcs TYPE cawnt-atwtb,
atinn TYPE cawnt-atinn,
atzhl TYPE cawnt-atzhl,
atwtb TYPE cawnt-atwtb,
end of ty_cawnt1.
DATA : itab_cawnt1 TYPE TABLE OF ty_cawnt1,
wa_cawnt1 TYPE ty_cawnt1.
TYPES : BEGIN OF ty_pcs1,
pcs TYPE cawnt-atwtb,
atwrt TYPE cawn-atwrt,
atwtb TYPE cawnt-atwtb,
end of ty_pcs1.
DATA : itab_pcs3 TYPE TABLE OF ty_pcs1,
itab_pcs4 TYPE TABLE OF ty_pcs1,
wa_pcs1 TYPE ty_pcs1.
TYPES : BEGIN OF ty_pcsn,
matnr TYPE ausp-objek,
ebelp TYPE dynpread-stepl,
atwrt TYPE cawn-atwrt,
atwtb TYPE cawnt-atwtb,
END OF ty_pcsn.
DATA : itab_pcsn TYPE TABLE OF ty_pcsn,
wa_pcsn TYPE ty_pcsn.
TYPES : BEGIN OF ty_ausp1,
objek TYPE ausp-objek,
atinn TYPE ausp-atinn,
atwrt TYPE ausp-atwrt,
END OF ty_ausp1.
DATA : itab_ausp1 TYPE STANDARD TABLE OF ty_ausp1 INITIAL SIZE 0,
wa_ausp1 TYPE ty_ausp1.
DATA : param_name1(35) TYPE c.
DATA: progname1 TYPE sy-repid,
dynnum1 TYPE sy-dynnr,
dynpro_values1 TYPE TABLE OF dynpread,
dynpro_values2 TYPE TABLE OF dynpread,
field_value1 LIKE LINE OF dynpro_values1,
ematn1 TYPE mara-matnr.
if sy-tcode ne 'ME23N' and sy-tcode ne 'ME23'. "psk
clear : itab_cabn1,itab_cawn1,itab_cawnt1,itab_pcs3,itab_pcs4,itab_pcsn,itab_ausp1.
clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
if sy-uname eq 'IBM_ABAP'.
param_name1 = '000000001'.
else.
param_name1 = '000000013'.
endif.
SELECT atnam
FROM cabn
INTO CORRESPONDING FIELDS OF TABLE itab_cabn1
WHERE atinn = param_name1.
select *
FROM cawn
into CORRESPONDING FIELDS OF TABLE itab_cawn1
WHERE atinn = param_name1.
if itab_cawn1[] is NOT INITIAL.
SELECT atinn atzhl atwtb
FROM cawnt
INTo CORRESPONDING FIELDS OF TABLE itab_cawnt1
FOR ALL ENTRIES IN itab_cawn1
WHERE atinn = itab_cawn1-atinn
AND atzhl = itab_cawn1-atzhl.
endif.
if itab_cawnt1[] is NOT INITIAL.
sort itab_cawnt1 by atinn atzhl.
loop at itab_cawnt1 INTO wa_cawnt1.
READ TABLE itab_cawn1 INTO wa_cawn1 with key atinn = wa_cawnt1-atinn
atzhl = wa_cawnt1-atzhl BINARY SEARCH.
if sy-subrc eq 0.
CONCATENATE wa_cawn-atwrt '->' wa_cawnt-atwtb INTO wa_cawnt-pcs.
MODIFY itab_cawnt FROM wa_cawnt TRANSPORTING pcs.
wa_pcs-pcs = wa_cawnt-pcs.
wa_pcs1-atwrt = wa_cawn1-atwrt.
wa_pcs1-atwtb = wa_cawnt1-atwtb.
append wa_pcs1 to itab_pcs3.
ENDIF.
CLEAR : wa_cawnt1,wa_cawn1, wa_pcs1.
ENDLOOP.
ENDIF.
CLEAR: dynpro_values1, field_value1.
dynpro_values-FIELDNAME = 'MEPO1211-EMATN'.
APPEND dynpro_values.
field_value1-fieldname = 'MEPO1211-ematn'.
APPEND field_value1 TO dynpro_values1.
progname1 = 'SAPLMEGUI'.
dynnum1 = '1211'.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = progname1
DYNUMB = dynnum1
TRANSLATE_TO_UPPER = ' '
REQUEST = 'A'
PERFORM_CONVERSION_EXITS = ' '
PERFORM_INPUT_CONVERSION = ' '
DETERMINE_LOOP_INDEX = ' '
START_SEARCH_IN_CURRENT_SCREEN = ' '
START_SEARCH_IN_MAIN_SCREEN = ' '
START_SEARCH_IN_STACKED_SCREEN = ' '
START_SEARCH_ON_SCR_STACKPOS = ' '
SEARCH_OWN_SUBSCREENS_FIRST = ' '
SEARCHPATH_OF_SUBSCREEN_AREAS = ' '
TABLES
DYNPFIELDS = dynpro_values1
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE dynpro_values1 INTO field_value1 with KEY fieldname = 'MEPO1211-EMATN'.
LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
clear ematn1.
if sy-subrc eq 0.
ematn1 = field_value1-fieldvalue.
endif.
if ematn1 is not INITIAL.
clear : wa_cawn1,wa_cawnt1,wa_pcs1,wa_ausp1.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = ematn1
IMPORTING
OUTPUT = ematn1.
select *
FROM ausp
INTO CORRESPONDING FIELDS OF TABLE itab_ausp1
WHERE objek = ematn1
and atinn = param_name1.
CLEAR itab_pcs4.
if itab_ausp1[] is not INITIAL.
sort itab_ausp1 by atinn atwrt.
sort itab_cawn1 by atinn.
READ TABLE itab_ausp1 INTO wa_ausp1 INDEX 1.
loop at itab_cawn1 INTO wa_cawn1 WHERE atinn = wa_ausp1-atinn AND atwrt = wa_ausp1-atwrt.
READ TABLE itab_cawnt1 INTO wa_cawnt1 WITH KEY atinn = wa_cawn1-atinn
atzhl = wa_cawn1-atzhl.
if sy-subrc eq 0.
wa_pcs1-atwrt = wa_cawn1-atwrt.
wa_pcs1-atwtb = wa_cawnt1-atwtb.
append wa_pcs1 to itab_pcs4.
wa_pcsn-matnr = wa_ausp1-objek.
wa_pcsn-ebelp = field_value1-stepl.
wa_pcsn-atwrt = wa_cawn1-atwrt.
wa_pcsn-atwtb = wa_cawnt1-atwtb.
APPEND wa_pcsn to itab_pcsn.
ENDIF.
clear : wa_ausp1,wa_cawn1,wa_cawnt1.
ENDLOOP.
ENDIF.
clear wa_pcs1.
read TABLE itab_pcs4 into wa_pcs1 index 1.
if sy-subrc eq 0.
EKPO_CI-ZPCS = wa_pcs1-atwrt.
endif.
ENDIF.
ENDLOOP.
CLEAR: field_value1.
LOOP at dynpro_values1 INTO field_value1 WHERE fieldname = 'MEPO1211-EMATN'.
clear wa_pcsn.
if field_value1-fieldvalue is not INITIAL.
read TABLE itab_pcsn INTO wa_pcsn with key matnr = field_value1-fieldvalue
ebelp = field_value1-stepl.
if sy-subrc eq 0.
clear EKPO_CI-ZPCS.
*EKPO_CI-ZPCS = wa_pcs1-atwrt.
EKPO_CI-ZPCS = wa_pcsn-atwrt.
endif.
endif.
ENDLOOP.
CLEAR: field_value1, dynpro_values1.
progname1 = 'SAPLXM06'.
dynnum1 = '0111'.
field_value1-fieldname = 'EKPO_CI-ZPCS'.
APPEND field_value1 TO dynpro_values1.
if ematn1 is not INITIAL.
clear wa_pcs1.
read TABLE itab_pcs4 into wa_pcs1 index 1.
if sy-subrc eq 0.
EKPO_CI-ZPCS = wa_pcs1-atwrt.
endif.
ENDIF.
endif.
ENDMODULE. " STATUS_0111 OUTPUT
Function exits:
^^^^^^^^^^^^^^^^^
EXIT_SAPMM06E_016
^^^^^^^^^^^^^^^^^
INCLUDE ZXM06U41 .
DATA XFISTL LIKE EKPO-FISTL.
TABLES: ADRC, T001W.
DATA: PLANT LIKE T001W-WERKS.
SELECT SINGLE * FROM T001W WHERE WERKS = I_EKPO-WERKS.
SELECT SINGLE * FROM ADRC WHERE ADDRNUMBER = T001W-ADRNR.
XFISTL = ADRC-SORT2.
SET PARAMETER ID 'FIS' FIELD XFISTL.
* Added For PCS 12.11.2010
DATA : fs_ekpo type EKPO_CI.
if sy-tcode = 'ME22N' or sy-tcode = 'ME23N'.
* if tekpo-zpcs is INITIAL.
* message e000(zmm) with 'PCS Type should be chosen'.
* endif.
loop at tekpo.
if ( tekpo-ebeln eq i_ekpo-ebeln and tekpo-ebelp eq i_ekpo-ebelp ).
ekpo_ci-zpcs = tekpo-zpcs.
endif.
ENDLOOP.
endif.
^^^^^^^^^^^^^^^^^
EXIT_SAPMM06E_018
^^^^^^^^^^^^^^^^^
INCLUDE ZXM06U40 .
E_CI_EKPO-ZPCS = EKPO_CI-ZPCS.
E_CI_UPDATE = 'X'. -
How to compare New and Old long text at PO Line Item
Hi all,
I am Using user exit "EXIT_SAPMM06E_013". In user exit i am trying to compare the old and new values of PO maintain at item level. All this values, i am getting in X and Y structures in user exit
For long text there is no Such structures. When i am trying to fetch the details from FM Read_Text to fetch this values, Every time i am getting old values. Since new values has not yet been store to database.
Is there any way through which i can compare the old and new values of item Long text.
Thanks in advance,
Regards,
Vikram Singh.Hi Vikram,
Iam not sure though, did you chekced EXIT_SAPMM06E_022 if it helps you in anyway.
Regards,
Swarna Munukoti -
Hi,
In my PO history report, im displaying new and changed values of various fields (like net amount, quantity etc.) by taking data from CDPOS. Now the problem is that for PO item long text value (both new and changed) CDPOS is not showing the New, Old values. For Long Text it is just showing the details about insert or update. Can anyone let me know how to retrieve old value of a PO item long text?
Is there any other log table that will contain the history data.
Regards,
HKMHi Sathish,
I can capture the long text using Read_Text fm. But my query is that how can i capture the <b>old</b> Long Text value. Is there any table which has the old long text value of a PO item.
Regards,
hkm -
Carriage Return in line Text for invoice line item.
Hi,
I am trying to create an non PO invoice through calling a BAPI "BAPI_INVOICE_CREATE"
in which i am passing all the required data . I have a field called "SGTXT" which is item text and i am passing this field
which has maximum length of 50 char i just want to add a new line characters on to it. i.e want to support Carriage Return
just want to know whether it can hold Carrige Return.
I just tried by entering some Characters and hitting Enter the value which i am passing is simillar to
itemtext
"abcdabcdabcdabcd#
abacdabcdabcd#
abcdabcd" My program is not able to parse this values hence landing into dump.
How should i support this scenario.
Thanks,Here is the dump.
The termination occurred in the ABAP program "SAPLZIBA_SSP_READ_CSV" in
"LINE_TO_CELL_ESC_SEP".
The main program was "ZIBA_SSP_INVOICELOAD ".
The termination occurred in line 149 of the source code of the (Include)
program "LZIBA_SSP_READ_CSVF01"
of the source code of program "LZIBA_SSP_READ_CSVF01" (when calling the
editor 1490).
IF i_string CS l_pipe.
l_stringlength = strlen( i_string ).
DO l_stringlength TIMES.
REPLACE ' ' WITH '""' INTO i_string.
IF sy-subrc NE 0.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ASSIGN I_STRING(L_INT) TO <L_CELL>.
I_INTERN_VALUE = <L_CELL>.
endif.
L_INT = L_INT + 2.
I_SIC_INT = L_INT.
I_STRING = I_STRING+L_INT.
ELSEIF I_STRING CS C_ESC.
letzte Celle
L_INT = SY-FDPOS.
if l_int = 0.
clear i_intern_value.
else.
ASSIGN I_STRING(L_INT) TO <L_CELL>.
I_INTERN_VALUE = <L_CELL>.
endif.
L_INT = L_INT + 1.
I_SIC_INT = L_INT.
I_STRING = I_STRING+L_INT.
L_INT = STRLEN( I_STRING ).
IF L_INT > 0 . MESSAGE X001(KX) . ENDIF.
ELSE.
MESSAGE X001(KX) . "was ist mit csv-Format
ENDIF.
ENDIF.
Can you let me knwo how should i put my condition to support CR .
thanks, -
Standard text entry for Service line items using BDC
Hi,
I want to enter standard texts for service line items of RFQ created using BDC, if it is a line item i can pass RFQ_number+line_item number as TDNAME in SAVE_TEXT function module, but for Service line item what value we need to pass in TDNAME.
Is there anyway we can capture the package number in BDC of ME41?
Regards
Bala Krishna.
-
WHAT CONTROLS THE DOCUMENT LINE ITEMS
Hi,
Posting key controls the document line items and they indicate whether line item is for G/L,Vendor, Customer or Asset Account.
Hope this helps...
Regards,
Vinay -
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
Maybe you are looking for
-
Is there a way to create a circular field or guide in Acrobat?
I have a fillable field that needs to fit nicely in a circle (the field will be exposed through a circular die cut on the page before it. I would like to have a way for the user to see how the field will appear through this circle so they can break t
-
Iweb not working - please help
Hi, Just wondering why my Iweb isn't working.... My MacBookPro came with Iweb already installed and worked fine for a few months...however I haven't used it for about one year. Today when I tried to use, everything is greyed out (e.g. new site, new p
-
Problems with Quicktime (Q?) in browser
I am having a problem with Quicktime working in my browser (we use Firefox). Quicktime is up to date, but everything in the browser that should be running just comes up as a Q with a question mark in the middle. I have checked the browser settings an
-
Due to an issue I had to reset my PC and reinstall my software, but Adobe Photoshop elements 9 and Première elements 9 do not update and gives me the following responses: 6.5 Photoshop Camera raw update an error has occurred while downloading this up
-
What is the best free antivirus for mac ox iBookG4?
Hi,what is the best free antivirus for mac ox iBookG4?