Purchase requisition table field FRGDT
hi all,
i would like to ask that, the field FRGDT under table EBAN stated as pruchase requisition release date, however, when i check, that under CDPOS table, the UDATE of having the final release indicator changed is totally different as FRGDT.
so what actually FRGDT is referring to? can any one please advice. thanks
For your first question, you could do the below.
Assuming that the DataSource is delta capable, you can populate the new field data using 'Repair Full Load':
1. Create a View based on the base tables and EKET. Include the new fields along with the DSO key(s). Create a generic extractor based on the view. Write CMOD code to populate your new field. The CMOD code is as below. Test the extractor in RSA3 to make sure the records are being extracted. Replicate the DS in BW.
2. Create transformation for your Datastore with this new datasource. Create a full load Infopackage. Under the Scheduler tab of Infopackage, select 'Indicate request as repair request'. Schedule the IP. This will populate all historical data for your new fields without harming the deltas.
NOTE: If the record size if huge, you would want to limit the size using some filter criteria. For example, load the data only for a couple of years.
Once DSO is loaded and data activated, Infocube will automatically pick these delta records.
CASE i_datasource.
data: v_dat01 like EKET-DAT01.
l_tabix LIKE sy-tabix.
when '2LIS_02_SCL'.
LOOP AT c_t_data INTO wa_t_data.
l_tabix = sy-tabix.
SELECT SINGLE DAT01 into v_dat01 from EKET where <condition>.
if sy-subrc = 0.
wa_t_data-DAT01 = v_dat01.
MODIFY c_t_data FROM wa_t_data INDEX l_tabix.
endif.
For your second question, building a generic extractor will be ideal. Hope this helps.
-Mann
Similar Messages
-
HI all,
I want to know the tables and transactions related to Purchase Requisition.
Also, in which table the Purchase Requisition APPROVAL result and the APPROVER name will get stored?
Regards,
ShanthiHello Shanthi,
Please note that you'll get all the relevant information in EBAN,CDHDR & CDPOS tables. You can pass the value of PR no in OBJECTKEY field of the change tables(CDHDR & CDPOS ).One more condition is that ,when you input PR no. in these change tables, then make sure that the number of digits of PR no. should be 10.
Suppose for eg., if your PR no. is 600012 (6 digits), make sure to add 4 more preceding zeroes, so that total will be 10 & then input that value in OBJECTKEY field as 0000600012 .This will satisy the requirement.
Hope things are clear.
Regards
Mahesh -
ME57 - Convert Purchase Requisitions - New fields to Tree ALV in Overview?
Hello,
From ME57, one can get a list of purchase requisitions, click "Assignments," and then "Process Assignment."
What next appears is a list of requisitions in a Tree ALV grid. The title of the grid is: "Convert Purchase Requisitions."
I would like to add a new field from EBAN to this ALV grid. The field is not currently available in change layout. The structure that I think is displayed is MMPUR_S_DBL_ASSIGNEDREQS.
Is there a BADI or some other way to get additional fields on this Tree report (which, of course, is used to drag requisitions to the right side of the screen in ME21N)????????
Thank you,
-KenHello,
From ME57, one can get a list of purchase requisitions, click "Assignments," and then "Process Assignment."
What next appears is a list of requisitions in a Tree ALV grid. The title of the grid is: "Convert Purchase Requisitions."
I would like to add a new field from EBAN to this ALV grid. The field is not currently available in change layout. The structure that I think is displayed is MMPUR_S_DBL_ASSIGNEDREQS.
Is there a BADI or some other way to get additional fields on this Tree report (which, of course, is used to drag requisitions to the right side of the screen in ME21N)????????
Thank you,
-Ken -
ME59n exit/BADI to copy purchase requisition custom field to purchase order
I have added a custom field (Unloading Point) in the Purchase requisition customer screen. Now When a purchase order is created from the purchase requisition through t-code ME59N, I need to copy the unloading point value from the PR to Unloading Point in the shipping tab of the Purchase Order. Whch User-exit/BADI can be used for this purpose. <removed by moderator>
Edited by: Thomas Zloch on Nov 23, 2010 12:44 PM - please do not offer ...Good you found out what was the answer. Please share your solution, that sort of the idea of a forum like this.........
-
Link tables of Sales Order and Purchase Requisition
Hi,
thru which tables we can get the data of purchase requistion for a sales order.
regards,
baluDear Balu,
the fields VBEP-BANFN and VBEP-BNFPO are filled in the third-party process only. It means that there is 1:1 connection between the schedule line of the sales order and the purchase requisition. In the third-party process during saving the sales order the purchase requisition is created automatically and is linked to the order.
If the fields are empty, it means, you have no third-party process and no 1:1 connection between the sales order and the purchase requisition. Probably the sales order created normal requirements, which generate purchase requisition(s) after MRP run. In this case you cannot see the purchase requisition from the sales order as there is no 1:1 connection. You have no chance to get the data from sales order to the purchase requisition.
The only possibility which you (may be, it depends on the process) have, is to find sales order numbers from the purchase requisition: so to develop the process backwards. These data are stored in the database table EBKN: Purchase Requisition Account Assignment.
Please use the following fields:
EBKN-BANFN - Purchase requisition number (key field)
EBKN-BNFPO - Item number of purchase requisition (key field)
EBKN-LOEKZ - Deletion indicator in purchasing document (key field, can be helpful)
The corresponding sales orders are stored in:
EBKN-VBELN - Sales Document Number
EBKN-VBELP - Sales Document Item
EBKN-VETEN - Schedule line number
I hope, this information will help you further and will solve your problem.
Kind regards,
Akmal Vakhidov
Development Support SD, SAP, Walldorf/Germany -
Purchase Requisition number : In which table the PR currency field stored?
When we raise a Purchase requisition nr : t codes ME53N / ME21N
the PR nr, item nr, PR doc type, PR group, plant etc are stored in EBAN table.
PR amount can be calculated based on MENGE * PREIS / PEINH from the table EBAN.
Where will be the PR amount currencies like 'EUR' or 'GBP' stored?
How can we relate those Table with EBAN/EBKN?
Please let me know the exact TABLE for this.Hi,
currency keys will be stored in
TCURC table.. ( all currency keys will be available )
eban - waers is the field where the currency key value stored
regards,
Venkatesh -
Purchase Requisition fields & table
hi experts,
I have a requirement to make Purchase Requisition report. Is there any standard report so i can copy and modify it. Or u guys have made some report of the same. its urgent.
Or plz tell the table & field names of the following requirement. also help me on what fields I can join that tables.
Purchase Requisition (PR) date
Delivery date
PR No.
PR Material No.
PR Quantity
STO date
STO No.
STO material
STO Qty.
Supplying Plant
Delivery Plant
Delivery No.
Delivery Date ( when delivery created)
Delivery material
Delivery Qty.
PGI
thanks. alot.
KhanREPORT ZPurchase_alvsample .
TABLES: ekko.
type-pools: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-do_sum = 'X'.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = it_ekko
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_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp statu aedat matnr menge meins netpr peinh
up to 10 rows
from ekpo
into table it_ekko.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.
regards,
srinivas
<b>*reward for useful answers*</b> -
Purchase Requisition number : In which table the currency field stored?
When we raise a Purchase requisition nr : t codes ME53N / ME21N
the PR nr, item nr, PR doc type, PR group, plant etc are stored in EBAN table.
PR amount can be calculated based on MENGE * PREIS / PEINH from the table EBAN.
Where will be the PR amount currencies like 'EUR' or 'GBP' stored?
How can we relate those Table with EBAN?
Please let me know the exact TABLE for this.hi kpreddy
before going to raise purchage order u must give the purchage requisition plan
why we r going to purchage the material??? so many things to approve to purchage a material
menge - purchage order quntity
preis -
that currencies depend upon the country wise purchage order.......... -
Which table holds the link between Purchase requisition and Reservations ?
Hi Guys,
We are using MRP and as a result of the MRP run the reservations are converted to purchase requisition. When i look at transaction MD04 it shows me the Purchase requisition against a reservations.
I would like to know which table holds this information? I mean which table will give me the reservations tied to a purchase requisition or vice a versa.
I have looked into RESB and RSBD but could not find what i am looking at. RESB table has BANFN field for purchase requisition but this field is not populated. RSBD table hold the Purchase requisition and reservations but it only holds the relation for Direct procurement and not for all.
Any idea where i can find the Preq and Reservations created through MRP run?
Thanks
VJTry RKPF..
thanks
jz -
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 advanceYou 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.
-
Customer field to purchase requisition
Hello,
I add the customer field at subscreen of purchase requisition ( at the data base table i add the relative field in ci_ebandb include ) by EXIT_SAPLMEREQ_001 and
EXIT_SAPLMEREQ_002 and EXIT_SAPLMEREQ_003.
I add the same customer field at subscreen of purchase order ( at the data base table i add the relative field in ci_ekpodb include ) by EXIT_SAPLMEREQ_016 and EXIT_SAPLMEREQ_017 and EXIT_SAPLMEREQ_018.
The problem is: when i convert the purchase requisition in purchase order, the data into customer field of
purchase requisition not are transfert in the customer field of purchase order.
thanks for help,
Roberto Baldassarre.correction **
tks for your help,
but i had just done it. I explain with detail my step:
I add the customer field at subscreen of purchase requisition by
EXIT_SAPLMEREQ_001 and EXIT_SAPLMEREQ_002 and EXIT_SAPLMEREQ_003 (at
the data base table I add the relative field on ci_ebandb include).
I add the same customer field at subscreen of purchase order by
EXIT_SAPMM06E_016 and EXIT_SAPMM06E_017 and EXIT_SAPMM06E_018 (at
the data base table i add the relative field on ci_ekpodb include).
Step followed:
1. add field at EBAN table by CI_EBANDB include
2. add same field at EKPO table by CI_EKPODB include.
3. write code at EXIT_SAPLMEREQ_001,EXIT_SAPLMEREQ_003 following
document's help.
4. write code at EXIT_SAPMM06E_016, EXIT_SAPMM06E_017 ,
EXIT_SAPMM06E_018 following document's help.
5. build dynpro 0111 on function group XM02
6. build dynpro 0111 on function group XM06
The problem is: when i convert the purchase requisition in purchase
order (ME59n), the data into customer fields of purchase requisition
not are copied in the customer fields of purchase order (this field are
empty).
Tks for your help! -
Purchase requisition approved date field name by differnt release codes
can any body give me field name of the date of purchase requisition released by the release code.
regards
reddy
Edited by: Ian Wong on Sep 18, 2008 6:37 PMHi,
Table name is EBAN
Field name is BADAT.
Pass Pur Req no..you can get the Date.
Rgs,
Dhanush. -
How to show field at item detail level (purchase requisition layout)?
Hi, gurus!
We're trying to get field "processor" shown at item detail level (release strategy tab) when we create, modify or display
a purchase requisition.
We click on right button, select "Show" and get column name "Processor" in displayed columns and save layout as default,
but that field is not visible when entering again transactions ME51N, ME52N or ME53N.
Could anyone help us?
Thanks in advance
Regards,
J MadariagaJ,
This field on the release strategy tab is linked to workflow. You can maintain the "Processor" data by each release group and release code in the IMG menu path: Materials Management -> Purchasing -> Purchase Requisition -> Release Procedure -> Set Up Procedure with Classification.'
Here you enter a processor's entry under Workflow:
Grp: Release group
Code: Release code
Plant: Plant
Agent type: US is user
Agent ID: UserID
Once this is maintained, you return to the Release Codes section and enter a "1" by each Grp/Code where a workflow entry was created in table T16FW. When you look at the release tab in the PR that has the same code as the one you created in the configuration, you will see the Workflow username (First and Last Name) in the "Processor" field.
Hope this helps. -
Customised Field in Purchase Requisition
Our requirement is to have a 4 digit departmental section (0001 - Finance dept, 0002 - HR dept, etc) in the Purchase Requisition line item (Table EBAN), there is no such field in standard SAP.
How to add this addiitonal customised field to Purchase Requisition document (table eban) so that we can enter the data in create/change PR transaction - ME51N or ME52N??hi,
check these USER EXITS:
MEQUERY1 - Enhancement for document overview ME21N / ME51N
MM06E005 - Customer fields in purchasing documents
MEREQ001 - Customer's own data in purchase requisitions
Hope it helps..
Regards
Priyanka.P -
How to update Purchase requisition number in EBAN table through ME51n?
Hi Guru,
I know thoes user exit as below use for ME51N.
EXIT_SAPLMEREQ_005
EXIT_SAPLEBND_001
EXIT_SAPLMEREQ_010
But I don't know which use exit effect after saving PR number in EBAN table and which field to tick PR number = '0010000111' in order to I want update number 00100001111 in EBAN table after clicking save in ME51N.
I need it soon . Please help me,
Thank you so much guru.Hi,
Try with this BADI ME_PROCESS_REQ_CUST and create a new implementation under POST. That would give us the generated new PR number and using that we can access the relevant tables.
And also try this exit given Below EXIT_SAPLMEREQ_009 Document Number Assignment: Purchase Requisition
Regards
kk
Edited by: Krishna KiranN on Dec 20, 2011 5:28 AM
Maybe you are looking for
-
Creation of Requisition Request through MSS
Dear All, Currently we are on Ehp4 and using standalone eRec server We have the following requirement. Line manager needs to raise a requisition by Poistion/Job of his Org Unit in MSS and go for the approval to Higher level manager and then after the
-
I've never had any issues installing software from a dvd onto the Surface Pro 2 or my windows 7 laptop-- why won't PS Elements 12 install on either of these machines??
-
Forwarding Application Error in ABAP Proxy to CCMS
Hi, We are using fault messages for inbound ABAP proxy interfaces to capture application errors, and we can see the error in the monitoring of ECC. However, Is there a way, we can forward it to CCMS of ECC (and not XI), because we want to use an exte
-
Hello - On a vanilla install from the CD version (2008.06) everything works. When I upgrade everything, the 2.6.28.4-1 kernel seems to cause problems. I can get things working again by downgrading the kernel but this seems inelegant (and I'd like the
-
Information on Personnel Requisition workflow.
Hello All, Can anyone tell me about the Personnel Requisition workflow HRPERSREQ. I am trying to add custom task at the end of the workflow for which I need the position number (OBJID). Does the workflow provide the position number for which the re