Purchase order longtext
Hi All,
How to fetch the purchase order longtext .
Scenario
when we enter material in MM03 and select the purchase order text view there we can find the long text .
is there any table where this long text is getting updated or any specific procedure to do this
Thanks & Regards
Ashok.
use Read_text FM to get long text based on PO number, and other details which you can find in Long text of the PO.
Similar Messages
-
Dear ALL
my request is i want to know all kind of purchase order longtext which are stores in a STXH table.
please anybody can tell me how do i recall all text which my users had added in PO while creating it.
i knw the function 'read_text' but do not know how to use it .
can you also explain the function and how do i use it.
please explain the difrent type of PO long text.
thnq.
Nayan Lad.Check this code,
give textid,textname,textobject are the input to read_text function
REPORT ZTEXT .
TABLES: PBIM.
stxh, stxl, stxb - trans tables for text
ttxit - text on text-ids
ttxot - Short texts on text objects
Transaction MD63
SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR,
S_WERKS FOR PBIM-WERKS.
DATA: BEGIN OF HTEXT.
INCLUDE STRUCTURE THEAD.
DATA: END OF HTEXT.
DATA: BEGIN OF LTEXT OCCURS 50.
INCLUDE STRUCTURE TLINE.
DATA: END OF LTEXT.
DATA: BEGIN OF DTEXT OCCURS 50.
DATA: MATNR LIKE PBIM-MATNR.
INCLUDE STRUCTURE TLINE.
DATA: END OF DTEXT.
DATA: TNAME LIKE THEAD-TDNAME.
SELECT * FROM PBIM WHERE WERKS IN S_WERKS.
MOVE PBIM-BDZEI TO TNAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'PB'
LANGUAGE = 'E'
NAME = TNAME
OBJECT = 'PBPT'
ARCHIVE_HANDLE = 0
IMPORTING
HEADER = HTEXT
TABLES
LINES = LTEXT
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
LOOP AT LTEXT.
IF LTEXT-TDLINE NE ''.
MOVE LTEXT-TDLINE TO DTEXT-TDLINE.
MOVE PBIM-MATNR TO DTEXT-MATNR.
APPEND DTEXT.
ENDIF.
ENDLOOP.
ENDSELECT.
LOOP AT DTEXT.
WRITE:/ DTEXT-MATNR, DTEXT-TDLINE.
ENDLOOP.
Regards,
Midhun Abraham
Edited by: Midhun Abraham on Oct 3, 2008 9:08 AM -
Purchase order text in material is replicated from ECC to SRM?
Hello experts,
In the standard process of replicating materials from an SAP ECC system to SRM, is the purchase order text tab in MM03 replicated to SRM?
I've tried searcing for this text in SRM but I guess it is not replicated.
Is there a way to do this?
Regards,hi,
Generally speaking, product longtexts are not automatically replicated to SRM via MW.
The filters of text headers and text lines are not taken into consideration.
-- In case in transaction R3AC1 object MATERIAL has inactive filters for tables STXH and STXL, please remove flags and synchronize the filters.
-- In the backend table CRMOBJTAB still shows inactive entries for both tables.
-- Check the notes no. 555520 and 839995. Please apply and follow the instructions given in the longtext.
Now the filters should work and the basic longtext should get replicated.
thanks,
Ashwin
Do reward points for useful suggestions -
Creating confirmation using Purchase Order details
Hi all,
I am trying to create a confirmation for a Purchase Order in SRM Version 5,ECC 5.0(ECS Scenario).
In my program, I first get all the Purchase Orders using the function module, BBP_PD_PO_GETDETAIL. Then I want to confirm this Purchase Order in the back end and front end using some funtion module.
I have tried with the function module, BP_PD_CONF_CREATE, to create the confirmation.For this function module, I have passed the header details such as Object_id,process_type,log_system_FI ,be_log_system,
be_object_type , be_refobj_type.
I have also passed the Item,partner,account,org,longtext,pridoc and tax details of the PO as input to this function module.
On execution of this function module, I get the Confirmation number, but the confirmation does not get created in the front end as well as backend. I also tried with the following function modules,
BAPI_CONFEC_CREATE - For this function module I first tried passing the PO details as above as input but it didnt work. Then I tried passing the output of the Function module BP_PD_CONF_CREATE which had the Confirmation number, as input to BAPI_CONFEC_CREATE. It gives an error 'There has been a unexpected exception'.
I also used the following function modules,
BBP_PD_CONF_UPDATE
BBP_GOODS_MVT_CREATE
BBP_PROCDOC_CREATE
But none of them works....
Please help me if anyone has dealed with such a scenario.
Thanks,
Sowmiya MHello,
I am also new in SCM ICH, but may be there is no transportation line defined for this material.
Call transaction /SAPAPO/SCC_TL1 in your ICH-System or select menu Inventory Collaboration Hub - Master Data - Transportation Lane.
Create a product-specific transportation line.
I am not sure, if it's neccessary to transfer the PO once more before confirming. -
hi friends
how to upload purchasing order text in mm01 transaction.
when i record purchasing order text it is storing in as a module pool program screen when i watch in the after recording , it does not have field and table name.
how to upload it?
thanks®ards
deepikaHi,
You can use the function module CREATE_TEXT for uploading the long text in the purchase order but this one has to be done after you have created the Purchase order succesfully. To use the above function module use the following steps.
1) Upload the longtext seperately into an internal table using GUI_UPLOAD and then use the following code to upload that text.
TYPES : BEGIN OF ty_upload,
matnr(18) TYPE c,
txline(5000) TYPE c,
END OF ty_upload.
DATA : it_upload TYPE STANDARD TABLE OF ty_upload,
wa_upload TYPE ty_upload.
DATA : v_tdid TYPE tdid,
v_tdobject TYPE tdobject,
v_en TYPE spras VALUE 'EN'.
CALL FUNCTION 'IQAPI_WORD_WRAP'
EXPORTING
textline = wa_upload-txline
outputlen = '132' ( Give the length depending upon your requirement)
TABLES
out_lines = it_outlines
EXCEPTIONS
outputlen_too_large = 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.
v_sno = 1.
CLEAR it_outlines.
LOOP AT it_outlines.
READ TABLE it_outlines INDEX v_sno .
IF sy-subrc = 0.
it_tlines-tdline = it_outlines-tdline.
APPEND it_tlines.
CLEAR: it_tlines,it_outlines.
v_sno = v_sno + 1.
ENDIF.
ENDLOOP.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = v_tdid
flanguage = v_en
fname = v_matnr
fobject = v_tdobject
save_direct = 'X'
fformat = '*'
TABLES
flines = it_tlines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc = 0.
Here if sy-subrc is Zero means the text is updated successfully.
Here for getting the tdid and tdobject go to the Tcode ME21 and there inside that one get the values for them and in the PO text of the header text tab.
Hope this one will help you.
Regards,
Venkat. -
Payment by letter of Credit against Purchase order
When we are purchasing from Foreign Vendors , we need to open a Letter
of credit (LC) .
Depending on the terms of Purchase order , Vendor will discount it /get
payment from Bank on submitting LC and other necessary documents.
Vendor's Bank, at appropriate Time will send the same to Customer's Bank
How to mapped this scenario in SAP-MM and FI .
Activities required to be updated against Purchase order :
(1) Payment Terms : 100 % against LC on delivery
(2) History should reflect LC opened - Date and Bank Name which
Vendor has suggested, our company's Bank Name
(3) LC discounted details
(4) LC payment due date to our company Bank - as Procurement needs
to inform to Finance for this.
Any help will be highly appreciated.
Thanks and Best Regards,When we are purchasing from Foreign Vendors , we need to open a Letter
of credit (LC) .
Depending on the terms of Purchase order , Vendor will discount it /get
payment from Bank on submitting LC and other necessary documents.
Vendor's Bank, at appropriate Time will send the same to Customer's Bank
How to mapped this scenario in SAP-MM and FI .
Activities required to be updated against Purchase order :
(1) Payment Terms : 100 % against LC on delivery
(2) History should reflect LC opened - Date and Bank Name which
Vendor has suggested, our company's Bank Name
(3) LC discounted details
(4) LC payment due date to our company Bank - as Procurement needs
to inform to Finance for this.
Any help will be highly appreciated.
Thanks and Best Regards, -
my client requirement is status of the po till payment i want to generate a sap query any body pls guide me purchase order ->down payment ->goods reciept-> invoice verification -> vendor payment
i want to generate this report vendor wise as well as the material and po
pls give me indetails tables and fields
advance thanks for kind replyhi,
Seelct EKBE u2013 EBELN, LIFNR
Where EKEB- BUKRS Eq (Company Code entered in the selection screen)
EKBE u2013 BEDAT Eq (Purchasing Document Date entered in the selection screen)
Select all EKBE u2013 EBELN in to EKBE
Invoice and GRN Document Number: -
Select EKEB-BELNR, BUDAT, DMBTR, WRBTR, WAERS
Where EKBE u2013 EBELN Eq EBELN Entered in the selection screen
EKBE u2013 GJAHR Eq GJAHR Entered in the selection screen
EKBE u2013 BUDAT Eq BUDAT Entered in the selection screen
EKBE u2013 VGABE Eq 1 (Goods Receipt) (in case of Invoice GRN)
EKBE u2013 VGABE Eq 2 (Invoice Receipt) (in case of Invoice MIRO)
Eenter all EKBE u2013 BELNR into BKPF and select BKPF- BELENR, WAERS
BKPF - BUKRS Eq BUKRS Entered in the selection screen
BKPF u2013 GJAHR Eq EKBE - GJAHR
BKPF u2013 BUDAT Eq EKBE - BUDAT
BKPF u2013 AWKEY Eq EKBE u2013 BELNR + GJAHR
Eenter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
BSEG u2013 BUDAT Eq EKBE - BUDAT
BSEG- BELNR Eq BKPF u2013 BELNR
For Payment Document Select BSEG u2013 AUGBL
Where BSEG- BELNR Eq BKPF u2013 BELNR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
BSEG u2013 BUDAT Eq EKBE - BUDAT
Eenter all BSEG u2013 AUGBL into BSEG and select BSEG u2013 BELENR, DMBTR ,
Where BSEG u2013 BELNR Eq BSEG - BSEG u2013 AUGBL
For Advance Payment Document Select BKPF u2013 BELNR, WAERS and KURSF
Where BKPF - BUKRS Eq BUKRS Entered in the selection screen
BKPF u2013 GJAHR Eq EKBE - GJAHR
BKPF u2013 BUDAT Eq EKBE - BUDAT
BKPF u2013 TCODE Eq FBA7 and FBA6
Enter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR ,
Where BSEG- BELNR Eq BKPF u2013 BELNR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
Reagrds,
Rama Mohan -
Purchase order and message details
Hi gurus,
We have a requirement of generating a report of how the purchase orders are being sent to vendor.
Is there any table or tables that stores information of a purchase order number and how the message (output type) has been processed to vendor like through what medium it has been sent to vendor.
Example Purchase order 3456 was sent to vendor through fax.
Purchase order 4563 was sent to vendor through paper.
Purchase order 7865 was sent to vendor through EDI.
The transmission medium by which it has been sent to vendor need to be captured by purchasing document.
So gurus, if anyone can advise me of table or relating tables that i can write a query or request abapers to write a custom report, that would be great.
Thanks in advance,
Kind regards,
Gopio.Hi,
All the CONDITION RECORD details like MESSAGE, DESPATCH TIME & LANGUAGE are available in NACH table
Goto SE16 for NACH and enter the DOCUMENT CONDITION and get te details
hope it is helpful
thanks,
santosh -
When Iam trying to take Purchase Order report,
Fields in PO Report are as follows:
Posting date, Purchase Order number,Vendor Name, Item Name, Qty, Unit Price, Total Price, & Status.
For eg:
PO Num 100 contains 5 Items, Out of which Goods Receipt PO has been raised for 3 Items. and Goods Receipt PO for remaining 2 items have not been raised.
In this case PO status is OPEN.
When iam generating PO Report, It shows Status for all the Items are OPEN. bcoz status for the PO is OPEN.
I want the report to show the status is Closed for the Items for which Goods Receipt PO has been raised. and similarly status must be OPEN for the items for which Goods Receipt PO has not raised. ( PO number is same ).
Your answers will be very helpfull.
Thankyou.Hi,
I have created a Column in Purchase Order Screen and i have given two options by name Open/Close.
I have Created new field by going into...................... Path: ToolsUserdefined FieldsManage User defined fieldsmarketing documentsrows.
And i have selected check box set valid values for fields and i have given Open and Close Options.
This is effecting in new Purchase Orders which iam creating from now. But it is not reflecting in Purchase docs which i have created earlier.
So Please let me know what to be done inorder to reflect this change in all Purchase Order Doc's.
Your Answers will be very much helpfull.
Thankyou. -
Open Purchase Order UPload Using the BAPI 's
i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name Field Description Type Length</u>
<b>EBELN Purchasing Document Number CHAR 010 X
BUKRS Company Code CHAR 004 MN10 C
EKORG Purchasing Organization CHAR 004 MN00 C
EKGRP Purchasing group CHAR 003 X
BSART Order type (Purchasing) CHAR 004 X
LIFNR Account Number of Vendor or Creditor CHAR 010 X
BEDAT Purchase Order Date DATS 010 X
ZTERM Terms of payment key CHAR 004 X
WAERS Currency Key CUKY 005 X
INCO1 Incoterms (part 1) CHAR 003 X
INCO2 Incoterms (part 2) CHAR 028 X</b>
EBELP Item Number of Purchasing Document NUMC 005 X
EMATN Material number CHAR 018 X
WERKS Plant CHAR 004 X
LGORT Storage location CHAR 004 X
EPSTP Item category in purchasing document CHAR 001 X
KNTTP Account assignment category CHAR 001 X
EINDT Item delivery date DATS 010 X
MENGE "Purchase order quantity (direct input, transfer of POs)" CHAR 013 X
MEINS Order unit UNIT 003 X
NETPR "Net price: Document currency (direct input, transfer of" CHAR 011 X
PEINH "Price unit (direct input, transfer of POs)" CHAR 005 X
BPRME Order Price Unit (Purchasing) UNIT 003 X
BPUMZ Numerator: Conversion OPUn into OUn (direct input of POs CHAR 005 X
BPUMN Denominator: Conversion OPUn into OUn (direct input of P CHAR 005 X
SAKTO Cost element CHAR 010 X
KOSTL Cost Center CHAR 010 X
VBELN Sales and Distribution Document Number CHAR 010 X
VBELP Sales document item NUMC 006 X
WEMPF Goods recipient CHAR 012 X
WEBTH "Amount in local currency (direct input, transfer of POs)" CHAR 013 X
WEBTF "Amount in document currency (direct input, transfer of P" CHAR 013 X
WEREF Flag for treatment of GR/IR (direct input of POs) CHAR 001 X
SPINF Indicator: Update info record CHAR 001 X
WEPOS Goods Receipt Indicator CHAR 001 X
REPOS Invoice receipt indicator CHAR 001 Xi need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name Field Description Type Length</u>
<b>EBELN Purchasing Document Number CHAR 010 X
BUKRS Company Code CHAR 004 MN10 C
EKORG Purchasing Organization CHAR 004 MN00 C
EKGRP Purchasing group CHAR 003 X
BSART Order type (Purchasing) CHAR 004 X
LIFNR Account Number of Vendor or Creditor CHAR 010 X
BEDAT Purchase Order Date DATS 010 X
ZTERM Terms of payment key CHAR 004 X
WAERS Currency Key CUKY 005 X
INCO1 Incoterms (part 1) CHAR 003 X
INCO2 Incoterms (part 2) CHAR 028 X</b>
EBELP Item Number of Purchasing Document NUMC 005 X
EMATN Material number CHAR 018 X
WERKS Plant CHAR 004 X
LGORT Storage location CHAR 004 X
EPSTP Item category in purchasing document CHAR 001 X
KNTTP Account assignment category CHAR 001 X
EINDT Item delivery date DATS 010 X
MENGE "Purchase order quantity (direct input, transfer of POs)" CHAR 013 X
MEINS Order unit UNIT 003 X
NETPR "Net price: Document currency (direct input, transfer of" CHAR 011 X
PEINH "Price unit (direct input, transfer of POs)" CHAR 005 X
BPRME Order Price Unit (Purchasing) UNIT 003 X
BPUMZ Numerator: Conversion OPUn into OUn (direct input of POs CHAR 005 X
BPUMN Denominator: Conversion OPUn into OUn (direct input of P CHAR 005 X
SAKTO Cost element CHAR 010 X
KOSTL Cost Center CHAR 010 X
VBELN Sales and Distribution Document Number CHAR 010 X
VBELP Sales document item NUMC 006 X
WEMPF Goods recipient CHAR 012 X
WEBTH "Amount in local currency (direct input, transfer of POs)" CHAR 013 X
WEBTF "Amount in document currency (direct input, transfer of P" CHAR 013 X
WEREF Flag for treatment of GR/IR (direct input of POs) CHAR 001 X
SPINF Indicator: Update info record CHAR 001 X
WEPOS Goods Receipt Indicator CHAR 001 X
REPOS Invoice receipt indicator CHAR 001 X -
DEAR ALL,
WHETHER WE HAVE A STANDARD REPORT IN SAP TO GET QUANTITY AND VALUE DATA OF BACK DATED OPEN PURCHASE ORDER?
PURCHASE ORDER HAS BEEN PREPARED IN JANUARY, DOWN PAYMENT IS MADE IN THE MONTH OF MARCH, MATERIAL IS RECEIVED (GRN MADE) IN AUGUST
IN ABOVE CASE WHEN I GENERATE A OPEN PURCHASE ORDER REPORT AS ON 31.03.2008 IT IS NOT SHOWING ME THE QUANTITY & VALUE DETAILS OF OPEN PURCHASE ORDERS.
PLEASE LET ME KNOW THE WORK AROUND.
WAITING
AMITDear,
Enter ME2N, Select WE101 in selection parameter field.
Then enter other required detail and click on execute button.
So system give you list of open purchase order.
Then click on change layout button.
Transfer Still to be invoiced (qty) field Column Set to Display column set mode.
And click on continua button.
Duse to this field you can track for how many quantity good receipt is created of purchase order.
Regards,
Mahesh Wagh -
Purchase order to payment cycle report
Dear Sir/Madam
We want to have a report on the purchase order to payment cycle.
this includes the following points:
1. Purchase Requisition is raised in the system
2. PO is raised with various line items
3. Advance payment is done against the PO
4. GRN is made for goods delivered
5. Invoice is processed against each GRN
6. Retention is deducted to be paid in future
7. Liquidated damages (LD) is deducted which is treated as miscellaneous income in companys books
8. Payment is made to the vendor
We require the report in such a way which will give the details of each payment against each GRN line item. tracking of the same should be possible.
Do we have any standard report which will help in identifying the purchase order to payment cycle.
Thanks and Regards
Prashant P. ZingeHi,
It is always a requiremnet to have a report from PO, GR, IV to payment.
But unfortunately, SAP do not have such a report, we develop one locally, the difficult is at payment side.
Several invoices for one vendor has only one payment doc, how to display it need to discuss with end user. -
Hi Experts,
Due to some other reasons we tried clear GR/IR clearing a/c. i will explain clearly.
We have some purchase orders pertaining to 2006 year. we have not done MIGO and we did MIRO, So that we could not able to clear GR/IR A/C. SO, we have posted manual entry with fb50 same as MIGO posting then we cleared both documents with f-03 its done every thing was fine now But if we see purchase order report status showing OPEN
How to change the status please some one let me know.this is high priority issue.
Regards,
JCHi,
First make sure that you will not receive goods against your PO..Then go to me22n and delete the item in your PO.
This will resolve your issue.
Thanks,
Srinu -
Report for Planned vs Purchase Order(Qty and rate)
Hi
I have the following issue. My client is raising Purchasing requisition and Purchase Orders in Me51N and ME21n respectively. The Project Structure is used only to plan the quantities and rates whereas no PR is released from it. But the components are attached. Now if i make use of the code CN52N, i am getting the planned quantity and unit rate for the planned value whereas no Purchase requisition number or purchase order number is updated in it.
My requirement is that both planned quantity, rate along with Purchase order quantity and rate should be available in a report.
1. Is there any setting that we can make so that the details are updated in cn52N (or)
2. is there any other report with those details (or)
3. Should that be achived only through ABAP.
Please suggest.
RaghavThere are a few reports that you can use to display STO requisitions and orders, by supplying plant, material, or MD04 like was mentioned.
The only thing that you don't have in a report is the link to the production order. In SAP in a MTS situation there's no fixed link (pegging) between the requirement (STO) and the supply (prod Ord).
You can view the pegging dynamically, for example in MD04.
Edited by: Mario Adler on Oct 27, 2011 12:13 PM -
Open Qty and Received Qty for Open Purchase Order.
How to Fetch the open qty and received Qty of every Open purchase orders in EKPO table where ELIKZ = SPACE OR LOEKZ = SPACE. What are the table and field used? Kindly help me.
Hello Senthilramkumar,
Use ME2L/ME2N/ME2M with selection parameter WE101.
Hope this will help.
Maybe you are looking for
-
Ms access and ms excel to oracle
Hi, The client has some excel files and ms access.i don't have proper idea about that. 1,how to convert from these to oracle using oracle migration workbench or covert the migration by plsql procedures? 2,which method is best method extract the data
-
Creating PAI modules in Module pool programming
hi all. here the problem that iam getting is i have created two different screens and based on first screen data input the control will go to the sceond screen and will display data. here the problem is i have created 5 PAI Modules in se80 by just ri
-
How do I open an unknown file type on ios
I have a specific file type that is nothing more than a text file. But when I receive emails with this file type, I can't do anything with it. It is a situation that happens all the time because it is a standard type of file that my company uses, s
-
IPod refuses to sync because its "full"
I am trying to sync my iPod (currently at 32 gb full) to my new iTunes library (around 18 gb). Whenever I try, it tells me I don't have enough space, even though I have a lot less on it than I did before. How do I fix it?
-
IOS 8.2 no funciona bien
Desde la ultima actualizacion de IOS mi ipad funciona terrible, se ha vuelto lenta, carga mal las aplicaciones, se cierran solas, se calienta, a veces no se pueden cerrar las ventanas con los dedos, solo con el botón principal, safari no carga un mon