Report program for purchasing doucment per vendor
hi gurus
am using ME2L tcode in which i need to include a new field called last delivery date in my report how to give a start to that program. i have tried own way in that i dont no how to give link to the table .I tried with views but some tables does not have any link. How to continue.
Regards
vijay
hi frds ...
study the purchasing table(Ekko) correctly ....
find the fields name from -
if u didnt get ask BOSS and do da....
reward 8 points to me da.....
pari
Message was edited by:
pari vedhan rajasekaran
Similar Messages
-
Give rhe report program for 'Purchase orders without Purchasing Requisition
please give me the report program and related tables
report zrich_0003 no standard page heading.
data: begin of itab occurs 0,
ebeln type ekko-ebeln,
ebelp type ekpo-ebelp,
matnr type ekpo-matnr,
txz01 type ekpo-txz01,
menge type ekpo-menge,
meins type ekpo-meins,
end of itab.
select-options: s_ebeln for itab-ebeln.
start-of-selection.
select * into corresponding fields of table itab
from ekko
inner join ekpo
on ekkoebeln = ekpoebeln
<b> where ekko~ebeln in s_ebeln
and ekpo~banfn = space.</b>
loop at itab.
write:/ itab-ebeln, itab-ebelp, itab-matnr,
itab-txz01, itab-menge, itab-meins.
endloop.
Please remember to award points for helpful answers. Thanks. -
Total Purchasing dollars per Vendor
I would like to get a query where only for the Vendors which have "ERS" -Evaluated Receipt Settlement type slected , I want to get the total dollars purchased from that vendor.
Which table gives the total Purchasing dollars per Vendor?Here is a quick approach using Excel:
First extract vendors marked for ERS by using SE16 - table lookup for table LFM1. Add field XERSY (flagged for ERS) to the selection fields and use the AVL list as output option. Once you have the list, download it into Excel.
Now run transaction MC$4, which will access information structure S012 (Purchasing Information System) and run the report by selecting a range of periods. There are a bunch of key figures available, from the original PO $ to invoiced $. Once you have selected the key figure/key figures you need, download the report into Excel.
Now use the vblookup function in Excel, using the downloaded ERS vendors as reference to find the desired key figures from the second downloaded table. -
Dump in smartform driver program for purchase order
i created one smartform with driver program for purchase order.
in smartfrom i gave
form interface: p_ebeln as import,
tables as it_ekpo like ekpo.
global definitions are
wa_ekko type ekko for printing the ekko data in one window,
wa_ekpo type ekpo .
in main window i took the one table and loop the ekpo table for printing the item details.
no errors is there.but ; when i call this generated function module to my driver program it goes to dump.
in driver program i declare structures,internal tables,work areas, and parameter as p_ebeln .
and also select statements for my table all are good.but its not work.
in function module i pass the details as export p_ebeln = p_ebeln and table it_ekpo = it_ekpo.
and also i done debugging in this data come to the internal table and work areas.
but it goes to dump.
if u dont mind plz solve my problem.
Thanks
Navya.
Moderator message: empty lines removed, subject corrected, please use meaningful subject lines when posting!
Edited by: Thomas Zloch on Mar 24, 2011 10:10 AMHi Navya,
Your smartform is correct. But, as per my understanding, the dump comes when you call the smartform from the driver program. If that is the case, please check the input parameters and all th parameters in the program should be same as used in samrtform. Any deviation would lead to a dump.
Analyse and resolve!!!
Regards
Atul Sachdeva -
Driver program for Purchase Order form "/SMB40/MMPO_A"
Hi All
Could you please suggest me Driver program for Purchase Order form "/SMB40/MMPO_A" ?
Driver program "/SMB40/FM06P" does not have the same interface structure as this form, hence can not be used.
<< Text removed>>.
Regards
Ansh
Edited by: Matt on Mar 27, 2009 7:22 AM - Please do not offer pointsHi Ansh
see this link
[Driver program |https://forums.sdn.sap.com/click.jspa?searchID=24089230&messageID=6810108]
Regards
HAreesh Menon -
Assign Form and Output Program for Purchase Order
Hi,
in SPRO, Assign Form and Output Program for Purchase Order I see the following data:
- IMG Activity Assign Form and Output Program for Purchase Order
- View Maintenance: Data
- VV_TNAPR_EF
- TNAPR
- 007ZNEU2EF
What is 007ZNEU2EF ?
Yours faithfullyI dont have enough knowledge on this one. However i will try to clarify this
007 i think its a version
ZNEU2 its a Process type
EF Purchase order -
How do I sign up to join Adobe's Photoshop Photography Program for $9.99 per month, giving you access to Photoshop CC, Lightroom, Behance ProSite, and 20GB of cloud storage.
Cancel old and buy new is the only way I know, but you MAY be able to exchange
Return, cancel, or exchange an Adobe order -
Standard program for purchase register
Hi,
Any one tell me what is the standard report for purchase register in sap
regards,
lakshminarayanaPurchase Register Report
Purchase Register
Reward points.. -
Report program for alv grid in hierarchial manner
I have a requirement where I need to display values in hierarchial fashion. can anyone send me some sample program for the same.
thanks,
hema sundar.hi, chk this.
Check this code. this might help in solving your problem.
>********************************************************************
This report displays data from SAP tables (like SE16) *
FM : REUSE_ALV_GRID_DISPLAY
DATA:
g_mandt TYPE mandt.
SELECTION-SCREEN :
BEGIN OF LINE, COMMENT 6(33) v_1 FOR FIELD p_table. "#EC NEEDED
PARAMETERS p_table TYPE dd03l-tabname OBLIGATORY MEMORY ID dtb.
SELECTION-SCREEN : END OF LINE, SKIP.
SELECTION-SCREEN :
BEGIN OF LINE, COMMENT 6(30) v_2 FOR FIELD s_mandt. "#EC NEEDED
SELECT-OPTIONS s_mandt FOR g_mandt DEFAULT sy-mandt
MATCHCODE OBJECT ddsef4clnt.
SELECTION-SCREEN : END OF LINE, SKIP.
SELECTION-SCREEN :
SKIP , BEGIN OF LINE, COMMENT 6(33) v_3 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(3) TYPE n DEFAULT '200' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN.
PERFORM f_check_table.
INITIALIZATION.
v_1 = 'Table'.
v_2 = 'Client'.
v_3 = 'Maximum of records'.
START-OF-SELECTION.
PERFORM f_display_data.
Form F_DISPLAY_DATA
FORM f_display_data.
TYPE-POOLS: slis. " ALV Global Types
DATA:
lp_table TYPE REF TO data, " Pointer to dynamic table
ls_layout TYPE slis_layout_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv.
FIELD-SYMBOLS :
<lt_data> TYPE STANDARD TABLE. " Data to display
Create internal table
CREATE DATA lp_table TYPE STANDARD TABLE OF (p_table)
WITH NON-UNIQUE DEFAULT KEY.
ASSIGN lp_table->* TO <lt_data>.
Field MANDT exists ?
SELECT SINGLE tabname
INTO p_table
FROM dd03l
WHERE tabname = p_table
AND fieldname = 'MANDT'
AND as4local = 'A'
AND as4vers = '0000'
AND position = '0001'
AND rollname = 'MANDT'.
IF sy-subrc EQ 0.
Read data
SELECT * UP TO p_max ROWS
FROM (p_table) CLIENT SPECIFIED
INTO CORRESPONDING FIELDS OF TABLE <lt_data>
WHERE mandt IN s_mandt
ORDER BY PRIMARY KEY.
ELSE.
Field CLIENT exists ?
SELECT SINGLE tabname
INTO p_table
FROM dd03l
WHERE tabname = p_table
AND fieldname = 'CLIENT'
AND as4local = 'A'
AND as4vers = '0000'
AND position = '0001'
AND rollname = 'MANDT'.
IF sy-subrc EQ 0.
Read data
SELECT * UP TO p_max ROWS
FROM (p_table) CLIENT SPECIFIED
INTO CORRESPONDING FIELDS OF TABLE <lt_data>
WHERE client IN s_mandt
ORDER BY PRIMARY KEY.
ELSE.
Read data
SELECT * UP TO p_max ROWS
FROM (p_table)
INTO CORRESPONDING FIELDS OF TABLE <lt_data>
ORDER BY PRIMARY KEY.
ENDIF.
ENDIF.
IF <lt_data>[] IS INITIAL.
No table entries found for specified key
MESSAGE i429(mo).
EXIT.
ENDIF.
Build Field catalog
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = p_table
i_client_never_display = ''
CHANGING
ct_fieldcat = lt_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ls_layout-zebra = 'X'.
ls_layout-colwidth_optimize = 'X'.
Display ALV List
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = ls_layout
it_fieldcat = lt_fieldcat
TABLES
t_outtab = <lt_data>.
ENDFORM. " F_DISPLAY_DATA
Form F_CHECK_TABLE
FORM f_check_table.
DATA :
l_tabclass TYPE tabclass, " Table category
l_viewclass TYPE viewclass. " View Type
Read table category
SELECT SINGLE tabclass viewclass
INTO (l_tabclass, l_viewclass)
FROM dd02l
WHERE tabname = p_table
AND as4local = 'A'
AND as4vers = '0000'.
IF sy-subrc NE 0.
Table & is not active in the Dictionary
MESSAGE e402(mo) WITH p_table.
ELSEIF l_tabclass = 'INTTAB'.
& is a structure, not a table
MESSAGE e403(mo) WITH p_table.
ELSEIF l_tabclass = 'VIEW' AND l_viewclass NE 'D'.
Only use views of type "Maintenance view"
MESSAGE e309(sv).
ENDIF.
ENDFORM. " F_CHECK_TABLE
with regards,
madhavi. -
Help regarding attaching smartform to a report program for QM module
Hii,
I have developed a certifiacate of analysis smartform for QM module and i attached it to a output type ...but i need to attach this smartform to a standard report RQCAAP01. can anyone help me what customizations i should do in report program in order to attach smartform.
Regards,
Venkat Akella.I attached smartform in NACE to LQCB output type but i should also make changes in report program RQCAAP01..can u please let me know what customizations i should do in tht report program to attach the smartform..
-
DRiver program for Purchase order smartform
Hi,
I am trying to use "smartform" for purchase order printout.
But not getting any driver program to attach in NACE for this output type(NEU). Is there at all any standard SAP delivered program for this purpose ?
If Yes, then what is it ?
Thanks for your response..
TSHI,
Try this ..
goto the program RS_ABAP_SOURCE_SCAN
in the selection screen give the form name in the search string it will display the all driver programs .
let me know any help.... -
How to find out report program for a particular smartform?
Hi,
How to find out report program from which the smart form function module is calling?
Thanks.Hi
There's no tools to do that, u can only find out the program where a string with the name of your smartform is: probably it'll be your program.
U can try to use the program RPR_ABAP_SOURCE_SCAN in order to looking for a string a abap program.
But if the name of smartform is transfer to program dinamycally, u've few chances.
Max -
Error in Standard Program for Purchase Order
Hello Everyone,
I am getting an ABAP Dump Error while Displaying & Printing Purchase Order using TCODE : ME9F & ME23N.
We have applied new Patches.
for Logistics it is 26 & ABAP it is 58.
I am getting Error in standard INCLUDE
Program : LMEDRUCKF1K at line 64.
The Error is :- "Field "ENJPREVIEW" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement."
Declaration for "ENJPREVIEW" is also available in
include LMEDRUCKTOP. still it gives an error.
These lines of code is included by SAP note 855263.
Before applying these Patches it was working properly, but now it gives an error.
Please , Can anyone give solution for this.
Regard's
Archana.Hi Archana ,
Check is there any Inactive Versions in ur Systems ?
useful tcodes are SPAU /SPDD for tables
Regards
prabhu -
Query on Procurement and Invoice Verification for Purchase Scheme by Vendor
Dears,
This is K.Hari Hara Ganesh.
I have a query.
Scenario
Vendor commits us if the Purchasing Qty is 200 Kgs for a Material, then 10 Kgs will be given Free of Cost. If it is lesser than 200, no free.
Once received, my Stock should be updated for 210 Kgs, wheras I have to pay the Vendor for 200 Kgs.
How this scenario is handled in SAP ?
If anybody can give me Step by Step creation till Configuration, Master Maintenance, PO, GR, Invoice Verification and Payment by explanation or screen shots, it will be helpful for me.
Thanks in Advance.
Regards,
K.Hari Hara GaneshDear Nisha,
Thank you very much for the immediate response.
You have asked me to create 2 line items.
Still I have some doubts
1. Is it possible to create the same Material as 2 line items, first line with 200 Kgs and the second line with 10 Kgs for the same Material.
2. Also, my Purchase Tolerance is 2 %, which means for the PO Qty 200 Kgs, I should not accept more than 204 Kgs (200 + 4)
3. Since the 10 Kgs is the scheme given by the Vendor, my system should accept 210 Kgs, irrespective of my Purchase Toleranace.
I will be very happy, if I receive the solution for this scenario too.
Thanks in Advance.
Regards,
K.Hari Hara Ganesh -
Report needed for checking where pers. nr. is used in SAP
Hello,
I am currently searching if there is a report available which is checking where in SAP a Pers. nr. is used. e.g. partner in an open order or responsible of a costcenter or appraiser in an appraisel, open workflow document etc. This is needed to confirm that all the tasks of the emplloyee has been transferred to another employee before the leave action is made.
With kind regards,
Ronald van EeuwenHi,
There are more than 9000 programs and classes where field PERNR is used.
You have to be more specific with your question.
You can see all programs where PERNR is used by starting transaction SE11, enter data type PERNR, display and then CtrlShftF3.
Cheers
Maybe you are looking for
-
No active process levels have been found in SRM 7.0
Hi Friends, I have activated BC set /SAPSRM/C_SC_600_000_SP04 to order the SC automatically. I went to t.code SCPR20 and active, But the activation ended with Warning messages. Below is the message shows for all log.. The table &1 was nicht as
-
How to upgrade MB Pro Lion to Yosemite
Looking for some "how to" advice on upgrading software from(Late Year 2011) 15" Mac Book Pro Lion 10.7.5 to newer Yosemite OS X. I'd also like to remove all old non-working Power PC Apps and any other junk, bugs or viruses it might have. Lookin
-
hi guys pls clarify what is meant by EDI invoices how it wokrs how to load into SAP seenu...
-
How to apply group settings of UDF and UserDefinedValues to all documents ?
I have made many User Defined Fields, category group settings of UDF, and User Defined Values (Formatted search) in a marketing document. And I want to apply them to all of the marketing documents, that is Sales and Purchase documents,,, all the same
-
Today a R/3 sap system is very low in performance. We have checked on the TASK MANAGER and we have seen that it's due to a high use of CPU by SQL DATABASE. So....cause we don't have activate any strange activity on it we would like to monitor which a