What table/fields show if a PO Item has a G/R Expected?
Hi experts,
I am coding a program in SRM, but not sure I'll find these answers there, so I'm likely going to do a RFC to ECC and get the values, but need to know how to identify.
In ECC:
(1) What table/field shows if a PO item has a G/R expected?
(2) Where can I find if the PO item has any open receipts?
(3) Where can I find the amount remaining to be invoiced on a PO item?
Thank you very much!
Mark
Hi,
I think EKPO-WEPOS = 'X' mentions that it is expecting G/R..Please see the data element WEPOS documentation for details...
1) The above is the answer
For 2) and 3) You can check the table EKBE...in that you can use the field VGABE to different between invoice receipt and goods receipt..
1 Goods Receipt
2 Invoice Receipt
Thanks
Naren
Similar Messages
-
Table which shows taxes paid line item wise
Dear MM Gurus
Can you suggest me the table/report which shows taxes paid for each PO item for a perticular period of time.
Also can you suggest most widely used standard SAP MM reports across the industry for legal requirements.
I appreciate your quick answer.
Thanks
RaviHi ravi
i tihnk you are asking abt purchase register
for the same no std. report available
pls check following tables
BKPF, BSEG,RSEG,RBKP,RBTX
Vipin -
How to Pickup Serial Number from Production order through table field
Hi Experts,
I have SAP production order for Qty 5 and assigned 5 serial numbers .
How to pick up the serial numbers technically
what table, field I have to use
Thanks
Prabakaran KHi,
Please have a look to this thread:
BAPI/RFC to get serial numbers for a production order
Hope it helps,
Kr,
m. -
Which table field I can confirm if the PO has done invoice receipt
Hi,
From which table field, I can confirm the PO has done invoice receipt. and in case of that with reference a PO, I have done the IR, but it was reversed, which means PO has not done invoice receipt.
For this case, I don't want to read table EKBE to retrieve the invoice number, the read table RBKP to judge if there is a reverse IR for it.
If there any status table field which indicate if the PO has done invoice receipt.
Many thanks,
AriesHi Raj,
For invoice receipt and credit memo, EKBE-BEWTP is all set with 'Q', so if there is reversed invoice. Also you can retrieve data from EKBE. But actually the PO also needs a invoice receipt. So it can not meets the requirement.
Regards,
Aries -
How to show all table fields in correct alv disply
Hi all,
This is my report that disply in ALV . but this is only displying the join table (t_p0001_p0002) fields.i want to disply the other two table fields i.e t_pa0315 and t_pa0007.what is the logic to ALV disply the other two table fields like the table t_pa0001_pa0002.pls help me regarding this.
send me the code its urgent.
thanks!
Vipin
pls find the code below:->
REPORT Y_WP03 .
DEFINE m_fieldcat.
add 1 to ls_fieldcat-col_pos.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = &2.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
TYPE-POOLS: slis. " ALV Global types
tables:pa0001,
pa0315,
pa0007,
disvariant.
Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
*SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_pernr FOR pa0001-pernr. " Personnel No
SELECT-OPTIONS: s_orgeh FOR pa0001-orgeh . " Organization unit
SELECT-OPTIONS: s_werks FOR pa0001-werks. " Personnel Area
SELECT-OPTIONS: s_plans FOR pa0001-plans. " Position
SELECT-OPTIONS: s_ebeln FOR pa0315-ebeln. " Purchase order
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK b2k2 WITH FRAME TITLE text-002.
*SELECT-OPTIONS: s_var FOR disvariant-variant.
PARAMETERS: p_disva1 LIKE disvariant-variant.
SELECTION-SCREEN END OF BLOCK b2k2.
Type Definition *
TYPES :
BEGIN OF ty_pa0001_pa0002,
pernr TYPE pa0001-pernr , " Personnel no.
endda TYPE pa0001-endda , " end date
begda TYPE pa0001-begda , " start date
bukrs TYPE pa0001-bukrs , " company code
werks TYPE pa0001-werks , " Personnnel area
persg TYPE pa0001-persg , " Employee group
persk TYPE pa0001-persk , " Employee subgroup
btrtl TYPE pa0001-btrtl , " Personnnel subarea
abkrs TYPE pa0001-abkrs , " Payroll area
kostl TYPE pa0001-kostl , " cost center
orgeh TYPE pa0001-orgeh , " Organizational Unit
plans TYPE pa0001-plans , " Position
nachn TYPE pa0002-nachn , " Last name
vorna TYPE pa0002-vorna , " First name
midnm TYPE pa0002-midnm , " Middle name
END OF ty_pa0001_pa0002 ,
BEGIN OF ty_pa0315,
pernr TYPE pa0315-pernr , " Personnel no.
kostl TYPE pa0315-kostl , " Sending cost center
lstar TYPE pa0315-lstar , " Activity type
werks TYPE pa0315-werks , " Plant
lifnr TYPE pa0315-lifnr , " Vendor number
ebeln TYPE pa0315-ebeln , " Sending pruchase ord
ebelp TYPE pa0315-ebelp , " Sending PO item
lstnr TYPE pa0315-lstnr , " Activity number
END OF ty_pa0315,
BEGIN OF ty_pa0007,
pernr TYPE pa0007-pernr,
schkz TYPE pa0007-schkz,
END OF ty_pa0007.
*BEGIN OF ty_pa0002,
pernr TYPE pa0002-pernr,
nachn TYPE pa0002-nachn,
vorna TYPE pa0002-vorna,
midnm TYPE pa0002-midnm,
*END OF ty_pa0002.
Data Declaration *
DATA :
t_pa0001_pa0002 TYPE STANDARD TABLE OF ty_pa0001_pa0002 ,
w_pa0001_pa0002 TYPE ty_pa0001_pa0002 ,
t_pa0315 TYPE STANDARD TABLE OF ty_pa0315 ,
w_pa0315 TYPE ty_pa0315 ,
t_pa0007 TYPE STANDARD TABLE OF ty_pa0007 ,
w_pa0007 TYPE ty_pa0007 .
t_pa0002 TYPE STANDARD TABLE OF ty_pa0002 ,
w_pa0002 TYPE ty_pa0002 .
START-OF-SELECTION .
SELECT a~pernr
a~endda
a~begda
a~bukrs
a~werks
a~persg
a~persk
a~btrtl
a~abkrs
a~kostl
a~orgeh
a~plans
b~nachn
b~vorna
b~midnm
INTO TABLE t_pa0001_pa0002
FROM pa0001 AS a INNER JOIN pa0002 AS b
ON apernr = bpernr
WHERE a~pernr IN s_pernr
AND a~werks IN s_werks
AND a~orgeh IN s_orgeh
AND a~plans IN s_plans.
SORT t_pa0001_pa0002 BY pernr .
IF NOT t_pa0001_pa0002[] IS INITIAL .
SELECT pernr
kostl
lstar
werks
lifnr
ebeln
ebelp
lstnr
FROM pa0315
INTO TABLE t_pa0315
FOR ALL ENTRIES IN t_pa0001_pa0002
WHERE pernr = t_pa0001_pa0002-pernr
AND kostl = t_pa0001_pa0002-kostl
AND ebeln IN s_ebeln.
SELECT pernr
schkz
FROM pa0007
INTO TABLE t_pa0007
FOR ALL ENTRIES IN t_pa0001_pa0002
WHERE pernr = t_pa0001_pa0002-pernr.
SELECT pernr
nachn
vorna
midnm
FROM pa0002
INTO TABLE t_pa0002
FOR ALL ENTRIES IN t_pa0001
WHERE pernr = t_pa0001-pernr .
ENDIF.
PERFORM f_display_data.
FORM f_display_data.
DATA:
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv.
Build the field catalog
m_fieldcat 'PERNR' 'PA0001'.
m_fieldcat 'NACHN' 'PA0002'.
m_fieldcat 'VORNA' 'PA0002'.
m_fieldcat 'MIDNM' 'PA0002'.
m_fieldcat 'BUKRS' 'PA0001'.
m_fieldcat 'WERKS' 'PA0001'.
m_fieldcat 'PERSG' 'PA0001'.
m_fieldcat 'PERSK' 'PA0001'.
m_fieldcat 'BTRTL' 'PA0001'.
m_fieldcat 'ABKRS' 'PA0001'.
m_fieldcat 'ORGEH' 'PA0001'.
m_fieldcat 'PLANS' 'PA0001'.
m_fieldcat 'SCHKZ' 'PA0007'.
m_fieldcat 'KOSTL' 'PA0315'.
m_fieldcat 'LSTAR' 'PA0315'.
m_fieldcat 'WERKS' 'PA0315'.
m_fieldcat 'LIFNR' 'PA0315'.
m_fieldcat 'EBELN' 'PA0315'.
m_fieldcat 'EBELP' 'PA0315'.
m_fieldcat 'LSTNR' 'PA0315'.
m_fieldcat 'BEGDA' 'PA0001'.
m_fieldcat 'ENDDA' 'PA0001'.
Display the list
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = lt_fieldcat
TABLES
t_outtab = t_pa0001_pa0002.
ENDFORM. " F_DISPLAY_DATA_VBAK
FORM USER_COMMAND *
FORM user_command USING u_ucomm TYPE syucomm
us_selfield TYPE slis_selfield. "#EC CALLED
CASE u_ucomm.
WHEN '&IC1'.
READ TABLE t_pa0001_pa0002 INDEX us_selfield-tabindex INTO
w_pa0001_pa0002.
CHECK sy-subrc EQ 0.
ENDCASE.
ENDFORM. " USER_COMMANDHey,
Look at ur code.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = lt_fieldcat
TABLES
t_outtab = <b>t_pa0001_pa0002</b>.
Here you're passing only the join table t_pa0001_pa0002. If you want to display the other tables as well, then u must have an internal table that has the columns of all the 3 tables. Then u need to buil;d the fieldcatalog accordingly and then display that table,
Cheers,
Sam -
What report will tell me which tables/fields are used in a transaction
Hi
I'm new to SAP, but was wondering how I can navigate the data dictionary so I can get a list of all the tables, fields and field details for all fields used in the following transactions: IW29, IW39 and IW49N.
Thanks and take care,
ShayneHi,
Welcome to SAP!
There are two ways to find what are all the tables used in the program,
1. Easy & Effective way is to use ST05 and do SQL Trace.
2. Normally, when you want to see the corresponding code in the program related to database activities, then do this,
Goto SE38 --> Put the report name (say RIQMEL20) -> Press F9 --> Select data base activities (SELECT, DELETE, MODIFY, INSERT). Click Ok. This will show all the program lines.
Regards,
Vamsi -
Power Pivot Slicer options not showing in the Pivot Table Field list
Excel 2013. In all the tutorials I watch when you create a Pivot Table using Power Pivot there are Slicer options in the
Pivot Table Fields list. Slicer Horizontal, Slicer Vertical These do not show for me. I see Filters, Value, Row, Column only. Is there a setting I need to turn on? When I click on PowerPivot
at the top, the first icon on the bar is Manage Data model, not Powerpivot as I have seen on some of the youtube tutorials. Thank you in advance.Thank you for trying but it's not what I am after. I understand how to use Slicers with pivot tables. My question relates to Pivot Tables created using PowerPivot. Directly under the Pivot Fields list on the right is a section where
you choose what you want to pivot i.e Filters, Values, Rows, Columns. These are standard with any pivot table. When I watch videos on PowerPivot there are 2 additional options in the section. Slicer Vertical, Slicers Horizontal.
The video comments they only show in when creating a pivot table using PowerPivot. These 2 options are not there for me. I don't know why. It maybe the version of office I am using which is Microsoft Office Plus 2013. I'd like them
included. Appreciate you taking the time to help. -
What table stored "project code" field when post FI Doc
Hi, all
I 've problem about "project code" field in profitability analysis.
I would like to know what Table that stored data about this field and can
relate with FI Doc Table.
Please help me
thank
RayHi:
Please mention the T.code.
Additionally, place the cursor on the project code field and press F1.The sytem will show technical information button.Select the technical information and click on it.It will show the table name and field name.
Please let me know if you need more information.
Assign points if useful.
Regards
Sridhar M -
ALV Output - Need to show count of line items based on 1 key field.
Hi All,
In my prog i need to show an ALV ouput which is having Matnr,Material type and Division . MATNR is the key field. I need to show how many line items are present against a particular MATNR in that ALV ouput itself. Not in the top of page. I think there might be some field in SLIS which can be use for the same. If any one has come across such a requirement then please revert back.
thanx,
Shyam.
PS: Useful answers will be rewarded.Ok, so we are back to using the COUNT field and now using the SORT functionaity, the SORT will allow us to subtotal by MATNR.
REPORT zrich_0001.
* Global ALV Data Declarations
TYPE-POOLS: slis.
* Internal Tables
TYPES: BEGIN OF talv ,
matnr TYPE mara-matnr,
mtart TYPE mara-mtart,
spart TYPE mara-spart,
count TYPE i,
END OF talv.
DATA: ialv TYPE TABLE OF talv WITH HEADER LINE.
DATA: fieldcat TYPE slis_t_fieldcat_alv.
DATA: sort TYPE slis_t_sortinfo_alv.
DATA: layout TYPE slis_layout_alv.
START-OF-SELECTION.
PERFORM get_data.
PERFORM call_alv.
* Form GET_DATA
FORM get_data.
SELECT matnr mtart spart INTO TABLE ialv
FROM mara UP TO 500 ROWS.
ENDFORM. "GET_DATA
* CALL_ALV
FORM call_alv.
PERFORM build_field_catalog.
PERFORM build_sort.
layout-countfname = 'COUNT'. "<----- HERE
* Call ABAP List Viewer (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_sort = sort
is_layout = layout
it_fieldcat = fieldcat
TABLES
t_outtab = ialv.
ENDFORM. "CALL_ALV
* BUILD_FIELD_CATALOG
FORM build_field_catalog.
CLEAR: fieldcat. REFRESH: fieldcat.
DATA: tmp_fc TYPE slis_fieldcat_alv.
tmp_fc-reptext_ddic = 'Material'.
tmp_fc-fieldname = 'MATNR'.
tmp_fc-tabname = 'IALV'.
tmp_fc-outputlen = '18'.
APPEND tmp_fc TO fieldcat.
tmp_fc-reptext_ddic = 'Material Type'.
tmp_fc-fieldname = 'MTART'.
tmp_fc-tabname = 'IALV'.
tmp_fc-outputlen = '4'.
APPEND tmp_fc TO fieldcat.
tmp_fc-reptext_ddic = 'Division'.
tmp_fc-fieldname = 'SPART'.
tmp_fc-tabname = 'IALV'.
tmp_fc-outputlen = '2'.
APPEND tmp_fc TO fieldcat.
tmp_fc-reptext_ddic = 'Count'.
tmp_fc-fieldname = 'COUNT'.
tmp_fc-tabname = 'IALV'.
tmp_fc-outputlen = '5'.
tmp_fc-do_Sum = 'X'.
append tmp_fc to fieldcat.
ENDFORM. "build_field_catalog
*& Form build_sort
* text
FORM build_sort.
DATA: tmp_sort TYPE LINE OF slis_t_sortinfo_alv.
CLEAR sort. REFRESH sort.
CLEAR tmp_sort.
tmp_sort-fieldname = 'MATNR'.
tmp_sort-tabname = 'IALV'.
tmp_sort-up = 'X'.
tmp_sort-subtot = 'X'.
APPEND tmp_sort TO sort.
ENDFORM. "build_sort
Regards,
Rich Heilman -
Free Item UMSON- what table?
Purchase Order Item can be set as free item in Transaction ME21N or ME22N. The screen field is UMSON. Does anybody know what table stores this information?
I tried ST05, where used search for data element UMSON without success.
Any help would be welcome.Check this table,
TB2BJ Trading Contract: Item Categories
UMSON Free item
Regards,
SaiRam -
What is table field name for order status report of rate per unit and bal
hi i want to make FS for order status report i almost get all table and field but i don't get only two field rate per unit and balance value table field didn't get please help me searching in field and table
i want to develop my status reportHi,
Check tables VBAK and VBAP wherein you will get all header and item details.
VBUK and VBUP for header and line item statuses.
KONV would give you rates/pricing details for each condition type determines in the sales order.
VBAK-KNUMV = KONV-KNUMV is how you relate both of them.
Hope that helps.
Regards,
Amit -
How do I find what table a field is in?
Hi,
If I know a field name, how would I search the Data Dictionary to find the table (or tables) that the field is found in?
For example, I have a program spec that that says field AZSUB is in table MARM, but it is not. How can I find what table this field is actualkly in?
Thanks for your help!
AndyHi Andrew,
Just goto se11, enter the data element of that field and clisk on the where used list on the application tool bar. You will get all the tables in which the field appears.
You got find out which would be your appropriate table may be using by the description of the table or the contents or by the links..
Regards,
Vinod Kumar -
In adobe camera raw, what metadata field needs to be filled in so that if an image is uploaded to facebook by a customer, your copyright/info shows up?
Facebook used to but now I believe it includes it. I also read that possible facebook adds metadata to images uploaded to albums but not wall posts. Regardless, what metadata field has to be filled in?
-
From what table I can find the field STTXT?
From what table I can find the field STTXT (Description of maintenance status)?
Regards,
SubhasishHello,
Have a look at thgis thread.
what is STATUS_TEXT_EDIT function
Vasanth -
I just got an email showing that I purchased items totaling almost $25 on the 13th. I did not make these purchases. What can i do?
iTunes Store: What to do if your account has been compromised
Maybe you are looking for
-
Dynamic Query in Report Builder
HI I have a doubt: I need to receive a parameter in my report and I need this parameter in the query, that means, I need to create a dynamic query depending on the value that I receive in one of the parameters that has my report. I tried to use the r
-
I have tested my mapping in IR, it is working good. Problem comes it is receving data from sender system. I have checked the sender side data type and Iam receving the data properly, once the data reaches XI, it could not map it to target structure.
-
Lightroom encountered an error when reading it's preview cache and needs to quit
When I open the program, it shuts down with the above error. It says it will try to fix next time Lightroom opens. It does not. What can I do?
-
How to transfer user profile on same machine
Hello all, I have a user here who got a new laptop. We used the migration assistant to move over his profile. Everything seems to look good. The problem is that his profile that was migrated, is a local profile. I need to transfer his files and folde
-
How do I screen capture video?
I want to video capture my screen while I'm working on a program (for a tutorial) is there any 3rd party application that enables you to capture video of your screen? Thanks