Report on PR with item text
Hi
I need a list report of PR in which item text(written in long text) of PR (which is genreted through PS) should come
In which report can i get this?
Regards
Kalpesh
Hi
The long text (or item text written for material component in PS) will be printed as item text under TEXT tab in PR/PO item details. There is no such report to show the PRs/POs with text option (ME5J/ME5K etc).
Thanks
Similar Messages
-
Simple Abap PO report with Item text
Hello Abap,
Need some help as am more on functional side and our abaper is 2months holiday.
Need to develop simple reports with the following information.
EKKO-EBELEN,
EKKO-WAERS,
EKPO-EBELP
EKPO-TXZ01
EKPO-MENGE
EKPO-NETPR
EKPO-NETWR
ITEM TEXT (TEXT ID-F01) - 100char to be printed.
Tried to developed from scratch but no luck. Need it asap. Thanks in advance.Hi,
I don't have test data but I think the following code will give you an idea, try to fill in the FM "READ_TEXT" below with your own parameter (check with table STXH).
REPORT ZTEST.
TYPES: BEGIN OF TY_RESULT,
EBELN TYPE EKKO-EBELN,
WAERS TYPE EKKO-WAERS,
EBELP TYPE EKPO-EBELP,
TXZ01 TYPE EKPO-TXZ01,
MENGE TYPE EKPO-MENGE,
NETPR TYPE EKPO-NETPR,
NETWR TYPE EKPO-NETWR,
ITEM_TEXT TYPE CHAR100,
END OF TY_RESULT.
DATA: GT_EKPO TYPE STANDARD TABLE OF EKPO,
GS_EKPO TYPE EKPO,
GT_EKKO TYPE STANDARD TABLE OF EKKO,
GS_EKKO TYPE EKKO,
GT_RESULT TYPE STANDARD TABLE OF TY_RESULT,
GS_RESULT TYPE TY_RESULT,
LV_TAB_IND TYPE SY-TABIX,
GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
GS_FIELDCAT TYPE LINE OF SLIS_T_FIELDCAT_ALV,
GV_NAME TYPE CHAR70,
GS_TLINE TYPE TLINE,
GT_TLINE TYPE STANDARD TABLE OF TLINE.
SELECT-OPTIONS: SO_EBELN FOR GS_EKKO-EBELN,
SO_WAERS FOR GS_EKKO-WAERS.
START-OF-SELECTION.
PERFORM SELECTION.
PERFORM BUILD_FIELDCAT.
PERFORM DISPLAY.
*& Form SELECTION
* text
FORM SELECTION.
SELECT EBELN WAERS FROM EKKO INTO CORRESPONDING FIELDS OF TABLE GT_EKKO
WHERE EBELN IN SO_EBELN
AND WAERS IN SO_WAERS.
IF GT_EKKO[] IS NOT INITIAL.
SELECT EBELN EBELP TXZ01 MENGE NETPR NETWR FROM EKPO INTO CORRESPONDING FIELDS OF TABLE GT_EKPO
FOR ALL ENTRIES IN GT_EKKO
WHERE EBELN EQ GT_EKKO-EBELN.
SORT GT_EKPO BY EBELN.
ENDIF.
LOOP AT GT_EKKO INTO GS_EKKO.
CLEAR GS_RESULT.
CLEAR LV_TAB_IND.
MOVE-CORRESPONDING GS_EKKO TO GS_RESULT.
READ TABLE GT_EKPO TRANSPORTING NO FIELDS WITH KEY EBELN = GS_EKKO-EBELN BINARY SEARCH.
IF SY-SUBRC EQ 0.
LV_TAB_IND = SY-TABIX.
LOOP AT GT_EKPO INTO GS_EKPO FROM LV_TAB_IND.
IF GS_EKKO-EBELN NE GS_EKPO-EBELN.
EXIT.
ENDIF.
MOVE-CORRESPONDING GS_EKPO TO GS_RESULT.
CONCATENATE GS_RESULT-EBELN GS_RESULT-EBELP INTO GV_NAME.
CONDENSE GV_NAME NO-GAPS.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'F01'
LANGUAGE = SY-LANGU
NAME = GV_NAME
OBJECT = 'TEXT'
TABLES
LINES = GT_TLINE
EXCEPTIONS
NOT_FOUND = 1.
LOOP AT GT_TLINE INTO GS_TLINE.
IF SY-TABIX EQ 1.
GS_RESULT-ITEM_TEXT = GS_TLINE-TDLINE.
ELSE.
CONCATENATE GS_RESULT-ITEM_TEXT GS_TLINE-TDLINE INTO GS_RESULT-ITEM_TEXT.
ENDIF.
ENDLOOP.
APPEND GS_RESULT TO GT_RESULT.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDFORM. "SELECTION
*& Form BUILD_FIELDCAT
* text
FORM BUILD_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 1.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'EBELN'.
GS_FIELDCAT-SELTEXT_L = 'Purchasing Document Number'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 2.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'WAERS'.
GS_FIELDCAT-SELTEXT_L = 'Currency Key'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 3.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'EBELP'.
GS_FIELDCAT-SELTEXT_L = 'Item No'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 4.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'TXZ01'.
GS_FIELDCAT-SELTEXT_L = 'Short Text'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 5.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'MENGE'.
GS_FIELDCAT-SELTEXT_L = 'Purchase Order Quantity'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 6.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'NETPR'.
GS_FIELDCAT-SELTEXT_L = 'Net Price'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 7.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'NETWR'.
GS_FIELDCAT-SELTEXT_L = 'Net Order Value'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
CLEAR GS_FIELDCAT.
GS_FIELDCAT-COL_POS = 8.
GS_FIELDCAT-TABNAME = 'GT_RESULT'.
GS_FIELDCAT-FIELDNAME = 'ITEM_TEXT'.
GS_FIELDCAT-SELTEXT_L = 'Item Text'.
APPEND GS_FIELDCAT TO GT_FIELDCAT.
ENDFORM. "BUILD_FIELDCAT
*& Form DISPLAY
* text
FORM DISPLAY.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IT_FIELDCAT = GT_FIELDCAT[]
TABLES
T_OUTTAB = GT_RESULT
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "DISPLAY
Thanks.
Regards,
Keng Haw -
Getting text ID and Text object associated with item texts in PO...
Hi,
To print standard text on smartform for a given item in purchase order, I need to find the text ID and object associated with it.
There are various texts like item text, Info record PO text, Material PO Text, Delievry Text, etc...
Now when I go to ME22N, and select item detail for any item -> Texts , how do I get text ID, and object associated with it ?Hi ,
Use table stxh,stxl
FM read_text.
you can view the text id by following
this link
me23->header-text-double click on text->menu goto->
header
Regards
Amole -
Finding PO number with ITEM text as input
Hello
Is there any way/table/fm to list down all the PO that has a particular ITEM text without writing a program .
For eg , PO 123 , has an ITEM text 'aaaa bbbb cccc dddd' . Now i want to find out all the PO that has this particular text as its ITEM text .
Thanks
Jtypes: begin of ty_ekpo,
ebeln type ebeln,
end of ty_ekpo.
data: lt_ekpo type table of ty_ekpo.
Select ebeln into table lt_ekpo where TXZ01 = <<Input your text here>> from table EKPO.
you will recieve all the POs into this Internal table 'lt_ekpo'. -
Report to display PO item text
Hi All.
We are maintaing material PO text at Purchse order item level, i wiould like to knowis there any standred report which display these text .
please reply ASAP.
Regards,
Amit RanjanHi,
As per my understanding there is no standard report which will give the material PO text anongwith Purchse order item level details.
I think you have to go for dovelopment.
Regards,
manish -
Hi Gurus,
Could you please tell which report (transaction) gives the item text details with respect to PO ??
regards
SubbuI dont think there is any standard report for the same. You can however go for an ABAP development :
After entering the item text , save the PO , then go to the PO in display mode and double click on that Text. A new screen will open up for PO text. There in Header Menu select : Goto-> Header . There you will find the text ID and the Text Object which you can pass to tables STXH and STXL and get the texts.
Raviraj -
How to compare Item Text in Purchase Order
God day Gurus,
I have a scenario where in I have to compare the saved Item Text to the current edited one in Purchase Oder. I used READ_TEXT function but it only get the saved item text in the document. Is there a way to compare the original and edited item text in P.O.? Here is my sample, I have PO 000001 with Item Text "Sample" and saved it. Then I edited the PO and change the Item text from "Sample" to "Testing". When I use READ_TEXT function, I will get the text "Sample". How will I get the text "Testing" during saving of PO?
Thanks in advance.Hello
In case you are working already on ERP 6.0 you should have a look at BAdI ME_PROCESS_PO_CUST, interface methods CHECK or CLOSE depending on your requirements.
Regards
Uwe -
Reg: Sales Order Item Text alignment
Dear Experts,
I am having one biilling document no in VF02 transaction with
item text tabmaterial long text column one custom typed
message is there.I am having custom program for Excise Invoice. If i am having
material long text means my pgm will display long txt only
otherwise it will display item description defultly from the
database table. When my progrm displaying the material
custom long text description alignment is not coming properly.
**********following this part is coding part of my program.
DATA : BEGIN OF LTEXT OCCURS 0,
MATTXT(30),
END OF LTEXT.
DATA : V_POS TYPE I.
DATA : ITEXT LIKE TLINE OCCURS 0 WITH HEADER LINE.
* Material description - long text
CONCATENATE IVBRP1-VBELN IVBRP1-POSNR INTO TXTNAM.
TEXTNAME = TXTNAM.
PERFORM READ_TEXT TABLES ITEXT USING 'ZMLT' 'VBBP' TEXTNAME.
IF NOT ITEXT[] IS INITIAL.
LOOP AT ITEXT.
DO 5 TIMES.
IF V_POS GT 110.
LTEXT-MATTXT = ITEXT-TDLINE+V_POS(30).
ELSE.
LTEXT-MATTXT = ITEXT-TDLINE+V_POS(30).
ENDIF.
IF LTEXT-MATTXT IS INITIAL.
EXIT.
ENDIF.
APPEND LTEXT.
V_POS = V_POS + 30.
ENDDO.
CLEAR : V_POS.
ENDLOOP.
ELSE.
SELECT SINGLE ARKTX FROM VBRP INTO IVBRP-ARKTX WHERE VBELN EQ IVBRP1-VBELN AND POSNR EQ IVBRP1-POSNR.
CLEAR V_POS.
V_POS = STRLEN( IVBRP-ARKTX ).
LTEXT-MATTXT = IVBRP-ARKTX+0(30).
APPEND LTEXT.
IF V_POS GT 30.
LTEXT-MATTXT = IVBRP-ARKTX+0(30).
APPEND LTEXT.
ENDIF.
ENDIF.
READ TABLE IVBAP WITH KEY VBELN = IVBRP-AUBEL MATNR = IVBRP-MATNR.
IF LTEXT[] IS NOT INITIAL.
LOOP AT LTEXT.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'DETAILS'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
CLEAR : IVBRP1-MATNR, IVBRP1-FKIMG, IVBRP1-VRKME, TABX ,IVBAP,IVBRP-ARKTX.
CLEAR : IKONV,ASSESSABLE, PRICE.
ENDLOOP.
ELSE.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'DETAILS'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
* CLEAR IVBRP1-MATNR.
ENDIF.
REFRESH LTEXT.
CLEAR TABX.
CLEAR : PRICE, ASSESSABLE, PFCHARGE, EXCISE, EDUCES,
SHEDU, VAT, CST, FRIGHT, INSURANCE, ADVANCE, ADVANCE1.
ENDLOOP.
REFRESH : IKONV, ITEXT.
and i am displaying in my form as <EXT-MATTXT(C30)& like this variable in main window.
Kindly do the needful as early as possible.
<REMOVED BY MODERATOR>
Thanks,
Sankar M
Edited by: Alvaro Tejada Galindo on Dec 25, 2007 9:22 AMHi:
Thanks for the response.
Yeah, when I try to create an Order manually with the item category that is coming in IDOC I am able to see the Text ID's at the item level and I am even able to save some text in them.
Do you think we need to do something else somewhere? May be we need to explicitly write some additional logic in order to save the item texts.
Thanks. -
LSMW - Direct Input - Sales order - item texts
Hi Gurus,
To transfert all orders from old system to new SAP system, I make this with LSMW and program RVINVB10.
The creation of header and item of orders is good but I have a problem with item texts.
In LSMW, I have create one structure et I have affected this to the struct BTEXHKOM and BTEXLKOM.
In BTEXHKOM, the field LAISO = 'FR' and TDID='ZM03' (Id of customer text).
In BTEXLKOM, the field TXTPARAGRAPH='/' and TXLINE='BLABLABLABLA' (no more 72 char).
In actions 'Read Data' and 'Convert Data', I see this two structs. But after execution of Direct Input program, I don't see text in my item of sales order.
I think I miss something.
Can you help me ???
Thanks a lot
Laurent GuilloteauHi Laurent Guilloteau,
I am facing a similar issue.
We are trying to upload sales order data using LSMW Standard Batch/Direct input using program name RVINVB10 and program type D. We are not able to upload item text but we are not having any problem in uploading remaining data.
the details we are passing to BTEXHKOM structure are......
BTEXHKOM-OLDNR = IHEADER-OLDORD_NO.
BTEXHKOM-LAISO = 'EN'.
BTEXHKOM-TDID = 'Z009'.
and the for structure BTEXLKOM
BTEXLKOM-OLDNR = IHEADER-OLDORD_NO.
BTEXLKOM-TXPARGRAPH = '/'.
CONCATENATE LITEM-DEPTID LITEM-DEPTNAME
INTO BTEXLKOM-TXLINE SEPARATED BY ' '.
we have three input source structures.
IHEADER Header structure
LITEM Line item structure ( Material data )
IPARTN Partners structure
The structure relationships are
BTEXHKOM <<< IHEADER.
BTEXLKOM <<< IHEADER.
Please let me know if I am doing some thing wrong or some thing else need to be done.
Thanks,
Chindam. -
Report for Vendor line item with GL line item text
Hello SDN,
We need to add the GL Line item text to a vendor line item report. I don't think adding a GL field is available option in the FBL1N report. Is there a way to display the Vendor name, Vendor number, Open amount and the GL line item text in a report without ABAP invovlement?
I would really appreciate your help. Thank you.
Edited by: nsap_fico on Aug 10, 2011 6:29 PMSome alternative is in KSB1 (Cost center line item report) - you can change the layout and include offsetting account and its text.
But, in vendor line item report, if you want vendor number, vendor number, GL account number (offsetting) account and its text, then you should go with abap development.
Have a look at the following note, if really serves your purpose.
Note 1504612 - Line items: Offsetting account info (BAdI FI_ITEMS_CH_DATA) -
How to add the line item text in the Ledger line item report
Hi SAP Gurus,
I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
advance thanks for the help.
Regards,
Deva.Hi,
You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
Step 1:-
Create function module Z_GET_SGTXT as below:-
Import:-
BELNR LIKE BKPF-BELNR
BUKRS LIKE BKPF-BUKRS
BUZEI LIKE BSEG-BUZEI
GJAHR LIKE BKPF-GJAHR
Export:-
PRCTR LIKE BSEG-SGTXT
FUNCTION Z_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(BELNR) LIKE BKPF-BELNR
*" VALUE(BUKRS) LIKE BKPF-BUKRS
*" VALUE(BUZEI) LIKE BSEG-BUZEI
*" VALUE(GJAHR) LIKE BKPF-GJAHR
*" EXPORTING
*" VALUE(SGTXT) LIKE BSEG-SGTXT
SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
AND BELNR = BELNR
AND BUKRS = BUKRS
AND BUZEI = BUZEI.
ENDFUNCTION.
Step 2:-
Then create the Function Modules as below:-
Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
*" EXPORTING
*" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
Initialize Output by using the following line
E_POSTAB = I_POSTAB.
E_POSTAB = I_POSTAB. "<-- important
CALL FUNCTION 'Z_GET_SGTXT'
EXPORTING
BELNR = I_POSTAB-BELNR
BUKRS = I_POSTAB-BUKRS
BUZEI = I_POSTAB-BUZEI
GJAHR = I_POSTAB-GJAHR
IMPORTING
SGTXT = E_POSTAB-SGTXT
EXCEPTIONS
OTHERS = 1.
ENDFUNCTION.
Step3:-
Transaction FIBF:-
Settings -> Products -> of a Customer
SGTXT Text in Line Item Display Active
Settings -> P/S Module -> of a Customer
00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
Step 4:-
Create the layout for FBL*N with display of the TEXT.
Regards,
Gaurav -
Is there any report to get the header/item text at GR stage together?
Hi gurus,
Is there any report to get the header/item text at GR stage together with a date range?
at the point of goods receipt? Or a report that could be run to search for header/item text at GR stage together with a date range?
Text that was entered at the point of goods receipt?Hi
Check MB51 report with posting dates for materials/vendors and use the display variant document header text (which is GR header text). I hope this is the one you are looking for.
Thanks -
Report that shows material master record with sales text
We have a requirement to pull the material number along with the material sales text from the material master. Does a standard report exist that includes the sales text (from the sales text tab in the material master record?)
Thanks in advance.Hi,
There are not any SAP Standard Report.
The item texts are stored in table
STXL - STXD SAPscript text file lines
You need to retrieve the Text maintained using the Function module
READ_TEXT
goto SE37 , & Click on test enter the details
Text Object MATNR
Text Name 6000000376
Text ID 0001
Language EN
And execute the Text maintain in the Text ID - 0001 - Sales Text will be retrieved. -
Line Item text to updated automatically with current month
In this trxn, we have to always set the Posting variant every month, in spro.(set up line item text).
spro->payroll india -> Reporting for Posting Payroll Results to Accounting->Activities in the AC System->Set Up Line Item Text.
1000 Salary for the month of June08
Whatever text, we give at ID 1000, it gets updated in the accounting entries. What we require, that can it be automated , based on the payroll area/period. I mean, if I give Novu201907, then the text should be u201CSal for the month of Novu201907u201D.
PC00_M99_CIPE - Execute run
Document Date
Posting variant SAP Standard variantHI,
a text change in general ledger line item will not be forwarded to spec. ledger automatically (as the change of a line item text triggers no posting to spec. ledger).
But as you know the document relationship from GL doc. to SL doc go to the corresponding SL doc. and change the text if this is really needed (don't understand why the line item text is that important).
Best regards, Christian -
Item text in Purchase Order getting updated with info. record Purchase Order Text
Hello All,
I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
Issue:
Item text in Purchase Order getting updated with info. record Purchase Order Text
01) PO Text is maintained in the material master under "Purchase Order Text" tab
02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
03.1) this behavior is not observed in the Plants/ Company code that is already Live
Configurations in the system:
The copying rules for the "Texts for Purchase Orders" is
Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
We have modified the Purchase Order form to print one of the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
Am I missing any configuration or where can I look in what is causing this error.
Request help from the experts in the forum.
with Regards,
Dhandapani RThere is no company/purchasing/plant specific customizing for purchase order text.
The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)
Maybe you are looking for
-
This happens when my home page is loading, or sometimes when I am trying to open another game, and sometimes for no reason at all. It happens usually about 10-20 times an hour and is a real pain. I use Foxfire because it supports the Zinga game bar.
-
SSRS Report for Incidents/Work Items Created or Closed over time
I'm curious if anyone has developed a custom report based off the DWDataMart that displays the count for creation of incidents or other work items over time or work items that are closed over time.
-
EhP5 WDA ESS: Not able to marke fields as mandatory
Hello Community, currently I am customizing WDA ESS Scenarios on EhP5. I added some new fields in the method IF_FPM_GUIBB_FORM~GET_DEFINITION of the feeder class for the scenario. The method has also an EXPORTING Parameter for the field descriptions
-
Crash when plug or unplug USB device
I have a Mac Book Pro that I plug into a Raritan KVM switch and use to sync files between the laptop and my desktop machine. I've been doing this for years with no problems, until I installed the Leopard OS. Now either when I plug in the USB connecto
-
Hi, I'm developing a DC component and I created a Model, in order to use sap function modules, but while I was creating the model , I put wrong JCO names. Can I change JCO name of an existing model?