Rebate Conditon Table, Transaction OV20
I want to create a rebate condition table using KDKG3. I have added this field to the Rebate Condition Field Catalogue but when I do OV20 to create the table the field is not available. I feel I am missing something simple, any suggestions?
Start SQL trace in transaction ST05. Run the report. End the SQL Trace. Review the results.
Similar Messages
-
Hello All,
I've added 2 fields to append structure of KOMP.
I've added them in the Rebates list of allowed fields.
But, when I go to OV20 to create the Rebate COndition Tables--I can't find them in the field catalog..
pls tell me what am I missing?
Regards,
Raghu.Hi,
Add fields to KOMKAZ structure.
Goto KOMKAZ structure. Click on Append structure. Click on create button .
Append the structure and add new fields save and activate it.
Now goto KOMG and activate it and same for KOMK for also. Because this structure used in KOMG and KOMK.
Add this fields in allowed fields.
Regards,
Chandra -
Flashback query to view table transactions
I am on 11g DB and have a requirement to view a set of tables transactional events that occurred every 5-10 minutes. The events for each table must be viewed in the order they occurred. From there a may need to write that information to another table. I was looking to use the flashback quey feature (as I see it is enabled on my DB) to do this. What is the best way to do this with flashback query and are there any performance considerations to consider querying the flashback tables on a regular interval?
Thanks
Edited by: bobmagan on Feb 6, 2013 4:43 AMHi,
refer ,
http://www.oracle-developer.net/display.php?id=320
Simply , you can use below query to get records as of desired TS from any table of the database, However oldest timestamp that you can query depends on your UNDO retention
SELECT count(1) FROM <table_name> AS OF TIMESTAMP to_timestamp('13-MAY-11 19:00:00','DD-MON-YY HH24:MI:SS');Thanks,
Ajay More
http://www.moreajays.com -
How to Increase the Length of Condition table in OV20
While creating a condition table in T.code OV20 if fields length is more that 50 bytes table is not getting generated.it gives error as Too Many Fields Selected(More than 50 Bytes).
Actually i need to create a tabel with Basic Material(WRKST) which has length of 48 bytes.
Is there a solution on how to increase the length so that error is avoided.
There is no such error occuring while crating condition table in V/03Hi,
You can try to use the type string:
form like zscr_data_hdr-form,
werks like zscr_data_hdr-werks,
matnr like zscr_data_hdr-matnr,
verid like zscr_data_hdr-verid,
lot like zscr_data_hdr-lot,
lot_qty like zscr_data_hdr-lot_qty,
udate like zscr_data_hdr-udate,
utime like zscr_data_hdr-utime,
zuser like zscr_data_hdr-zuser,
processed like zscr_data_hdr-processed,
defect like zscr_defect_data-defect,
vornr like zscr_route_data-vornr,
fieldxx type string,
dayst like zscr_data_hdr-dayst,
end of t_data.
So you can save you informations of every fld<n> concatenating their values into fieldxx.
Regards -
Which table Transaction KP26 is Updating
Which Table is getting updated when data in transaction KP26 is saved .
<removed_by_moderator>Use transaction ST05 to trace the SQL access of SAP.
ST05 - Trace On - Start KP26 - Trace off - Display trace
Good luck
Fred -
How to know location table transaction or document?
We use the SBO 2005 A PL 43 SP1 and want to ask the location of the table where the field exponent type of transaction / document. The delivery = DN; Receive Good = SI.DN and SI is located where?
Thanks for the solution.
Regards,
AgungGood question,
I always thought it is hard coded in one of the Store Proc writtem from SAP related to the OJDT.TransType table.
Anybody else?
Frederic -
Fill Fact Table (Transaction) then Master Table
Dear all
I have problem in displaying my Query result. BI 7.0
Within Analyser, it shows attribute that I have filled before in IO's master data, but some of them shown empty because they're not in the IO's master data yet.
I found that during uploading data into InfoCube, some of the data don't have the IO's attribute.
Then I maintain manually the missing data/attribute in the IO's master data.
But no luck, the BI Analyzer still shown empty attribute.
I tried to search what is difference between IO's master data that are there before uploading and after uploading (new) inside database's table /BIC/MXXX (View of MstrDtaTbls)
All the new ones have OBJVERS field = "A" and "M", and CHANGE field = "D" and "I"
Note:
/BIC/MXXX = XXX is the IO name
Please help what should I do to fix this data. Thanks.
Regards,
HalomoanHello Halomoan,
You have to execute a process called 'Change run' to activate the newly added attributes, this process would convert the entries with 'M' version to 'A' version.
Here are the steps involved:
1) Execute Transaction RSATTR
2) Choose the option 'Info Objects List'
3) Deselect all the Info objects and select only the Info object related and these execute 'Save'
4)Schedule the job to run immediately using 'Selection' option
5) 'Execute'
Hope this helps you.
Cheers
Bala -
Condition Table(Transactional)
Hi,
What is the Replica of R/3 table KONV in CRM for Conditions Transactional Data?
Any thing and every thing will be rewarded.
Thanks,
Rgds,
Rajesh.Hi Rajesh,
Replica of R/3 table KONV is SMOKONV
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
BDC program for rebate with table controls
Hi Friends,
Iam Doing bdc program for Rebate(TCODE VBO1) with table controls..
can u give the solutions for table controls...
if anybody having the code..please send me..
Thanks & Advance,
sampathhi,
check this example it may help you.
REPORT ZSR_BDC_TBCTRL
NO STANDARD PAGE HEADING LINE-SIZE 255.
TABLES : RF02K,LFA1,LFBK.
DATA : BEGIN OF IT_VEN OCCURS 0,
LIFNR LIKE RF02K-LIFNR,
KTOKK LIKE RF02K-KTOKK,
NAME1 LIKE LFA1-NAME1,
SORTL LIKE LFA1-SORTL,
LAND1 LIKE LFA1-LAND1,
SPRAS LIKE LFA1-SPRAS,
BANKS(6) TYPE C,
BANKL(17) TYPE C,
BANKN(19) TYPE C,
END OF IT_VEN.
DATA : BEGIN OF BANKS OCCURS 0,
BANKS LIKE LFBK-BANKS,
END OF BANKS,
BEGIN OF BANKL OCCURS 0,
BANKL LIKE LFBK-BANKL,
END OF BANKL,
BEGIN OF BANKN OCCURS 0,
BANKN LIKE LFBK-BANKN,
END OF BANKN.
DATA : FLD(20) TYPE C,
CNT(2) TYPE N.
DATA : BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
INCLUDE BDCRECX1.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'Z:\sr.TXT'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = IT_VEN
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM OPEN_GROUP.
LOOP AT IT_VEN.
REFRESH BDCDATA.
REFRESH : BANKS,BANKL,BANKN..
SPLIT IT_VEN-BANKS AT ',' INTO TABLE BANKS.
SPLIT IT_VEN-BANKL AT ',' INTO TABLE BANKL.
SPLIT IT_VEN-BANKN AT ',' INTO TABLE BANKN.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'RF02K-LIFNR'
IT_VEN-LIFNR.
PERFORM BDC_FIELD USING 'RF02K-KTOKK'
IT_VEN-KTOKK.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0110'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFA1-SPRAS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'LFA1-NAME1'
IT_VEN-NAME1.
PERFORM BDC_FIELD USING 'LFA1-SORTL'
IT_VEN-SORTL.
PERFORM BDC_FIELD USING 'LFA1-LAND1'
IT_VEN-LAND1.
PERFORM BDC_FIELD USING 'LFA1-SPRAS'
IT_VEN-SPRAS.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0120'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0130'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
*perform bdc_field using 'LFBK-BANKS(01)'
'DE'.
*perform bdc_field using 'LFBK-BANKS(02)'
'DE'.
*perform bdc_field using 'LFBK-BANKL(01)'
'10020030'.
*perform bdc_field using 'LFBK-BANKL(02)'
'67270003'.
*perform bdc_field using 'LFBK-BANKN(01)'
'12345'.
*perform bdc_field using 'LFBK-BANKN(02)'
'66666'.
MOVE 1 TO CNT.
LOOP AT BANKS.
CONCATENATE 'LFBK-BANKS(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKS-BANKS.
CNT = CNT + 1.
ENDLOOP.
MOVE 1 TO CNT.
LOOP AT BANKL.
CONCATENATE 'LFBK-BANKL(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKL-BANKL.
CNT = CNT + 1.
ENDLOOP.
MOVE 1 TO CNT.
LOOP AT BANKN.
CONCATENATE 'LFBK-BANKN(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKN-BANKN.
CNT = CNT + 1.
ENDLOOP.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0130'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_DYNPRO USING 'SAPLSPO1' '0300'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=YES'.
PERFORM BDC_TRANSACTION USING 'XK01'.
ENDLOOP.
PERFORM CLOSE_GROUP.&----
*& Report ZSR_BDC_TBCTRL
REPORT ZSR_BDC_TBCTRL
NO STANDARD PAGE HEADING LINE-SIZE 255.
TABLES : RF02K,LFA1,LFBK.
DATA : BEGIN OF IT_VEN OCCURS 0,
LIFNR LIKE RF02K-LIFNR,
KTOKK LIKE RF02K-KTOKK,
NAME1 LIKE LFA1-NAME1,
SORTL LIKE LFA1-SORTL,
LAND1 LIKE LFA1-LAND1,
SPRAS LIKE LFA1-SPRAS,
BANKS(6) TYPE C,
BANKL(17) TYPE C,
BANKN(19) TYPE C,
END OF IT_VEN.
DATA : BEGIN OF BANKS OCCURS 0,
BANKS LIKE LFBK-BANKS,
END OF BANKS,
BEGIN OF BANKL OCCURS 0,
BANKL LIKE LFBK-BANKL,
END OF BANKL,
BEGIN OF BANKN OCCURS 0,
BANKN LIKE LFBK-BANKN,
END OF BANKN.
DATA : FLD(20) TYPE C,
CNT(2) TYPE N.
DATA : BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
INCLUDE BDCRECX1.
START-OF-SELECTION.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'Z:\sr.TXT'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = IT_VEN
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM OPEN_GROUP.
LOOP AT IT_VEN.
REFRESH BDCDATA.
REFRESH : BANKS,BANKL,BANKN..
SPLIT IT_VEN-BANKS AT ',' INTO TABLE BANKS.
SPLIT IT_VEN-BANKL AT ',' INTO TABLE BANKL.
SPLIT IT_VEN-BANKN AT ',' INTO TABLE BANKN.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'RF02K-KTOKK'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'RF02K-LIFNR'
IT_VEN-LIFNR.
PERFORM BDC_FIELD USING 'RF02K-KTOKK'
IT_VEN-KTOKK.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0110'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFA1-SPRAS'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_FIELD USING 'LFA1-NAME1'
IT_VEN-NAME1.
PERFORM BDC_FIELD USING 'LFA1-SORTL'
IT_VEN-SORTL.
PERFORM BDC_FIELD USING 'LFA1-LAND1'
IT_VEN-LAND1.
PERFORM BDC_FIELD USING 'LFA1-SPRAS'
IT_VEN-SPRAS.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0120'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFA1-KUNNR'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0130'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFBK-BANKN(02)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
*perform bdc_field using 'LFBK-BANKS(01)'
'DE'.
*perform bdc_field using 'LFBK-BANKS(02)'
'DE'.
*perform bdc_field using 'LFBK-BANKL(01)'
'10020030'.
*perform bdc_field using 'LFBK-BANKL(02)'
'67270003'.
*perform bdc_field using 'LFBK-BANKN(01)'
'12345'.
*perform bdc_field using 'LFBK-BANKN(02)'
'66666'.
MOVE 1 TO CNT.
LOOP AT BANKS.
CONCATENATE 'LFBK-BANKS(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKS-BANKS.
CNT = CNT + 1.
ENDLOOP.
MOVE 1 TO CNT.
LOOP AT BANKL.
CONCATENATE 'LFBK-BANKL(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKL-BANKL.
CNT = CNT + 1.
ENDLOOP.
MOVE 1 TO CNT.
LOOP AT BANKN.
CONCATENATE 'LFBK-BANKN(' CNT ') ' INTO FLD.
PERFORM BDC_FIELD USING FLD BANKN-BANKN.
CNT = CNT + 1.
ENDLOOP.
PERFORM BDC_DYNPRO USING 'SAPMF02K' '0130'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'LFBK-BANKS(01)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=ENTR'.
PERFORM BDC_DYNPRO USING 'SAPLSPO1' '0300'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=YES'.
PERFORM BDC_TRANSACTION USING 'XK01'.
ENDLOOP.
PERFORM CLOSE_GROUP. -
Dear all,
While doing PO, we are getting the following error:
Condtion table missing: Access 0003 30(Output purchase order)
What would be the issue?
Please suggest.
Thanks & Regards,
ARGo to
SPRO - MATERIALS MANAGEMENT - PURCHASING - MESSAGE - OUTPUT CONTROL -ACCESS SEQUENCE - DEFINE ACCESS SEQ FOR PO.
Select Access sequence 0003 and Click on Access.
Go to New Entries and assign condition table 30 to this access sequence.
Hopefully this will solve your problem
Sheetal -
Maximum Royalty check in during Create Rebate Agreement( vbo1 transaction)
Hi experts,
There is need to implement a maximum royalty check for a particular material.
This maximum percentage is stored in the material master itself.( Say 10 %)
When a Rebate Agreement is created / changed a particular amount is entered against a pricelist.
Now the check to be implemented is that the amount entered against each material should not exceed the maximum percentage defined for that material.
Additionally this check should handle the scale check.
Is this check can be done through a BADI / Exit or functionally.
Any idea on how to handle this would be of great help.
Regards,
GowriHi All,
I am closing the trend. I was able to achieve the above check with the help of the badi
SD_COND_SAVE_A.
Gowri -
Hi
This is required so that we can able to create a pricing table and prices can be maintained for Billing document and item .
I have created vbeln and posnr in kompaz structure. But the functional is saying he is not able to create condition records in vk11 for the combination sales org/ billing doc / item.
it is showing error "object item not proviced with the characteristics 000010."
Please give me solution.
Regards
Uma
Moderator message: not directly related to ABAP development, please post again in the appropriate functional forum (ERP SD).
locked by: Thomas Zloch on Sep 17, 2010 4:50 PMSorry but i fail to see the point where the sens is in having condition records on document level.
Document numbers are unique so you would need an own condition record for every document. In this case you could as well maintain the prices manually in the document itself.
If i´m totally off trakc then sorry. -
We know the audit capability of generating/creating DB Triggers to insert changes (Update/Delete) on a table in to a separate audit table.
Are there any other recommendations to achieve the same? Does Oracle DB Standard edition provide such functionality without writing DB triggers?Workspace Manager is one option here. Basically, it allows you to version-enable a table, automatically tracking changes into a history table. Lots of cool features where you can tell a session to pretend that it's an arbitrary point in time an return results as if you'd run the query at that instant.
The Developer's Guide for Workspace Manager is here
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96628/toc.htm
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Table to see conditon table, application,usuage, and description
Hi Friends,
Can you please let me know the the table which contains the below mentioned fields
Condtion Table
Application
Usuage
Description
I found the fields Condition table and Application in the table T681X.
But I want to see all the above four fields in one table.
Can any one suggest me the table?
Thanks and regards,
RamHi Ram,
I don't think, you will get all the above mentioned field in one table.
But if you want to go for query then you can use tables T682 and T681X.
Hope it helps,
Regards,
MT -
Hi Gurus,
Could any1 tell me the Tables for customer rebate. I am using the T-Code VBO3.
Regards,
Ashok...Hi Ashok
here below the relevant tables:
KONA-->agreements
KONH-->header rebate conditions
KONP--> Item rebate conditions
S060-->Statistical data on accrual settlements etc..
S136-->relevant invoices
S469--> if u use extended rebate
Pricing tables relevant are theones with prefix KOTE before i.e. KOTE005
anyway i suggest to use FM to retrieve relevant values
SD_BONUS_SETTLEMENT
SD_BONUS_KONPD_FILL
SD_BONUS_TURN_OVER
SD_BONUS_VALUE_CALCULATION
etc...
Bye
Carmine
Maybe you are looking for
-
Can't empty the trash on my mac os 10.8.5 Reason provided by the system: The operation can't be completed because you don't have permission to access some of the items. and it is my computer. Help!
-
Filter value on hierarchy node in Business Explorer Analyser
Hi experts, I'm facing an issue in BI 70 SP 10. I'm using Business Explorer release 3500.11.051. In a query, when I set a filter value on a hierarchy node, all the hierarchy is available and i can choose my node. Now, i want to change of filter value
-
Adding a new tab in the header level of me51n
Hi gurus I want to add a new tab in the header level of purchase requisation (me51n/me52n) , where i want to add some new customer fileds and i will update those in a z table. how can i do it . please give the complete code if possible . thnks in
-
How to open .pptm files created by the latest microsoft powerpoint on a mac
any mac program can open .pptm or .xml file or can convert it to other file type?
-
HT1766 How do I change the phone number associated with my ipad mini wifi?
How do I change the phone number associated with my ipad mini wifi?