There is only no documentation for this object available. Sorry.

Sie könnten aber im wiki hilfreiche Informationen finden.

wiki
Date Views Headline Answers
28.01.2013 148 Smartform debugging issue 25
28.01.2013 202 Net price in decimals 12
27.01.2013 118 purchase order with planned delivery cost 5
24.01.2013 49 Pricing values source 5
18.01.2013 53 KONV - alternative selection 3
28.12.2012 636 Regarding Pricing condition tables 21
27.12.2012 115 How to find condition record number for a scheduling agreement in MM(me33l) 2
18.12.2012 119 how to identify Dealer vendor and manufacturing vendor ? 14
06.12.2012 50 Need to fetch condition record based on the condition type and access sequence 4
04.12.2012 267 help with cluster table konv 9
20.11.2012 82 how to see delivered and ordered amount on Purchase document 10
15.11.2012 55 Condition use where list 5
04.11.2012 171 How to get Invoice total value 7
01.11.2012 159 Double Net value in Sales order 4
30.10.2012 38 report for list of POs with missing conditions 4
29.10.2012 209 Tds is not showing as per std tcode 15
26.10.2012 118 Reg.Table name for FTXP 6
17.10.2012 103 Tax Value per Tax Code 7
13.10.2012 391 Purchase Register and Vendor excise invoice 6
12.10.2012 121 link between konp and rfq 6
19.09.2012 199 report background variant problem 5
07.09.2012 143 Effective Value of Material 10
06.09.2012 129 Print Label Qty. wise. 24
03.09.2012 349 SAPSQL_ARRAY_INSERT_DUPREC in SAPLV45U for the FORM KONV_BEARBEITEN 3
17.08.2012 228 How to retrieve charges of sales order based on SAP condition types? 5
02.08.2012 93 Condition value is not showing correctly at table level 6
27.07.2012 84 Not updating All Condition Records while creating Sales Order using bapi BAPI_SALESORDER_CREATEFROMD 2
25.07.2012 26 Data source function module returning duplicate schedule line 1
24.07.2012 17 TERM STATUS for Pricing element A vs B 1
22.07.2012 113 Creating report for cluster / pool table 6
21.07.2012 377 Without Reference Return Order Creation 14
18.07.2012 128 Condition type & list 6
17.07.2012 139 ABAP reporting for Joining pool/cluster table example 3
17.07.2012 434 No component exists with the name "KNUMV". . 6
13.07.2012 193 ekko-knumv not getting updated in ME47 6
09.07.2012 114 Contract VA43 -Pricing condition 4
07.07.2012 668 Link Between EKKO and KONH or KONP 11
05.07.2012 252 Re-pricing service contract 4
03.07.2012 272 Bapi Po Change not working 7
01.07.2012 153 Other Charges 12
29.06.2012 242 tax conditions in smartform purchase order 4
23.06.2012 241 Rebate condition base value is automatically doubling 6
22.06.2012 63 Data source for KONV 1
20.06.2012 192 Need to find GL account by condition record number (KNUMH) 11
20.06.2012 291 Purchase Order Conditions Report 2
01.03.2012 106 Regarding Freight Charges and Discounts in Depo Ex 4
27.02.2012 97 Regarding Frieght charges in Billing Out Put 3
24.02.2012 178 Billing issue 5
16.02.2012 179 FM to find Condition details. 6
14.02.2012 174 Change the conditions when click save button in tr 3
08.02.2012 46 SD Freight Calculation 4
02.02.2012 45 KONV entries in ALV and consolidated filter 1
02.02.2012 373 Table for Condition Record by Material 8
01.02.2012 143 po value and grn value 8
31.01.2012 111 Select Query 8
27.01.2012 137 Get the conditions of an inforecord 5
24.01.2012 100 po net value 7
07.01.2012 114 Need pricing data for invoice 3
06.01.2012 114 Report on gross profit per invoice 6
06.01.2012 164 how to link EKBE and MKPF tables 5
05.01.2012 107 table name for TCS (tax collection at source) 2
05.01.2012 201 GR quantity 11
05.01.2012 128 SD Billing condition records 3
04.01.2012 438 How to read the maintained pricing condition throu 12
02.01.2012 100 PO Condition type 5
31.12.2011 174 Reg: Lowest sold price & Current price 7
27.12.2011 190 How to add Header Discount in PO Smartforms? 10
26.12.2011 167 Pricing issue in VA01 7
26.12.2011 195 Select statement From Konv 7
21.12.2011 211 List Sales Order 6
19.12.2011 66 FREIGHT CHARGES 4
08.12.2011 75 Fetching conditions at service purchase order acti 5
01.03.2012 142 VA01 - BADI J_1BTAX_ST_MAX_PRICE (Substituiç& 1
06.12.2011 106 Tolerance report by PO 4
05.12.2011 180 MM - Pricing Conditions - Mass Change for Planned 7
02.12.2011 105 Condition Value 4
01.12.2011 208 To calculate sales price of a material 7
24.11.2011 178 PO Freight condn table 3
01.11.2011 242 Regarding Pricing procedure tables 5
28.10.2011 259 Where are the condition values of a Debit Memo Req 3
27.10.2011 357 How to find out which formulas have been used in s 2
25.10.2011 46 how to down load the PO pricing condition records 2
25.10.2011 105 Condition type wise Report for PO 6
21.10.2011 106 Purchase Order:Pricing condition report 5
21.10.2011 117 Copying PO   price in to  Quotation 6
21.10.2011 262 Fetch data from 2 tables 18
19.10.2011 63 Contracts 5
18.10.2011 76 TAX condition type in PO 5
17.10.2011 70 Finding out purchse order by referrring condition 3
10.10.2011 27 service condition tables 2
10.10.2011 212 SAP report with sales (invoices) and cost of goods 9
05.10.2011 222 Table & Field Name for Tax Code 12
03.10.2011 243 Pricing report 7
03.10.2011 148 PO printout 7
03.10.2011 87 Freight amount is not picked up 5
03.10.2011 128 How to get a Deleted Sales Order Header Data ? 8
30.09.2011 551 PO Item taxcode condition value... 17
29.09.2011 120 Pricing procedure individual requirement 10
28.09.2011 30 Table to see the Tax amount of the PO item. 2
27.09.2011 110 Header Condtion Records-Transactional Table Detail 11

Name KNUMV
Description No.of condition in the document
Package VKON
Module Pricing
Module ID AP-PRC-PR
Creator SAP
Description Application development R/3 conditions
» See all 1203 related threads

26

May 2006

function module on KONV

02:51


Boujema Bouhazama

Hi there

Table KONV is a cluster table.

I have already created a datasource on this table with an infoset linking it with ekko, but I expect to face performance issues as the table KONV has many records.

Therefore I would like to create a function module linking KNUMV from ekko and konv.

Here is what i have done but when create the datasource i am getting an error. Could you please provide your help in solving this issue. Thanks in advance.

    TABLES: konv.

  DATA: l_s_select TYPE srsc_s_select.

  STATICS: s_s_if TYPE srsc_s_if_simple,

  s_counter_datapakid LIKE sy-tabix,

  s_cursor TYPE cursor.

  RANGES: l_r_knumv FOR konv-knumv,

  l_r_kposn FOR konv-kposn,

  l_r_kschl FOR konv-kschl,

  l_r_waers FOR konv-waers.

  l_r_kntyp for konv-kntyp.

  l_r_kruek for konv-kruek.

  l_r_kwert for konv-kwert.

  IF i_initflag = sbiwa_c_flag_on.

    IF NOT g_flag_interface_initialized IS INITIAL.

      IF 1 = 2. MESSAGE e008(r3). ENDIF.

      log_write 'E' "message type

      'R3' "message class

      '008' "message number

      ' ' "message variable 1

      ' '. "message variable 2

      RAISE error_passed_to_mess_handler.

    ENDIF.

    APPEND LINES OF i_t_select TO s_s_if-t_select.

    s_s_if-requnr = i_requnr.

    s_s_if-dsource = i_isource.

    s_s_if-maxsize = i_maxsize.

    g_s_interface-initflag = i_initflag.

    g_s_interface-updmode = i_updmode.

    g_s_interface-datapakid = i_datapakid.

    g_flag_interface_initialized = sbiwa_c_flag_on.

    APPEND LINES OF i_t_fields TO s_s_if-t_fields.

  ELSE.

    IF s_counter_datapakid = 0.

      LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = ' KNUMV

        MOVE-CORRESPONDING l_s_select TO l_r_knumv.

        APPEND l_r_knumv.

      ENDLOOP.

      LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = KPOSN

        MOVE-CORRESPONDING l_s_select TO l_r_kposn.

        APPEND l_r_kposn.

      ENDLOOP.

      LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = KSCHL

        MOVE-CORRESPONDING l_s_select TO l_r_kschl.

        APPEND l_r_kschl.

      ENDLOOP.

      LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = WAERS

        MOVE-CORRESPONDING l_s_select TO l_r_waers.

        APPEND l_r_waers.

      ENDLOOP.

      LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'kntyp'.

        MOVE-CORRESPONDING l_s_select TO l_r_kntyp.

        APPEND l_r_kntyp.

      ENDLOOP.

      LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'kRUEK'.

        MOVE-CORRESPONDING l_s_select TO l_r_kruek.

        APPEND l_r_kruek.

      ENDLOOP.

      LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'kWERT'.

        MOVE-CORRESPONDING l_s_select TO l_r_kwert.

        APPEND l_r_kwert.

      ENDLOOP.

      OPEN CURSOR WITH HOLD s_cursor FOR

      SELECT (s_s_if-t_fields) FROM KONV

      WHERE KNUMV IN l_r_knumv AND

      KPOSN IN l_r_kposn AND

      KSCHL IN l_r_kschl AND

      WAERS IN l_r_waers AND

      kntyp IN l_r_kntyp AND

      kruek IN l_r_kruek AND

      kwert IN l_r_kwert.

    ENDIF.

    FETCH NEXT CURSOR s_cursor

    APPENDING CORRESPONDING FIELDS

    OF TABLE e_t_data

    PACKAGE SIZE s_s_if-maxsize.

    IF sy-subrc <> 0.

      CLOSE CURSOR s_cursor.

      RAISE no_more_data.

    ENDIF.

    s_counter_datapakid = s_counter_datapakid + 1.

  ENDIF.

ENDFUNCTION.

Regards

Boujema

 

26

May 2006

Re: function module on KONV

06:09


Pradip Patil

Hello

please have a look at following thread

Re: Select from KONV using Additional Code in ABAP Query

26

May 2006

Re: function module on KONV

06:43


Anil Kumar

Hi,

Have you defined the Extraction structure in Se11 and are you using that in Generic datasource?

With rgds,

Anil Kumar Sharma .P

26

May 2006

Re: function module on KONV

15:19


Boujema Bouhazama

Hi Pradip

Thanks for your help but the post you gave me deals with another suject.

Regards

26

May 2006

Re: function module on KONV

15:23


Boujema Bouhazama

Hi Anil thank you for your reply

Yes I have already create a structure based on the fields that you can see in the code. And yes it is a generic datasource, but you are right to ask it as I didn't mention where i get the error message.

I get an error message when i test the extraction.

Does anybody have an idea !!?! Thanks in advance for your help.

Regards

Boujema

26

May 2006

Re: function module on KONV

15:24


Oscar Romero

what error are you getting?

26

May 2006

Re: function module on KONV

15:27


Boujema Bouhazama

Hi Oscar

I am getting this error

Error 6 in function module RSS_PROGRAM_GENERATE

26

May 2006

Re: function module on KONV

15:35


Oscar Romero

Your source code is that exactly? i copy it into my system and it has syntax errors...

26

May 2006

Re: function module on KONV

15:40


Boujema Bouhazama

yes Oscar my code is exactly like this.

I can't find exactly what and where the error is

Could you please help me in correcting it

I Thank you in advance.

Regards

26

May 2006

Re: function module on KONV

15:49


Oscar Romero

in source editor press ctrlF2 (check syntax) if ok then activate FM pressing ctrlF3.

RANGES: l_r_knumv FOR konv-knumv,

l_r_kposn FOR konv-kposn,

l_r_kschl FOR konv-kschl,

l_r_waers FOR konv-waers.

l_r_kntyp for konv-kntyp.

l_r_kruek for konv-kruek.

l_r_kwert for konv-kwert.

Finish all sentences with comma except the last one.

26

May 2006

Re: function module on KONV

16:04


Boujema Bouhazama

Hi Oscar when checking the source code it is telling me SRSC_S_IF_SIMPLE is unknown.

26

May 2006

Re: function module on KONV

17:06


Boujema Bouhazama

Seemingly I have a pb with the function group some parts are missing thanks to all anyway

Regards