Purchase requisition and Purchase order fields in the APO system
Hi
I have to develop a report in the APO system for which material id needs to be linked with purchase order and purchase requisition fields. I am not able to locate the table to pick these fields.Please anyone can tell which table,FM or BAPI to use.
thanks in advance
You should be able to retrieve the PegID for this particular material/plant combination using /SAPAPO/DM_PEGID_GET_MATERIAL and then using OM LC Get data you should be able to retrieve all the order categories you need for the report.
Similar Messages
-
VKM1 Status and Purchase Order Fields
Hi Everyone,
I'm new with SD and not familiar with transaction VKM1. I have a task that needs to get the corresponding Status field and Purchase Order field for a corresponding VBELN. To what table can I map these data?
Please help.
Many Thanks!Hi
Kindly use the belwo tables and fields
VBAK--BSTKD --POurchase order
VBUP-GBSTAOverall processing status of the SD document item
Regards
Damu -
How to get the Purchase order Qty in the object dependency
Hi,
We are using variant pricing in the purchase order. I have condition type say u201CZVBPu201D for Pallet cost. I defined Pallet cost as 5 USD per each (pallet). I have to calculate Number of pallets = Purchase order Qty/ 5. The number of pallets should be rounded to nearest integer.
My question is how to get the Purchase order Qty in the object dependency?
Is there any reference table and field can be used to get Purchase order Qty just like we use MMCOM-VKOND for variant pricing.
Appreciate your help
Thanks,
SriniHi,
1. I do not have system now so I can not conclusively tell about table field .
2. Since I did it long back so I also do not exactly remember it, there are more than one place where PO qty appears for example Item overview and Item details - one of the PO qty when used in the characteristic do pull the PO qty which can be used for variant pricing (so request to please update the forum with the correct table and field once you find it - in the meantime if I get opportunity to get to system I will also try and find out ). -
Purchase orders manily against the sales orders
My client do purchase orders manily against the sales orders... but to meet the minimumn purchase order quantity or value they club many sales orders in a single purchase order... now is there any way to track for what sales-order-item what purchase-order-item made?? (in SAP B1 2007 B PL7)
Hi
By Design ,SAP creates link between SO to PO when you create PO based on SO .
Then you can use TargetDoc which is PO Number and can be seen in row level
If it is disabled , you can enable it through form setting .
I usually ask my user to start with SO . When they are ready to make purchase , they can click on purchase check box on SO and create PO based on SO . This way the link stay as B1design .
The reason of this you can see the PO and (orrange arrow link) which can let you navigate your PO from AR module .
An other workaround ,user defined field can be used at row level and manually link
Hope this helps
Bishal -
Purchase order Field LIke Material , Non editable by using Trax code Me22n
Guru
How to make Purchase order Field LIke Material , Non editable by using Trax code Me22n
ThanksHi
Check this in SPRO- SAP IMG- Material Management - Purchasing- Purchase order- Define screen lay out at document level
In this select the particular field selection key and change the material field to display.
Hope it will do
Regards,
Raman -
Dear All,
I awant to add purchase order field in T-Code F-40. Following is Scenario.
Transaction to be processed : Outgoing Payment
PstKy : 29 (Special G/L Debit)
Account : (vendor Account)
SGL IND : J
uner more data also it is not showing. I have also used T-Code OB41 but still it is not showing PO field in first screen.
DineshHi,
Following are the steps i have gone through.
1. T-Code OBXT to search G/L Account, then i gone through the combination AcctypeSGL Ind (KJ). Then Chart of Accounts. Then i Listed all G/L which are in used.
2. T-Code FS00, Field Status Group.
3. T-code : OBC4, Then Field Status Group(which is in use of G/L Account) and marked purchase order field as required field under (material management/purchase order)
Still it is not showing purchase order field in first screen of F-40.
Dinesh -
Purchase order field in Cash Journal
Hi,
We want to post expenses with reference to Purchase order in Cash Journal. Purchase order field is not available in the Cash Journal. How to update the purchase order field in Cash Journal.
Regards,
AzeemHi,
In Cash journal, there are fields which are standard from the program SAPMFCJ0 and Control FTCJ_E_POSTINGS.
So you can see in FBCJ, while you post transaction line at the extreme right, you can see "configuration" there you can see the available fields. If you want to include, contact ABAP consultant or SAP team.
Regards,
Ramesh. -
Disabling selected Purchase Order field(s) after released/approved
Hi Experts,
I have a requirement to disable specific Purchase Order fields after released via ME29N.
For example, in Purchase Requisition - I can "Release Indicator - Field Selection Key" to control Purchase Requisition screen layout. However, for Purchase Order - the configuration for "Release Indicator" consist only standard default "Chgable" options.
Question:
Is there a way to customize the Purchase Order "Release Indicator" for screen layout based on customer requirements other that using the default as mentioned above?
Thank you.
StevenHi Padmasri,
I understand your explanation on the standard SAP behavior.
Nevertheless, I'm looking for some flexibility to meet customer requirement. Like in Purchase Requisition, there is option to further customize the screen layout by linking it to the "Release Indicator".
Therefore, apart from the standard 6 options given by standard SAP, can we add/customize the options? For example, my customer may one to change a field in the Purchase Order even after released.
Thank you.
Steven -
Purchase order number of the customer equals to the batch number
At our case, purchase order number of the customer equals to the batch number. Purchase order number will be written on the sales document (VBKD - BSTKD).
1. How can the production department can see what is written in this field (on md04 or etc...)? The batches will be created by the PP module so they have to see what is written on this field to give the right number to the batch externally (when creating the batch manually).
2. If batches are automatically created, how can we make the batch number to be equal to the purchase order number which is written on the sales document (VBKD - BSTKD)?
I'll be happy for the answers and I'll also be happy if you can give me the names of the user exits for the above questions. Thanks in advance for the answers....Hi Yasar?
Did you evaluate working with valuated sales order stock?
This way your PP people could use Make to Order style manufacturing and produce for a special "batch" => The sales order special stock.
Can be used in Repetitive Manufacturing and has no impact in costing, therefore a nice option for the situation you are describing.
In MD04 a special segment will appear for the the Sales Order stock and this stock will only be able to be shipped for this special order.
Best Regards,
Franck -
Purchase order field optional for Movement type
Hi SAP friends ,
Please let me know the config path to make the purchase order field as optional for particular mvt types that are used in MIGO transaction to receive the overage stock or reversal of overage stock
Regards,
JR.Hi John,
If your posting a 101 movement against a purchase order then there is probably no way of making the PO optional, as this is a designed process
I guess I need to understand the process in more detail
In the Interim please look at the following customising settings
Materials management > Inventory management > Inventory management and PI > Field selection for for goods movement
Materials management > Inventory management > Inventory management and PI > settings for enjoy transactions > fields for goods movements
Regards
Steve -
How can i change this length to be appear again
Hello Mohamed,
The length is adopted from data element definition in the system for that purchase order field.
Please ensure you have authorization to change the standard layout of your PO screen. Also check the structure MEPO1211 and the field length of your required fields.
Regards,
Amit -
Pending purchase orders fields required
Hi all,
For purchase orders, I need the below mentioned fields.
purchasing organization,
purchasing group,
purchasing document number,
purchasing document date and
item delivery date.
Can any one give me the Table Field Names related to this fields.?
If anyone already did work on it then please send me the code for the report as well.
Thanks in advance.
Rajpurchasing organization, - EKKO-EKORG
purchasing group,EKKO_EKGRP
purchasing document number, EKKO-EBELN
purchasing document date and EKKO-BEDAT
item delivery date. EKET-EINDT
Check the below program :
REPORT ZMM_OPEN_PO_REPORT no standard page heading
line-size 255
message-id zwave.
======================================================================
Program Name : ZMM_OPEN_PO_REPORT *
Description : This report displays all Open PO Items and output *
would be PO Number,Material number and so on *
Author : Seshu *
Date : 01/24/2007 *
MODIFICATION HISTORY *
DATE | AUTHOR | CHANGE # | DESCRIPTION OF MODIFICATION *
--|||--
01/24/07| Seshu | DEVK921979 | Initial *
D A T A D E C L A R A T I O N P A R T ***
type-pools
type-pools : slis.
Tables
tables : ekko, " Purchase order Header
ekpo, " Purchase order Item
marc. " Material with Plant data
Internal table for output.
data : begin of i_output occurs 0,
ebeln like ekko-ebeln,
matnr like ekpo-matnr,
end of i_output.
ALV Data declaration.
data : v_repid like sy-repid.
ALV Function Module Variables
DATA: gs_layout type slis_layout_alv,
g_exit_caused_by_caller,
gs_exit_caused_by_user type slis_exit_by_user.
DATA: gt_fieldcat type slis_t_fieldcat_alv,
gs_print type slis_print_alv,
gt_events type slis_t_event,
gt_list_top_of_page type slis_t_listheader,
g_status_set type slis_formname value 'PF_STATUS_SET',
g_user_command type slis_formname value 'USER_COMMAND',
g_top_of_page type slis_formname value 'TOP_OF_PAGE',
g_top_of_list type slis_formname value 'TOP_OF_LIST',
g_end_of_list type slis_formname value 'END_OF_LIST',
g_variant LIKE disvariant,
g_save(1) TYPE c,
g_tabname_header TYPE slis_tabname,
g_tabname_item TYPE slis_tabname,
g_exit(1) TYPE c,
gx_variant LIKE disvariant.
data : gr_layout_bck type slis_layout_alv.
Ranges
ranges r_eindt for eket-eindt.
initialization.
v_repid = sy-repid.
start-of-selection.
Get the data from EKKO ,EKPO and MARC Table
perform get_data_tables.
end-of-selection.
display the data in the form of ALV
perform display_data.
*& Form get_data_tables
Get the data from EKKO,EKPO and MARC Table
FORM get_data_tables.
clear : i_output.
refresh : i_output.
fill the dates in ranges
r_eindt-low = sy-datum - 7.
r_eindt-high = sy-datum + 14.
r_eindt-option = 'BT'.
r_eindt-sign = 'I'.
append r_eindt.
Get the data from EKKO,EKPO and EKET Tables
select aebeln bmatnr into table i_output
from ekko as a inner join
ekpo as b on aebeln = bebeln
inner join marc as c on cmatnr = bmatnr
inner join mara as d on dmatnr = bmatnr
inner join eket as e on eebeln = aebeln
and eebelp = bebelp
where c~beskz = 'E'
and c~werks = '1000'
and d~mtart = 'FERT'
and b~loekz = space
and b~elikz = space
and e~eindt in r_eindt.
if sy-subrc ne 0.
message e000(zwave) with 'No open purchase order found'.
endif.
ENDFORM. " get_data_tables
*& Form display_data
text
FORM display_data.
Fill the Fiedlcat
PERFORM fieldcat_init using gt_fieldcat[].
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = g_user_command
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = gr_layout_bck
IT_FIELDCAT = gt_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = g_save
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = i_output
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_data
*& Form fieldcat_init
text
-->P_GT_FIELDCAT[] text
FORM fieldcat_init USING e01_lt_fieldcat type slis_t_fieldcat_alv.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
Purchase order number
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'EBELN'.
LS_FIELDCAT-ref_fieldname = 'EBELN'.
LS_FIELDCAT-ref_tabname = 'EKKO'.
LS_FIELDCAT-TABNAME = 'I_OUTPUT'.
ls_fieldcat-seltext_L = 'Purchase Order'.
ls_fieldcat-seltext_M = 'Purchase Order'.
ls_fieldcat-seltext_S = 'Purchase Order'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Material #
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'MATNR'.
LS_FIELDCAT-ref_fieldname = 'MATNR'.
LS_FIELDCAT-ref_tabname = 'EKPO'.
LS_FIELDCAT-TABNAME = 'I_OUTPUT'.
ls_fieldcat-seltext_L = 'Material'.
ls_fieldcat-seltext_M = 'Material'.
ls_fieldcat-seltext_S = 'Material'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
ENDFORM. " fieldcat_init
Thanks
Seshu -
Table for picking PURCHASE ORDER field corresponding to accounting document
Dear All
Table for picking PURCHASE ORDER field corresponding to accounting document.
Thanks
Rahul JainDear Jayram
I know that Purchase order field can be picked from BSEG table but i am not able to capture the data into it. Whenever i book a invoice through FB60 or MIRO i give the reference PO number which is not getting updated in BSEG, BSAK and other relevant tables.
Thanks
Rahul Jain -
221 movement type with Purchase Order Field mandatory in MIGO
Hi,
When i enter , 221/261 movement type in SAP in MIGO screen .
What is the way to make purchase order field should displayed ? in SAP
Regards,
Rajendra D. Sawantcan you please explain the business need of getting a Purchase order number for while issuing the material with 221 /261
i have also checked in OMJJ eventhough the field EBELN is available in field catalouge but by adding it in OMJJ in 221 the screen does not appear there & probably the reason is that SAP does not support the need of that field there
IF at all you want to get a PO field in Screen then first copy 221 to create a new movement type and then look for some screen exit and enhance the table of MSEG/MKPF with a custom field by appending a structre.
Edited by: Sap: IN on Oct 17, 2011 11:45 AM -
Is it Possible in Purchase Order that putting the BOM, all the components ?
Is it Possible in Purchase Order that putting the BOM, all the components of that particular ges populated in the Rowt ? This is necessary to select single - single items is PO..
We are also using MRP and Forecast. We want to use this method in case of placing URGENT Purchase Order without considering WH stock + PO ordered + ....................
What kind of Query we would write , that putting the BOM in the UDF, the componenets get populated in Purchase Order...
Please give complete query.................The query I have provided earlier needs to be set in the ItemCode field at the row level and not on your User field at the header.
The query below (same as earlier with the addition of the user field name - please verify) will show the Child Items of the BOM item who code you have entered at the Header level in your UDF.
SELECT T0.Code FROM [dbo\].[ITT1\] T0 WHERE T0.Father = $\[OPOR.U_BOMNAME]
This will not automatically fire but the user has to first enter the Vendor Code and then enter the U_BOMName and then in the Item code field press Shift+F2 which will fire the above query FMS displaying the child Items for this BOM.
Suda
Maybe you are looking for
-
Purchase Quotation Finalization Issue
Hi all when iam tring to open Quotation finalizations in purchase indent, there was a pop up saying " [microsoft][ODBC SQL Server driver][SQL Server] Arithmatic overflow error converting numeric to data type varchar" iam unable to see the Quotation f
-
What happened to my calendar?
As of today all of my events are missing for this month and the follwoing. All events are present for November and earlier but none for December and forward.
-
Problem when running GPS in Process Chains
Hi, we have a GPS which has a set of planning functions. we have included this GPS in the Process Chain using "UPC_BUNDLE_EXECUTE". we have a selection of two profit centers. It has taken 18 hrs for the GPS to complete. it was running at its maximum
-
Conditions with 0 value in pricing appears in Price of sls order in ECC 6.0
Hi All, We have upgraded from R/3 4.7 to ECC 6.0.We have a pricing procedure with Condition type VPRS for which the value comes from the valuation segment of the Material master. It is a statistical condition. In R/3 4.7, if we used a non valuated ma
-
What are techniques used for tuning query performance? Please explain in detail? What are short dumps how can we check? What methodologies we follow for the PSA cleansing? Where exactly is the PSA change log where we can delete the request based on t