Product type and customer details in project
Hi
We are developing a report on the project cost and one of the information in the output should be
Customer ..... Product type .....project defn.... Activity start date end date
My problem is to identify the product type .
The only way i know is to select superior WBSE - setllement rule - select actual settlement- profit segment- open the screen and identify the product type and customer -
All these are sitting in a structure CE00211. Not able to identify in which table i can get it.
Any kind of input is welcome/valuable
Regards
Rudresh
>
Hari Krishna Kudaravalli wrote:
> Hi Rudresh,
>
> Check in CO-PA Tables CEST4 and in CE1S001. Make sure CO-PA should be activated for your Business Scenario. You can get all required details.
>
> Hope this clears you.
>
> Br,
> Hari
Hi Hari
It worked. Thanks
Regards
Rudresh K
Similar Messages
-
To update vendor and customer details in BP transaction
I have created a donor in the BP transaction . i need to update the vendor and customer details for the reated donor.
please can someone suggest some BAPI's or FM's which are available to do the same.Hello Om,
You can get vendor/costumer number and their names in FBL3N when you get bank ledger's line item.
You must use BTE functions.
I don't your techinal skills about SAP but if you don't know ABAP or ABAP dictionary details, you can get help your ABAPer.
I will explain step by step.
First of all, if you don't use BTE before, You must create a product on FIBF.
Call FIBF transaction -> Settings -> Products -> ...of a customer
Create a new line,
Product : ZFI
Text : BTE Products for FI Exit
Product active : tick check fro activation.
Then you must call SE11 for structure RFPOS.
You must use append structure function for this structure and you can define ZFI_RFPOS append structure.
Define 4 fields.
Component : KUNNR - Component type : KUNNR
Component : NAMED - Component type : NAME1
Component : LIFNR - Component type : LINFR
Component : NAMEK - Component type : NAME1
Then save and active your RFPOS structure.
After that, you must do same step for structure RFPOSX.
Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very very important;
E_POSTAB = I_POSTAB.
Then you should add some ABAP code for getting customer & vendor details.
I give you some examples, you can use it. (next message on this thread, please check)
Then save and active FM.
Call FIBF transaction again.
FIBF -> Settings -> Process Modules -> ...of a customer
Define a new line.
Process : 00001650
Function Module : ZFI_INTERFACE_00001650
Product : ZFI
and this customizing.
Then you go to SE38 transaction.
start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
After those operations, you can see customer/vendor code and their names on FBL3N.
I hope it helps to you.
Regards,
Burak. -
How to transfer SRM PO Condition Type and Custom fields to ECC?
Hi All,
I have a scenario to transfer SRM Line item condition types and few custom fields to ECC.
I have found the following things but structure 'CI_EKPODB' does not exists in ECC.
I am using 'SRM 5.00' and 'SAP ECC 6.0'.
NOTE: I have to transfer condition records when PO is getting created / modified.
1) Earlier I was planning to use BADI 'BBP_CREATE_BE_PO_NEW' in SRM and this will transfer the data to ECC in case of PO
Creation.
It contains the Condition fields to be passed to ECC.
But i am unable to implement the same, whenever i create implementation when i click 'Activate' its getting activate then after few seconds its getting deactivate, i think this is because this BADI is not allowed for multiple use and SAP has already made one implementation on the same.
2) I need to implement BADI 'BBP_ECS_PO_OUT_BADI' in SRM and 'BBP_PO_INBOUND_BADI' in ECC.
SRM BADI will pass verified field details to ECC as a custom fields
It does not contains the Condition fields to be passed to ECC, so i was planning to pass the same as custom field(s).
ECC BADI 'BBP_PO_INBOUND_BADI' will be used to map the fields to correct place and this should work.
i need to modify the structures and pass all the custom fields (z-fields) - (CI_EKPODB but does not exists kindly suggest) as data.
Other required details:
Transfer of PO does not supported by SAP for service PO's, any suggestion on the same?
Expecting quick reply from your end.
Thanks in advance.
Regards,
HemantNaresh,
Thanks for quick response.
My concern is this BADI 'BBP_CREATE_BE_PO_NEW' will trigger only in case of creation, not when PO is changes.
I have to transfer condition types and custom fields to ECC in both the case (create / change)
If i have to do this only in case of creation then i can pass Condition types / custom fields then i can use parameter 'CS_PO1_DOCUMENT' from method 'FILL_PO_INTERFACE1'.
this parameter contains 'IT_POCOND', 'IT_POCONDX' and 'IT_EXTENSIONIN' as parameter so my problem will be solved.
But i dont think this will trigger in both the cases and 2nd thing i cann't implement the BADI since its not marked for multiple use so i am unable to implement the same.
Kindly correct me if i am wrong.
Once again thanks for your reply.
Please suggest on the same.
Regards,
Hemant -
[svn] 1455: add sql date types and custom serialization tests
Revision: 1455
Author: [email protected]
Date: 2008-04-29 11:56:59 -0700 (Tue, 29 Apr 2008)
Log Message:
add sql date types and custom serialization tests
Modified Paths:
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/DateTy pesTest.mxml
Added Paths:
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/MyFile Ref.as
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/Proper tyProxyTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTypes/SQLDat eTypesTest.mxmlCongrats to Shanky and Durval!
SQL Server General and Database Engine Technical Guru - June 2014
Shanky
SQL Server: What does Column Compressed Page Count Value Signify
in DMV Sys.dm_db_index_physical_stats ?
DB: "Interesting and detailed"
DRC: "• This is a good article and provides details of each and every step and the output with explanation. Very well formed and great information. • We can modify the create table query with “DEFAULT VALUES". CREATE TABLE [dbo].[INDEXCOMPRESSION](
[C1] [int] IDENTITY(1,1) NOT NULL, [C2] [char](50) NULL DEFAULT 'DEFAULT TEST DATA' ) ON [PRIMARY]"
GO: "Very informative and well formed article as Said says.. Thanks for that great ressource. "
Durval Ramos
How to get row counts for all Tables
GO: "As usual Durva has one of the best articles about SQL Server General and Database Engine articles! Thanks, buddy!" "
Jinchun Chen: "Another great tip!"
PT: "Nice tip"
Ed Price: "Good topic, formatting, and use of images. This would be far better if the examples didn't require the black bars in the images. So it would be better to scrub the data before taking the screenshots. Still a good article. Thank you!"
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Product description and Customer ship description to should be visible in R
Currently we are able to see the Customer ship to number and Product number in SNC Responsive Replenishment (RR) screen. We want to have Customer Ship description and Product description in addition to Customer ship to number and Product number to be displayed on Responsive replenishment screen.
Current display of RR screen in SNC:
In this we can see the 7529000 and 23100.
The Product description and Customer ship description to should be visible in RR screen.
Product 7329000: Brass coil
Customer ship to 23100: Evershine companyHi Vaibhav
we have faced similar problem in case of SNI monitors where SNC does not provide the product or location description and our users used to remember those things by their description. Std. SNC does not provides descriptions on SNI monitor and I think its the same case with RR monitors also.
SAP suggest us that time is that they will try to include this thing in next releases. Other option remains for use is to go for the customization.
Hope this will help you.
Thanks
Pravin -
Link Between Sales Order Type and Customer/Material Exclusion
Hi,
Any one know the Link Between Sales Order Type and Customer/Material exclusion tables (Transaction: VB03 ) ?Hello,
For Tcode VB03 you can check KOTG001 for Customer/Material.
Thanks &Regards,
Abhijit -
Need Table related to Material product type and warranty product type
Hi all,
Can we get the table where for a given material product type, we can get related warranty product type.
Requirement is , we have to link the warranty products to related material product.We need to create a seperate table for material(with ibase) and its related some warranty products.
Suggest me what are the possibilities and process for doing in best way.
Thanks in advance,
B kumar.
Message was edited by:
b kumarPlease share how this is implemented.
-
Hi All,
How can i get Type and Owner description from Detail anlysis in DB02 Scree?
I need to get the Type and owner Description or short text .
Is there any SAP Function module or table that will give these details .Please let me know any time in the next few months.
Edited by: Rob Burbank on Jun 6, 2009 12:50 PMyes
-
TPM12 Report not shwoing Product Type and Product Type Text
Hi ,
After we went live with a upgrade the report TPM12 which is run by the Treasury department every day, is now showing the blank values for "Product Type", "Product Type Text", "Transaction Type", and "Transaction Type Text".
Which was not the case earlier.
Any adivce please.
Thanks,
VenkatGood day
We have a similar issue.
In our system the line item type for the CW product was IDCW. When we however split them by batch into two sub-lines, the new lines defaulted to IDLV (instead of the expected IDCW).
So I think Alexander's diagnosis is spot on?
My question though... What logic does EWM use to derive the item type for the sub-lines? Because surely it should be the same as the 'parent' line item (IDCW in the case) ?
Please advise
Callie -
How to find the Installation Type and License Details.
Hi,
If we have an already installed oracle system on AIX ,how come we find whether the installation type is Standard or Enterprise ?,also where we can find the licensing details,ie number of user license?
Regards,
SamHello,
Here is the difference:
<<Enterprise Edition>>
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 27 10:00:49 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
DBMS_STANDARD.DATABASE_NAME()
ORCL
<< Standard Edition>>
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 27 10:00:44 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Release 10.2.0.1.0 - Production
DBMS_STANDARD.DATABASE_NAME()
SRI
-Sri -
T61 System Update changes Product Type and Product ID
Hi
My Notebook T61 has the following numbers
Type 6464-CTO XXXXXX 08/87
Product ID: 6464-V52
I try to make system update but System update shows instead of 6464-CTO Product ID V52 is this a mistake?
Now I want to make Bios update, there I can change it from V52 to CTO should I ?
Moderator Note: Serial number removed to prevent misuse.
Solved!
Go to Solution.There are othere small Problems like battry is everytime 99% and sundly emty, and my notebook gets off. I would like to send it to Lenovo but I bought my Notebook in UK live here in Germany. Must I send my Notebook to UK? or where ?
I had T42, X31 and nere had such problems therefor I don't how and where to send my Notebook. -
APO product allocation and customer hierarchy groups
Hi,
we have customer hierarchy groups. In the future we want to use product allocation in APO.
The values of the customer hierarchy groups will be changed often.
How can we map the customer hierarchy group to a product allocation group?
Thanks,
MichaelHi Michael,
Not sure it is the only way but you can try the following,
1. maintain the field catalogue and the product allocation group in APO
SPRO
Advanced Planning and Optimization
> Global Available-to-Promise (Global ATP)
> Product Allocation
2. Maintain the planning area accordingly
(+ the connection to the PA - still in SPRO...)
Now start the real thing:
3. pass the customer hierachy to the sales order in R/3
You can use exit: MV45AFZZ u2013 form USEREXIT_MOVE_FIELD_TO_VBAK
4. Pass the information to APO
A new exit: FV45VFZY form USEREXIT_CATALOG_VALU - Adding to the APO field Catalogue
Now you mentioned frequent hierarchy changes... that I don't know how to handle. When you change the hierarchy how do you want the consumption to happen? I guess the new sales order should consume the new hierarchy, but what about the old assignment?
If somebody know ho the system handle that, that would be great!
Thanks and Regards
Julien -
Custom step types and custom step data.
Hello.
I have a good understanding of how TestStand allows custom step types to allow users to store custom data.
I have also read numerous posts about users asking for the ability to store some custom data associated with steps.
In my scenario I am required to write a sequence using a few third party supplied step types.
To assist in developing and debugging this sequence, we would like to store a container of custom data with each steps.
Option 1: Create custom step types.
This is really not an option, relying on third party step types. Any customization made to their step types will magically disappear, along with any custom data, the next time I install one of them service packs.
You may argue that I just have to ensure all custom fields are recreated before opening a sequence file. This works in my office when everyone is at edge with this, but in a few months someone will "take responsibility"
and upgrade the 3rd party packs without reading the entire upgrade procedure.
Option 2: Create links in Sequence Locals
This does work, but is not very associative. To work, the name of the Locals entry would need to be the unique ID of the step it refers to.
Also, it requires some more maintenance to insert new steps, and to remove stale references.
I really hope that someone in TestStand R&D reads this, and enables users to store step custom data, for example by adding a "CustomData" container to the TS property of the step.
Regards,
Ivar S.Ray:
Thanks for answering.
I am aware that I can extend a custom step type by creating a new step type based on the first type.
For example, I have this 3rd party JtagExecuteTest step type, supplied by another solution vendor.
In my sequence, I want a custom error & failure handler, that needs information about each step as they fail.
For handling and logging purposes, I need each step in my sequence to carry information in addition to the setup required by JtagExecuteTest.
So I set forth, and modify the step type JtagExecuteTest step, along with some other 10-15 step types that the other solution vendor has put in their package.
This works like a charm until I have to reinstall or upgrade the package.
Because I modified the steps using their original name, all data I put into the steps are lost.
Next attempt, I follow your advice and create MyJtagExecuteTest step, based on the original steps. Again, I repeat this customization for 10-15 step types.
This works like a charm until I have to upgrade the package.
Now some wise guy at the other solution vendor has renamed a DLL or a function call, breaking down every step that I have customized.
Mush better, though, because I can repeat the customization process and the data does not disappear.
Still, this is just too much hassle just to put TestStand to some decent use.
If I could just click on a step, add my custom properties, and have TestStand retain those data as a user customization that particular step instance.
Much like you have Sequence.Locals, it would be extremely useful to have a Step.Locals container for the users to use at will.
Regards,
Ivar Svendsen. -
Zreport for vendor customer details.
Hi ,
I have to create a report tto display a vendor and customer details. on screen i have customer code and vendor code with company code and fiscal year. when i select the cust. code plant and year it will show the doc.no ,post. and doc. date,doc type ,qty and amount as per customer details.
after that as per billing doc. of specific customer ,select excise invoice number and match it with reference number (xblnr) of vendor code. and once it is matched select tht vendor doc.no. post. and doc. date amount and qty and display it in report.so how to right a coding for thesame
let me know as its urgent.
Rgrs
Suchitaplease find below coding for your reference.
*& Report ZFI_VEND_CUST_DETAILS
REPORT ZFI_VEND_CUST_DETAILS
NO STANDARD PAGE HEADING
LINE-COUNT 65
MESSAGE-ID 00.
TABLES: BSID,BSIK.
DATA: IT_BSID LIKE BSID OCCURS 0 WITH HEADER LINE.
DATA: IT_BSIK LIKE BSIK OCCURS 0 WITH HEADER LINE.
DATA: IT_J_1IEXCHDR LIKE J_1IEXCHDR OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF IT_OUT OCCURS 0,
BELNR LIKE BSID-BELNR, " added On 17.04.2007
BLDAT LIKE BSID-BLDAT,
BUDAT LIKE BSID-BUDAT,
BLART LIKE BSID-BLART,
NAME LIKE KNA1-NAME1, "Name 1
MATNR LIKE VBRP-MATNR, "Material Number
ARKTX LIKE VBRP-ARKTX, "Material description
FKIMG LIKE VBRP-FKIMG, "Quantity mentioned in the excise invoice
VBELN LIKE BSID-VBELN, "Billing Document
BUKRS LIKE BSID-BUKRS,
NAME1 LIKE LFA1-NAME1,
KUNNR LIKE BSID-KUNNR,
WRBTR LIKE BSID-WRBTR,
DMBTR LIKE BSID-DMBTR,
ZUONR LIKE BSID-ZUONR,
XBLNR LIKE BSID-XBLNR,
MENGE LIKE VBRP-MENGE,
LIFNR LIKE BSIK-LIFNR, "VENDOR CODE
EXNUM LIKE J_1IEXCHDR-EXNUM,
BELNR1 LIKE BSIK-BELNR, " added On 17.04.2007
BLDAT1 LIKE BSIK-BLDAT,
BUDAT1 LIKE BSIK-BUDAT,
BLART LIKE BSID-BLART,
NAME LIKE KNA1-NAME1, "Name 1
MATNR LIKE VBRP-MATNR, "Material Number
ARKTX LIKE VBRP-ARKTX, "Material description
FKIMG1 LIKE VBRP-FKIMG, "Quantity mentioned in the excise invoice
VBELN LIKE BSID-VBELN, "Billing Document
BUKRS LIKE BSID-BUKRS,
NAME1 LIKE LFA1-NAME1,
KUNNR LIKE BSID-KUNNR,
WRBTR LIKE BSID-WRBTR,
DMBTR1 LIKE BSIK-DMBTR,
ZUONR LIKE BSID-ZUONR,
XBLNR LIKE BSIK-XBLNR,
MENGE LIKE VBRP-MENGE,
LIFNR LIKE BSIK-LIFNR,
END OF IT_OUT.
*DATA: IT_OUT1 LIKE IT_OUT OCCURS 0 WITH HEADER LINE.
*ALV VARIABLES AND INTERNAL TABLES
TYPE-POOLS: SLIS.
DATA: IS_LAYOUT TYPE SLIS_LAYOUT_ALV,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
IT_LISTHEADER TYPE SLIS_T_LISTHEADER,
IT_EVENTS TYPE SLIS_T_EVENT,
IT_PRINT TYPE SLIS_PRINT_ALV OCCURS 1 WITH HEADER LINE.
*SELECTION SCREEN DEFINITIONS
SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : SO_KUNNR FOR BSID-KUNNR,
SO_LIFNR FOR BSIK-LIFNR,
SO_BLART FOR BSID-BLART.
PARAMETER : P_BUKRS LIKE BSID-BUKRS OBLIGATORY,
P_GJAHR LIKE BSID-GJAHR OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B.
*START-OF-SELECTION
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM DISPLAY_DATA.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
form GET_DATA .
SELECT * FROM BSID
INTO TABLE IT_BSID
WHERE KUNNR IN SO_KUNNR AND
BUKRS = P_BUKRS AND
GJAHR = P_GJAHR.
LOOP AT IT_BSID.
IT_OUT-BELNR = IT_BSID-BELNR.
IT_OUT-BUKRS = IT_BSID-BUKRS.
IT_OUT-KUNNR = IT_BSID-KUNNR.
IT_OUT-ZUONR = IT_BSID-ZUONR.
IT_OUT-DMBTR = IT_BSID-DMBTR.
IT_OUT-VBELN = IT_BSID-VBELN.
IT_OUT-XBLNR = IT_BSID-XBLNR.
IT_OUT-BLART = IT_BSID-BLART.
IT_OUT-BUDAT = IT_BSID-BUDAT.
IT_OUT-BLDAT = IT_BSID-BLDAT.
APPEND IT_OUT.
ENDLOOP.
*SELECT * FROM J_1IEXCHDR
*INTO IT_J_1IEXCHDR
*WHERE RDOC = IT_OUT-VBELN.
*LOOP AT IT_J_1IEXCHDR.
IT_OUT-EXNUM = IT_J_1IEXCHDR-EXNUM.
**ENDLOOP.
*SELECT * FROM BSIK
*INTO TABLE IT_BSIK
*WHERE XBLNR = IT_OUT-EXNUM AND
*LIFNR IN SO_LIFNR AND
*BUKRS = P_BUKRS AND
*GJAHR = P_GJAHR.
*LOOP AT IT_BSIK.
*IT_OUT-BELNR1 = IT_BSIK-BELNR.
**IT_OUT-BUKRS = IT_BSIK-BUKRS.
*IT_OUT-LIFNR = IT_BSIK-LIFNR.
**IT_OUT-ZUONR = IT_BSIK-ZUONR.
*IT_OUT-DMBTR1 = IT_BSIK-DMBTR.
*IT_OUT-XBLNR = IT_BSIK-XBLNR.
**IT_OUT-BLART = IT_BSIK-BLART.
*IT_OUT-BUDAT1 = IT_BSIK-BUDAT.
*IT_OUT-BLDAT1 = IT_BSIK-BLDAT.
*APPEND IT_OUT.
*ENDLOOP.
*ENDLOOP.
*ENDSELECT.
*SORT IT_OUT BY KUNNR.
LOOP AT IT_OUT.
SELECT SINGLE EXNUM FROM J_1IEXCHDR
INTO IT_OUT-EXNUM
WHERE RDOC = IT_OUT-VBELN.
SELECT BELNR LIFNR DMBTR XBLNR BUDAT BLDAT
FROM BSIK INTO (IT_OUT-BELNR1,IT_OUT-LIFNR,IT_OUT-DMBTR1,IT_OUT-XBLNR,IT_OUT-BUDAT1,IT_OUT-BLDAT1)
WHERE XBLNR = IT_OUT-EXNUM.
ENDSELECT.
SELECT SINGLE NAME1 "NAME OF CUSTOMER
FROM KNA1
INTO IT_OUT-NAME
WHERE KUNNR = IT_OUT-KUNNR.
SELECT SINGLE NAME1 "NAME OF VENDOR
FROM LFA1
INTO IT_OUT-NAME1
WHERE LIFNR = IT_OUT-LIFNR.
SELECT MATNR ARKTX FKIMG
FROM VBRP
INTO (IT_OUT-MATNR,IT_OUT-ARKTX,IT_OUT-FKIMG)
WHERE VBELN = IT_OUT-VBELN AND
WERKS = P_BUKRS.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = IT_OUT-MATNR
IMPORTING
OUTPUT = IT_OUT-MATNR.
MODIFY IT_OUT.
CLEAR IT_OUT.
ENDSELECT.
ENDLOOP.
endform. " GET_DATA
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
form DISPLAY_DATA .
PERFORM FILL_LAYOUT_STRUCTURE.
PERFORM ALV_HEADER USING IT_LISTHEADER.
PERFORM FILL_FIELDCAT USING :
'BLDAT' 'DOC Date' 10 'IT_OUT' SPACE SPACE,
'BUDAT' 'Post.Date' 10 'IT_OUT' SPACE SPACE,
'KUNNR' 'Customer Code' 10 'IT_OUT' SPACE SPACE,
'NAME' 'Customer Name' 35 'IT_OUT' SPACE SPACE,
'LIFNR' 'VENDOR CODE' 10 'IT_OUT' SPACE SPACE,
'NAME1' 'VENDOR DESC' 35 'IT_OUT' SPACE SPACE,
'BLART' 'Doc. Type' 2 'IT_OUT' SPACE SPACE,
'VBELN' 'BILLING DOC NO.' 10 'IT_OUT' SPACE SPACE,
'BELNR' 'Account Doc. No.' 10 'IT_OUT' SPACE SPACE,
'DMBTR' 'AMOUNT IN LOCAL' 13 'IT_OUT' SPACE SPACE,
'MATNR' 'Material Code' 10 'IT_OUT' SPACE SPACE,
'ARKTX' 'Material DESC' 35 'IT_OUT' SPACE SPACE,
'FKIMG' 'QTY' 12 'IT_OUT' SPACE SPACE,
'ZUONR' 'ASSIGNNMENT' 18 'IT_OUT' SPACE SPACE,
'EXNUM' 'Excise inv no.' 13 'IT_OUT' SPACE SPACE,
'BELNR1' 'Account Doc. No.' 10 'IT_OUT' SPACE SPACE,
'BLDAT1' 'DOC Date' 10 'IT_OUT' SPACE SPACE,
'BUDAT1' 'Post.Date' 10 'IT_OUT' SPACE SPACE,
'DMBTR1' 'AMOUNT IN LOCAL' 13 'IT_OUT' SPACE SPACE,
'XBLNR' 'REFERENCE DOC' 10 'IT_OUT' SPACE SPACE.
PERFORM ALV_EVENTS USING IT_EVENTS.
PERFORM ALV_PRINT.
PERFORM ALV_DISPLAY.
endform. " DISPLAY_DATA
*& Form FILL_LAYOUT_STRUCTURE
text
--> p1 text
<-- p2 text
form FILL_LAYOUT_STRUCTURE .
DATA: WA_EVENT TYPE SLIS_ALV_EVENT,
WA_LISTHEADER TYPE SLIS_T_LISTHEADER.
CLEAR IS_LAYOUT.
IS_LAYOUT-ZEBRA = 'X'.
is_layout-F2CODE = '&ETA'.
is_layout-detail_popup = 'X'.
IS_LAYOUT-INFO_FIELDNAME = 'COL_LINE'.
endform. " FILL_LAYOUT_STRUCTURE
*& Form FILL_FIELDCAT
text
-->P_0606 text
-->P_0607 text
-->P_10 text
-->P_0609 text
-->P_SPACE text
-->P_SPACE text
form FILL_FIELDCAT using F D O T TO P.
DATA WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
STATICS POS LIKE SY-INDEX VALUE 1.
POS = POS + 1.
CLEAR WA_FIELDCAT.
MOVE : 1 TO WA_FIELDCAT-ROW_POS,
POS TO WA_FIELDCAT-COL_POS,
F TO WA_FIELDCAT-FIELDNAME,
D TO WA_FIELDCAT-SELTEXT_L,
O TO WA_FIELDCAT-OUTPUTLEN,
T TO WA_FIELDCAT-TABNAME,
TO TO WA_FIELDCAT-DO_SUM,
P TO WA_FIELDCAT-FIX_COLUMN.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
endform. " FILL_FIELDCAT
FORM ALV_EVENTS USING EVENTS TYPE SLIS_T_EVENT.
DATA : WA_EVENTS TYPE SLIS_ALV_EVENT.
CLEAR WA_EVENTS.
WA_EVENTS-NAME = 'TOP_OF_PAGE'(001).
WA_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND WA_EVENTS TO IT_EVENTS.
ENDFORM. "alv_events
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
form ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'CALL_TCODE'
I_CALLBACK_TOP_OF_PAGE = '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 = IS_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = i_sort[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT =
IT_EVENTS = IT_EVENTS
IT_EVENT_EXIT =
IS_PRINT = IT_PRINT
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_OUT
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. " ALV_DISPLAY
*FORM FOR TOP OF PAGE
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER.
ENDFORM. "top_of_page
*& Form alv_header
FORM alv_header USING P_IT_LISTHEADER.
data : wa_listheader type slis_listheader.
data : v_date1(10).
data : v_date2(10).
data : v_kunnr1 LIKE bsid-kunnr.
data : v_kunnr2 LIKE bsid-kunnr.
data : v_name1 like t001w-name1.
clear wa_listheader.
wa_listheader-typ = 'H'.
move 'DETAILED CUSTOMER VENDOR DETAILS'
to wa_listheader-info.
append wa_listheader to it_listheader.
select single name1
from t001w
into v_name1
where werks = p_bukrs.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Plant'.
move v_name1
to wa_listheader-info.
append wa_listheader to it_listheader.
write so_budat-low to v_date1 dd/mm/yyyy no-gap.
write so_budat-high to v_date2 dd/mm/yyyy no-gap.
if so_budat-low is not initial and so_budat-high is not initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Date '.
concatenate v_date1 ' To ' v_date2 into
wa_listheader-info separated by space.
wa_listheader-info = wa_listheader-info.
append wa_listheader to it_listheader.
elseif so_budat-low is initial and so_budat-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Date '.
wa_listheader-info = '*'.
append wa_listheader to it_listheader.
elseif so_budat-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Date '.
wa_listheader-info = v_date1.
append wa_listheader to it_listheader.
endif.
v_kunnr1 = so_kunnr-low.
v_kunnr2 = so_kunnr-high.
if so_kunnr-low is not initial and so_kunnr-high is not initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Customer '.
concatenate v_kunnr1 ' To ' v_kunnr2 into
wa_listheader-info separated by space.
wa_listheader-info = wa_listheader-info.
append wa_listheader to it_listheader.
elseif so_kunnr-low is initial and so_kunnr-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Customer '.
wa_listheader-info = '*'.
append wa_listheader to it_listheader.
elseif so_kunnr-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Customer '.
wa_listheader-info = v_kunnr1.
append wa_listheader to it_listheader.
endif.
ENDFORM. " alv_header.
waiting for ur reply.
Thanx
Suchita -
How to create a Product Grouping and manage multiples?
How I can create a Product Grouping with 3 pieces of a product + 2 pieces of another product and ensure that customer can only order in multiples (6+4, 9+6, 12+8, etc.) and not for example 4+3?
Regards,
FrancescoHi Madhavi,
You also need to assign the hierarchy to the application Product in Tcode: COMM_PRAPPLCAT.
There we have two settings,
1. Assign hierarchy to application.
Make a new entry. Choose application Product and assign the hierarchy you
have created.
2. Assign hierarchy to product type.
In case you wish to have a separate hierarchy for each product type ( Material,
Service, Warranty etc) than use this setting.
Make new entry. Choose a product type and assign hierarchy to it.
Wish the information is useful. If it helps, do reward with points.
Regards,
Shalini Chauhan
Maybe you are looking for
-
Leopard wireless issues and clean install
I've been wrestling with wireless problems since upgrading to Leopard (I've discussed my issues on this forum). I've tried all the suggested fixes I've found, but still have spotty wireless. I'm going to try a clean install next (erasing my hard driv
-
Directory structure behaves strangely
Hi all, I have a volume holding files both for my Macs (using AFP) and for my linux systems (using NFS and mount on the linux machines). For a reason I cannot explain some files do not show when I ls a directory, but if explicitly ls the file it give
-
AE CS5.5 Trial not showing all export options
I recently downloaded the trial to give it a shot on a project for school I'm working on currently but I've run into an issue. From what I've seen this version is supposed to have full export functions but the only types I'm given on my menus are Ad
-
IPhone w/ time capsule?
I have a new Time Capsule and it works great. But, the description page says that "it works flawlessly with your iPhone/iPod Touch, because of the WiFi capabilities. So, does anyone know what exactly I can do with my iPhone to communicate with my com
-
I cannot attach any documents using my mac. Why?
Hi. I have had my Mac for about 2 months now, and about 2 weeks ago or so, it stopped allowing me to add attachments, in any program. I have tried yahoo email, secure emails with my bank, attaching documents in my online classroom, and nothing happen