PO details,Material details,IR details
Hi frds
In my report im selecting PO ,and selecting corrsponding PO details ,Material Details,GR details,IR details in single line in output.
But in my output the PO details,material details,GR details coming in first line and IR infomation coming in second line .
can any tell me how to resolve this problem and pls guide me.
Thanks
Pari
Hi,
just type report statement as REPORT ZREPNAME LINE-SIZE x
where x = output list width.
regards,
Similar Messages
-
Details of open invoices for the current year/ material price analysis
Hi,
I'm very new to SAP SD,MM modules. Can any one help me in the following of my requirements?
1. How to get the details of open invoices for the current year? Which table should I look into?
2. I have to create a report to display material price analysis. How should I do that?
3. How to develope a report to list out all the Open Sales Order with earliest ship date and requested ship date
4.How to create an interactive report for displaying plant status to know the status of a particular material
5. How to develope a report on Sales Order displaying Sales order Number, Sales order date, Material, PO Date and Customer requested date
Thanks in advance!!
Uma.
Message was edited by:
Uma RaviHi Ravi,
for 3, 4, 5 --> u can go through the code ...
REPORT ZEX2 MESSAGE-ID arc NO STANDARD PAGE HEADING.
Tables :kna1,vbak.
SELECT-OPTIONS : so_vkorg FOR vbak-vkorg OBLIGATORY,
so_vtweg FOR vbak-vtweg OBLIGATORY,
so_spart FOR vbak-spart,
so_kunnr FOR kna1-kunnr.
DATA : BEGIN OF sales_open OCCURS 0 ,
vbeln LIKE vbak-vbeln,
auart LIKE vbak-auart,
kunnr LIKE kna1-kunnr,
bstnk LIKE vbak-bstnk,
lfstk LIKE vbuk-lfstk,
fkstk LIKE vbuk-fkstk,
gbstk LIKE vbuk-gbstk,
END OF sales_open.
DATA : BEGIN OF itm_sales OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
matnr LIKE vbap-matnr,
kwmeng like vbap-kwmeng,
lfsta LIKE vbup-lfsta,
lfgsa LIKE vbup-lfgsa,
fksta LIKE vbup-fksta,
fksaa LIKE vbup-fksaa,
gbsta LIKE vbup-gbsta,
END OF itm_sales.
DATA : l_kunnr LIKE kna1-kunnr,
l_vkorg LIKE vbak-vkorg,
l_vtweg LIKE vbak-vtweg,
l_spart LIKE vbak-spart.
DATA: v_statusl(20) TYPE c,
v_statusb(20) TYPE c,
v_statusf(20) TYPE c,
v_statusg(20) TYPE c,
v_status(20) TYPE c,
v_field(1) TYPE c.
data : v_openqty like vbap-kwmeng.
**Selection Screen Validations.
AT SELECTION-SCREEN.
PERFORM validations.
*& Form Validations
* text
* --> p1 text
* <-- p2 text
FORM validations.
**Customer
IF NOT so_kunnr[] IS INITIAL.
SELECT SINGLE kunnr INTO l_kunnr
FROM kna1
WHERE kunnr IN so_kunnr.
IF sy-subrc NE 0.
MESSAGE e002 WITH text-005.
ENDIF.
ENDIF.
**Sales Organization
IF NOT so_vkorg[] IS INITIAL.
SELECT SINGLE vkorg INTO l_vkorg
FROM tvko
WHERE vkorg IN so_vkorg.
IF sy-subrc NE 0.
MESSAGE e003 WITH text-006.
ENDIF.
ENDIF.
**Distribution Channel
IF NOT so_vtweg[] IS INITIAL.
SELECT SINGLE vtweg INTO l_vtweg
FROM tvkov
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg.
IF sy-subrc NE 0.
MESSAGE e004 WITH text-007.
ENDIF.
ENDIF.
**Division
IF NOT so_spart[] IS INITIAL.
SELECT SINGLE spart INTO l_spart
FROM tvta
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg
AND spart IN so_spart.
IF sy-subrc NE 0.
MESSAGE e005 WITH text-008.
ENDIF.
ENDIF.
ENDFORM. " Validations
Top-of-page.
PERFORM sales_top_of_page.
Start-of-selection.
PERFORM sales_sel.
*& Form sales_sel
* text
* --> p1 text
* <-- p2 text
FORM sales_sel.
SELECT vbeln auart kunnr bstnk
lfstk fkstk gbstk
INTO TABLE sales_open
FROM vbakuk
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg
AND spart IN so_spart
AND kunnr IN so_kunnr
AND gbstk NE 'C'.
LOOP AT sales_open.
WRITE:/4 sy-vline,
5 sales_open-vbeln HOTSPOT ON COLOR 2 INTENSIFIED OFF,
16 sy-vline,
17 sales_open-auart COLOR 2 INTENSIFIED OFF,
27 sy-vline,
28 sales_open-kunnr COLOR 2 INTENSIFIED OFF,
40 sy-vline,
41 sales_open-bstnk COLOR 2 INTENSIFIED OFF,
55 sy-vline,
56 sales_open-lfstk,
76 sy-vline,
77 sales_open-fkstk,
96 sy-vline,
97 sales_open-gbstk ,
117 sy-vline.
HIDE sales_open-vbeln .
ENDLOOP.
ENDFORM. " sales_sel
*& Form sales_top_of_page
* text
* --> p1 text
* <-- p2 text
FORM sales_top_of_page.
WRITE:/4 sy-uline(114),
50 'OPEN SALES ORDERS' COLOR 7 INTENSIFIED ON .
WRITE: /4 sy-vline,
5 'SalesOrder' COLOR 1 ,
16 sy-vline,
17 'OrderType' COLOR 1,
27 sy-vline,
28 'Customer' COLOR 1,
40 sy-vline,
41 'PoNumber' COLOR 1,
55 sy-vline,
56 'Delivery Status' COLOR 1,
76 sy-vline,
77 'Billing Status' COLOR 1,
96 sy-vline,
97 'Processing Status' COLOR 1,
117 sy-vline .
WRITE:/4 sy-uline(114).
ENDFORM. " sales_top_of_page
AT LINE-SELECTION.
SELECT a~vbeln
a~posnr
a~matnr
a~kwmeng
b~lfsta
b~lfgsa
b~fksta
b~fksaa
b~gbsta
INTO TABLE itm_sales
FROM vbap AS a JOIN vbup AS b
ON a~vbeln EQ b~vbeln
AND a~posnr EQ b~posnr
AND b~gbsta NE 'C'
WHERE a~vbeln EQ sales_open-vbeln.
IF NOT sales_open IS INITIAL.
LOOP AT itm_sales.
at end of vbeln .
sum.
v_openqty = itm_sales-kwmeng.
endat.
WRITE:/5 itm_sales-vbeln,
itm_sales-posnr,
itm_sales-matnr,
itm_sales-kwmeng,
itm_sales-lfsta,
itm_sales-lfgsa,
itm_sales-fksta,
itm_sales-fksaa,
itm_sales-gbsta.
ENDLOOP.
ENDIF.
skip 2.
write:/ 'open Quantity for the order is ', v_openqty .
for 1.
open invoices..
SELECT vbeln
fkart
kunag
gbstk
INTO TABLE it_billing_h
FROM vbrkuk
WHERE vkorg IN so_vkorg
AND vtweg IN so_vtweg
* AND spart IN so_spart
AND kunag IN so_kunnr
and year in p_year ---->"parameter for year..
AND gbstk NE 'C'. "----> open invoices
for 2..
2. refer TABLES mara, EINA ..
regards,
VIjay -
Inventory report with the last transaction details of each material
Hi,
is there any standard inventory report in SAP which gives us the last transaction details of each
Material,along with last procurement qty, value, date and last issue
details of Qty, Value & date.
Thansk in advance.Hi
try following t-code
MB5B u2013 Stock on Posting Date
or
2 s_p00_07000139 u2013 Stock Card and Inventory Material Report
Regards
Kailas Ugale -
Report to Check material attach in CJR2 (detail planning)
Hi All,
Is there any report to show which material that i already input in CJr2 (detail planning)
Step 1. CjR2
2. choose layout 1-701 CE planning
3. Input WBS and CE
4. Go to edit and detail planning
5. Input material no dan plant , quantity, when it save it goes to the total value. But i could not find report to show material that was assigned.
Plz advice.
Cheers,
NiesHi Sreenivas,
I go to CJR2
Then I put WBS element : let say ABCD
Cost element : 630600
Then I select august and go to Edit - detail planning
I choose item category M and put material number and qty
then save it and post
After that i try to use standard report S_ALR_87013532 ..its only show the plan cost.
I wish there is standard report to check which material has been assigned in the WBS and CE.
Cheers,
Nies -
MIGO for Excisable material without entering Excise details in MIGO
Hi Gurus,
My Client purchases one material on which he is paying excise duties such as BED, E Cess etc. But actually he receives tax invoice some times after few days of receiving goods from vendor. At the time of receiving goods , client get only a note from vendor stating only quantity and no taxes are mentioned on it. How to do this Goods receipt. After that vendor supplies tax invoice,and we need to enter tax/ excise invoice number details .currently system is not permitting me to do MIGO without entering excise invoice number and date. How to do this. Please tell me.
2. my another Question is what is the flow for purchasing or Raw and Capital goods incluidind excisable material.Hello,
You can do Goods receipt and excise caturing/posting in different trasnactions.
1. First you do goods recepit and on excise tab you just select Only part 1 entry for materials which are excisable ( PO with excise duty )and for materials which are not excisable (PO with out excise duty ) you can select no excise.
2. For PO with excise duty - you can capture and post the excise in J1IEX transaction.
Regards,
Shailesh -
Dear Experts,
I have a requirement for making material description as non mandetory in change request view of mdg material screen.
I have done that using field usage in get data method of feeder classes, but still message is displaying.
This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
How to prevent error message for material description in MDG material detail screen, when user click on check action.
Thanks
SukumarHello Sukumar
In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
Regards, Ingo Bruß -
Display the material details in alv grid based on material(in mara)
hi,
display the material details when get input of material from user in mara table using alv-grid display.
give some examples.
Thanks of advance.Hi
For your help i am just giving you few hints.
1. Create a selection screen.
2. Select matnr from mara into an internal table.
3. use fm Reuse_Alv_grid_display to display your entries from the internal table
Please read about all of this step by step in the forum. -
BAPI /FM for getting Transfer Order details based on Material Doc No.
Is there any FM or BAPI with which I would be able to get directly Transfer Order details, status etc based on Material Doc No without going into the tables?
Thanks for your help
UshaYes, you can use BAPI_WHSE_TO_GET_DETAIL.
You can find bapis using transaction BAPI and following functionnal nodes.
Regards,
Christophe
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 30, 2008 11:37 AM -
How to get Material details based on 0material in 0figl_o02 DSO
Hi
In Financial Accounting we have DSO for General Ledger: Line items (0FIGL_o02) It contains Material no. for each transaction record but other material details like Qty used and price for that material and other related details are not present and also not in the Datasource 0fi_gl_4. Pls let me know the logic so that using the Material no. I can get the related details of material from any other infoprovider in BI.
ThanksHi Puneetb,
If you want data directly from the 0material infoObject in BW you can do 2 things:
1. Edit the updaterule to your destination cube and determine the values in an ABAP routine
2. Change the attributes to navigational in both infoObject and cube so you can use them in queries (in this scenario you allways display the current attribute values instead of the values when loading the data.
Is this what you were looking for?
Kind regard,
Alex -
Hi,
As we know, we can use plant, purchasing organization, purchasing group as authorization object to carry out authorization check when creating purchasing info record in ME11.
But now my customer wants to set authorization in more detail, for example, use material group and some certain fields in vendor master.
It seems standard authorization setting for ME11 cannot do this.
Is there any method to meet the need? or some enhancements or BADi?
Thanks
WesleyHi, Akhileshwar
Thanks for your information. I have thought of creating authorization object values, but the problem is where to let SAP carry out the authorization check to the new object in ME11/ME12.
So I think maybe some enhancements can let us write authority check code to do it.
But I am not sure which enhancement or user exit can be used to write this code.
Wesley -
Stock details of a material with batch details
Hi.
I am developing a PP report for which i require the available material (un restricted stock) details and their batch details which are being displayed in MMBE (tcode). Is there any function module or BAPI or else what is the table name for finding this. Please help me for this for which i ll be very gr8 ful.
Thanks.
AshokHi Ashok,
Check these tables MARDMSEGMKPF.
Try this FM's also,
MB_READ_MATERIAL_STOCKS
MD_STOCK_REQUIREMENTS_LIST_API
Check this link.
https://forums.sdn.sap.com/click.jspa?searchID=3418879&messageID=291518
Thanks,
reward If Helpful. -
Material product types doesn't show in line item detail
Good morning,
We have a problem with product popup of service order in line items.
When we make a click in product ID on the service order search, a popup shows and it displays all products.
But if we go to Detail Position Id and do the same, the popup shows but Material product types doesn't show.
Regards,
Euge.-Hi Abhi,
Thank you for your advise.
Yes, OBCN has been maintained with posting indicator "2".
During the testing, when we did GR (MIGO) there is no tax calculated, will the tax calculated and show in separate line item when we do Invoicing (MIRO)?
Thank you in advance.
Regards,
Izzat -
Oracle r12.1 - Material Account Distribution Detail report not opening in Excel
Hello,
We have a requirement to open Material Account Distribution Detail Report to transfer the output to MS Excel when user clicks the "View Output" window. Below is the setup. And I have verified over and over that setup is correct. Still, for some reason, concurrent program output is dumped in XML format on the browser window! What is causing this and why? What am I missing?
My Data Definition
===========
Name INVDSTRL_XML
Code INVDSTRL_XML
Application Oracle Inventory
Start Date 27-Apr-2013
End Date
My template definition
=============
Name INVDSTRL_XML
Code INVDSTRL_XML
Application Oracle Inventory
Type RTF
Start Date 27-Apr-2013
Default File Item_error_report.rtf
End Date
Default File Language English
Subtemplate No
Default File Territory
Default Output Type EXCEL
Conc Program Def:
============
Program: INVDSTRL_XML
Short Name: INVDSTRL_XML
Application: Oracle Inventory
Executable Name: INVDSTRL_XML
Method: Java Concurrent Program
Output Format: XML
Rest are defaults
I also checked the version of BI Publisher by passing following query.
SELECT DECODE (bug_number, '4440000', '5.6.3') PATCH, bug_number FROM ad_bugs WHERE bug_number IN('4440000');
Not sure what is the issue. Why the output is not being diverted to EXCEL. Please advise. Why it dumps into XML and Not Excel? This is on r12.1.3
Thanks.
DarshHi Abdul,
Before running the report select the particular "inventory organization" and then run the report.
It seems you were directly running the report without selecting the Inv org.
Please try again.
Thanks
-Arif. -
Packed Material Details Report
Hi,
At the time of delivery we packed the material . and also at the time of delivery i have to give packed details with material and quantity wise is it possible?
and also one moth or 2 months etc.., can i get the packed details which is already delivered for all the customers with material and quantity wise
Edited by: prasanna_sap on Jun 16, 2011 11:45 AMHi.
As far as my understanding there is no standard report
Develop ZREPORT
Kapil -
Material Valuation History Details
Hi All,
I have a query on Material Valuation history table.
In the present scenario, a Material master is created in the year 1955 & lot of Material Movements has happened for this material from 1995 to till date.
But if I drill down for the history of this Materialu2019s valuation in u201CMBEWHu201D table I was able to history details only from the year 1998.
I was not able to find any history of valuation for this material between the periods 1995 u2013 1997.
What could be the possible reason for this ?
To capture the Valuation History, is there any settings which could have activated after 1997.
Regards,
Murali ManiMBEWH table came with 4.5 release .In earlier releases the history records were stored among the normal records in MBEW.
See OSS note 193554 -
Function module to get the BOM details for a material-plant combination
hi
Is there any function module to get the BOM details such as
BOM Usage -STLAN
Alternative BOM -STLAL
Items -POSNR
Required Quantity-EMENG
Resulting Quantity-MENGE
Unit of measure -BMEIN
Base unit of measure-MEINS
for a given material-plant combination
if so please suggest me some FMs.................
Awaiting for ur reply..............try the below fm it may be useful for you
DATA : BEGIN OF I_BOM OCCURS 0.
INCLUDE STRUCTURE STPOX.
DATA : END OF I_BOM.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
regards
shiba dutta
Maybe you are looking for
-
Pixma MG2520 error message when trying to scan
Every time I try to scan a picture with my Pixma MG2520 it gives me the error message "You do not have the required privileges to access the specified folder. Code:9,244,3" It was working fine when I first bought it 10 days ago and I scanned about 70
-
iPhone 4 (iOS 7.1.1) not recognized by iTunes 11.1.5 on Mac OSX Mavericks. Have tried all of the recommendations on the apple support site, I am running all current up to date versions of iTunes(11.1.5), Mac OSX(Mavericks), AND iOS 7.1.1 on my iPhone
-
Hi, I have created following table in 9.2 db create table t select * from dba_objects; insert into t select * from t; insert into t select * from t; commit; 18:24:49 SQL> create table t1 18:24:56 2 partition by range (created) 18:24:56 3 ( 18:24:56 4
-
REST API POST and GET Error--Retriving following sites news feed
i have used below code to retrive the newsfeeds but im getting 403 error.i think url formation for POST and GET is wrong.Kindly anyone worked help mee. var feedManagerEndpoint; // Get the SPAppWebUrl parameter from the query string and build // the
-
Why won't my iCloud sign in?
After I properly use my Apple I.D. and password, I get this following message.. errorcom.apple,appleaccount.error.403 So, what does this mean and why is this keeping me from using the iCloud function of my phone? And of course, how do I resolve this