Access to conditions in BTE 1050
Hi all,
we have following problem.
We want to post a logistic invoice (TA MIRO). During the transaction we want to have access to the condition records during the BTE 00001050 (After FI POST_DOCUMENT).
We don't have the information in the parameters.
How it is possible to access the conditions???
Kind regards
André
<i>It seems, that this is not working, because the function module for the BTE belongs to another function group.
So I can not assign (PROGRAM)FIELD to a field symbol.</i>
With this way you can assign it even if it's in a different Function group, program, whatever if it's in the memory!!!
Debug this example to understand how this approach works.
In this case you can get a value from program SAPLSFES, which has no relation with program ztest_external at all.
However with this approach it works.
Peter
PS: If it helps, don't forget about the reward points:-)
REPORT ztest_external .
DATA: fake_external_var(20) TYPE c VALUE 'I am external'.
DATA: fieldname1(100) TYPE c.
DATA: fieldname2(100) TYPE c.
MOVE '(ZTEST_EXTERNAL)fake_external_var' TO fieldname1.
MOVE '(SAPLSFES)C_DPTABLESIZE' TO fieldname2.
FIELD-SYMBOLS: <fs1> TYPE ANY.
FIELD-SYMBOLS: <fs2> TYPE ANY.
START-OF-SELECTION.
ASSIGN (fieldname1) TO <fs1>.
ASSIGN (fieldname2) TO <fs2>.
WRITE: / <fs1>.
WRITE: / <fs2>.
Similar Messages
-
Accessing the Condition Tables
Hi,
I have a situation here. I am fetching the Price Data from the Condition master data tables. I am getting data from T685,T682I and T682Z tables. Now, when I am getting the field T682Z-KOZGF, it gives me a value "A001" for KAPPL = 'V' and KVEWE = 'A'. Now, I need to access the condition table A001 and access its fields like DATAB and DATBI. How do I do that? Can somebody help me with this?
Also, I would like to access the field ZIFNA which will give the values "VKORG", "VTWEG" ,"SPART","KUNNR". I would also like to Check these values with the Same input fields I have. How do I achieve that? Please help me with this.
Thanks,
John.Hi Prabhu,
Thanks for your quick reply. In fact, I am developing a BAPI function Module in which I am sending pricing scales to the external interface. For the same reason, I have to access the condition tables to find out the pricing scales. So, please help me find out the procedure to access the condition table (ex: A001) which comes as a value into my internal table.
Thanks,
John. -
Access for Condition Type of a Pricing Procedure
Dear CRM Gurus,
I have a scenarion whereby we have replicated the pricing procedures of ECC in CRM. In ECC I controll the activity of display of a condition type through the step no. Similar access control is desired in the CRM too.
I was advised for an object in CRM but that works best if the pricing procedure is of CRM origin only, as mine is from ECC it is non editable in CRM.
Would request kind guidance on this please.
Regards,
TariqHi Try this.
CALL FUNCTION 'RV_PRICE_PRINT_REFRESH'
TABLES
tkomv = tkomv.
g_komk-mandt = sy-mandt.
g_komk-belnr = itab_disp1-vbeln.
g_komk-knumv = itab_disp1-knumv.
g_komp-matnr = itab_disp1-matnr.
g_komv-zaehk = '01'.
g_komv-kappl = 'V'.
at end of knumv.
call function 'RV_PRICE_PRINT_ITEM'
exporting
comm_head_i = g_komk
comm_item_i = g_komp
LANGUAGE = ' '
IMPORTING
COMM_HEAD_E =
COMM_ITEM_E =
tables
tkomv = g_komv
tkomvd = g_komvd
append g_komv.
endat.
endloop. -
Programmatic read access to (conditional disable) symbols in project
Hi,
I'm wondering if there's a way to achieve programmatic way to achieve a read access to the symbols defined within a project apart from the conditional disable structure? I have tried access via VI server, but haven't succeeded
For me, it would be a nice way of passing certain enviroment settings....
Thanks a lot!
Oli
Sorry this should've been posted to the LabVIEW board....
Message Edited by Oli_Wachno on 04-12-2007 03:13 PM
Programming languages don't create bad code, programmers create bad code....Unfortunately there is no other way to access the symbols via VI server. It is not possible to edit these symbols at runtime in general, which would not make sense, because these symbols are ment to give the user the opportunity to do conditional compiling, and so the state of these symbols needs to be set BEFORE the VI is compiled/started.
You could accress the value of these symbols, by reading the .lvproj File directly. The .lvproj files are XML-Files, and there is a item called
<Property Name="CCSymbols" Type="Str"> .XXX.</Property> in the XML File. The XXX stands for the name and value of a symbol.
You could use File I/O functions to access these values.
Hope this helps!
André -
Restricting access for condition types in VK11
Hi
ZWX1 and ZWX2 are SD discount condition types, I should use these condition types only for sales deal , hence , I will create condition record only in VB21 with reference to sales deal.
Some other users may create condition records in VK11 mistakenly, I need to avoid it, so these condition types should not be accessible to create condition records in VK11 or anywhere except VB21.
Any thought ? how can I achieve this ?
thanksHi
If you want to restrict the access for the condition types then you give the authorization for VK11 for maritaining the condition records only to those users who has to maintain the condition records for that condition types.So you have to take the help of BASIS team
Regards
Srinath -
PR00 Access sequence Condition table changed
Hi Friends,
Someone changed the PR00 Access Sequence Table Settings..
It shows as
Ac Tab Descripion Reqirement Exclusive
5 305 cus/mat checked
10 5 cus/mat checked
20 6 price/cur/mat checked
30 6 price/cur/mat checked
40 4 material checked..
Please tell me the actual Tab Setting and Acc Sequence.. My system is not moving further
ThanksHi
The access sequence for PR00 is PR00 or PR02
the condition tables in PR00 is as folows :
Customer / Material
Price list / Currency / Material
Material
For PR02 access sequence, Try to copy the condition table 304,305and 306 condition tables this will solve the problem
Reward if useful
Regards
Srinath -
Related to condition types and access sequence
Dear all,
i want to know abt one scenario, m using a pricing procedure with my service PO: ZVSTOT, in this Procedure, 12 condition types are there, during searching i found tat 3- 4 condition are are using different different access sequence, so i want to know tat in what procedure, we do it, what is use of it.?
plz reply me.Hi Nisha,
Prcing procedure configured in your service PO PO: ZVSTOT, Based on this pricing procedure system adopted the condition type in PO.
Please go through this below link to better understanding the MM-Pricing procedure
http://it.toolbox.com/wiki/index.php/Pricing_Determination_Process_-_MM
http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm
CONDITIONS OR PRICING PROCEDURE or PRICE DETERMINATION PROCESS
We deal with the Pricing Procedure for vendors.
PB00 Gross Price (info record, contract, scheduled Agreement)
PBXX Gross Price (PO)
FRA1 Freight
RA00 Discount on net
RA01 Discount on Gross
ZA00 Surcharge on net
SKT0 Surcharge / discount
ZPB0 Rebates
MWVS Input Tax
MWAS Output Tax
BASB Base Amount
RM0000 Calculation Schema or Pricing Procedure
(PB00 & PBXX)
RM0002 Calculation Schema or Pricing Procedure
(PB00)
PB00 --> AB00
Copy the Standard one and create new one (ours)
RM0000 contains all the condition types
Pricing Procedure (PP)
We define the pricing procedure to define condition supplement for the material price. The condition supplement specifies the discount, surcharge, freight etc that we want a system every time to access material price condition records.
The total value of the material is calculated or based on all addition and subtraction i.e. discounts, surcharge, tax freight etc
Condition Table
It is a table, which defines the structure of condition record key.
Condition Record
It is a data record used to store conditions or condition supplements, i.e. condition like, discount, freight, and surcharge, Tax etc.
Condition Type
It is used for different functions. In Pricing the condition types leads you to differentiate different types of discounts, in output determination, batch determination, difference between two output types, such as delivery note or order confirmation, between different strategy types
Access Sequence
It specifies the order in which system searches or access the condition records from condition table
Difference between PB00 & PBXX
1. Condition maintained in PB00 is time dependent whereas PBXX is time independent.
2. Condition type PB00 u2013 used for IR, RFQ, Contract, Schedule Agreement
Condition type PBXX u2013 used for PO.
Calculation Schema
The main function of calculation schema is to provide framework of steps for the price determination process to specify the discounts, surcharge, freight rebate etc.
It also determines the sequence of conditions that are to be followed and in which sequence.
Schema Group Vendor
The main function of it is to identify or to pick the right process and conditions for a particular vendor.
Schema Group Purchasing Organization
Key that determines which calculation schema (pricing procedure) is to be used in purchasing documents assigned to the relevant purchasing organization.
Schema Group
It allows to group together the purchasing organizations, which uses the same calculation schema.
Steps: -
1. Create Access sequence
2. Create condition types
3. Create pricing procedure or calculation schema
4. Link pricing procedure & access sequence to condition type
5. Create schema group for vendor
6. Create schema group for purchase organization
7. Assign schema group vendor-to-vendor master record in purchasing data view
8. Assign schema group purchase organization to our purchase organization
9. In inforecord purchase organization data enter condition types and pricing or calculation procedure
CUSTOMIZE SETTINGS: -
SPRO > IMG>MM>PUR>Conditions -->Define price determination Process
1. Define access sequence
2. Define Condition type
3. Define cal. Schema
4. Define schema group
o Schema group vendor
o Schema group purchasing group
5. Assignment of schema group to PUR org
6. Define schema determination à determine cal schema for standard PO.
With Thanks,
Thiru -
Requirement for Access Seqence - excise conditions
Hi,
what are the pre requisite condition table records for
J1AU excise condition type for the Indian Excise scenario?
plz help me to configure my Excise condition type.
cond type consists of export and domestic business, and has three basic forms:
Tax fully liable
Tax partial exemption on rec C form.
Tax not applicable.
Edited by: Siddharth Dabhowale on Dec 22, 2007 10:21 AMIn my system which is running on ECC 5.0 the Access Sequence JEXC is related to 'IN Excise access'.
It has got
Access No. , Condition table, Description, Requrement tabs as follows.
10 372 Sales org./Ref.doc./Ref.item 0
12 5 Customer/Material 0
14 4 Material 0
20 40 Country/State/Customer Classif.1/Material Classification 1 0
40 369 Country/Plant/Ctrl code/TaxCl1Cust 0
50 371 Country/Plant/Ctrl code/Ship-to 0
60 358 Country/Plant/Ctrl code/Material 0
70 357 Country/Plant/Ctrl code 0
80 362 Country/NBM-NCM Code 0
Reward Points if useful. -
Tax condition table for an access sequence
Hi,
I serched in the forums to find t.code or menu path for creating a tax condition table for MWST tax condition type, but no body has given any specific answer. most of them have given the SD or MM related condition tables.
My requirement is, I want to create a key combination for "MWST" TAX condition type. Please let me know the process of creating the key combination for TAX condition type.
Thanks in advance.
AnilHi
MWST is the standard progarm access sequence
condition type is base to calculation of main the tax procedure
but the thing the access sequence and conition type are pure MM, SD Work,
if you need to table :
T685,T685A,T685T,
are else you use Z table with the help of technical consultants'
Thanks
Madhu -
Populating the condition tables
hi ,
can anyone explain me clearly ,how to populate the condition tables programatically.
its really urgent.
regards,
srikanth tulasi.
Edited by: srikanth tulasi on Apr 9, 2008 11:02 AMHi Prabhu,
Thanks for your quick reply. In fact, I am developing a BAPI function Module in which I am sending pricing scales to the external interface. For the same reason, I have to access the condition tables to find out the pricing scales. So, please help me find out the procedure to access the condition table (ex: A001) which comes as a value into my internal table.
Thanks,
John. -
Find Tax conditions and amounts while creating a PO from reference.
Hi friends,
I am creating a PO from another reference PO. When I create the PO the Tax conditions and
amounts come from Sabrix 3rd party system. This data gets saved into SAP internal memory and
is visible when we follow PO item-> Invoice Tab->Taxes-->then we can see Tax
conditions and there amounts as well. when we press SAVE button PO gets created and KNUMV
(Condition Number) gets formed and then we can access this Condition types and Amounts data
from KONV table by specifying the Condition number which is the Primary key of KONV table.
But we need to access this data of Condition types and Amounts even before we press SAVe
button on ME21N screen.
Please help me on this.Hi,
As mentioned that this error was one of the wierdest SAP issues I have faced, it was due to the silliest copy paste errors on my behalf. I completely overlooked the POITEMX naming.
For 4 values of RFQ_NO, RFQ_ITEM, PREQ_NO, PREQ_ITEM, I didnt have the 'X' for POITEMX and kept on looking for errors for days.
BAPI_PO_CREATE1 works with min. possible inputs successfully.
Thanks to all! -
Purchase Order - COndition Record
Hi
I like to know (IMG Settings) where we have to maintain Condition Records for Purchase order ?
Please help me on this issue
Thanks & Regards,
senthil.Steps for MM Pricing Procedures
Can anyone please help me on the Pricing Procedures?
I have read it many times but fail to understand.
Pricing Procedure :
In MM module, pricing procedure is used during RFQ and PO creation. Total value of material based on all addition and subtraction like discount, surcharge, tax, freight, etc. In this we are defining pricing procedure and linking to vendor and purchase department through the virtual schemas.
Following steps for pricing procedure as,
1. Define conditions.
2. Define pricing procedure.
3. Define virtual purchase organization and vendor.
4. Info Record.
Customization for Pricing Procedure :
1. Definition of Conditions :
/NMEK0-condition typeu2026condition types- definition (define for basic price, net price, discount, surcharge, tax etc.)
2. Defining pricing procedure :
/NMEK0- calculation schema-calculation schemasu2014New entries (Define procedure and put the conditions like formula so that final price will be net price / total value as per company requirement)
3. Linking pricing procedure to independent condition types.
/NMEK0-condition typeu2026condition types- definition for position for defined conditions (Enter the defined pricing procedure in the each independent conditions u201CPricing Procedureu201D box)
4. Defining Schema group for Vendor :
/NMEK0- calculation schema-schema groupsu2014vendoru2014New Entries.
5. Defining Schema group for Purchase Organization--- New entries.
/NMEK0- calculation schema- schema groups---- purchasing organization--- new entries.
6. Linking Virtual Purchase Organization to actual Purchase Organization.
/NMEK0- calculation schema- schema groups----- Assign P.Org. (in actual P.Org, enter virtual P.Org)
7. Linking Pricing procedure to virtual P.Org and virtual vendor :
/NMEK0- calculation schema- Determine Schema--- -Standard --- New entries (Enter virtual schema and P.Org. along with pricing procedure)
8. Linking virtual vendor to actual vendor-- /NXK02 then enter schema group vendor in Purchasing Data )
9. Info Records (/NME11)---- click on u201CPurch. Org. data1u201D and enter condition types and pricing procedure
Anand
What are the steps in pricing determination in MM? Condition, Access sequence and schema.
In the SAP MM Pricing is more important. Just yesterday I have completed the Pricing as I am doing the SAPMM now. I can give some light on this Topic, not 100%. After 2 days definitely some more I can share.
The Basic thing is Condition Technique. In which there are
1. Access Sequence 2. Condition Record 3. Condition Type 4. Condition Table.
A Access Sequence access a Condition Record of a Condition Type in a Condition Table is a Condition Technique.This is a simple logic
Here the Condition Type is very important like PB00, PBXX,RA01 etc.
In the background every Condition Type has its own defition means the purpose of the Condition Type like, is it for Pricing or Percentage, Quntity base, Accrual Feilds etc is to be defined to work this functions.
Normally we use the existing ones without any risk. But some cases, we have to Create a New Condition Types as per the organisation requirement.
The Pricing Schema is useful to minimise condition types while mention prices for Vendor on the basis of Pricing Schema which we defined according to organisation requirement.
The Pricing Schema means the calculations procedure of Condition Type.
Ex. RA01 - Discoount % is caclulated on PB00 - Gross Price means
RA01 is based on PB00 like that we have to define in the Pricing Schema
which makes easy to use in realtime.
Here PB00 has the Access Sequence - 0002.
But RA01 does not have the Access Sequence.Why because it is a dependent on PB00. But both are Condition Types.
In the system, by default some standard Scheme will be there at Vendor Schema Group in the Vendor Master Screen means the standard one is assigned which is very lengthy which may fullfil our requirement. But some cases which may not fullfil our requirement, in such we have to define.
For the configuration, I may not able to explain properly through here but will give some Idea.
Configuration: SPRO-IMG-Material Management- Purchasing- Conditions-Define Price Deternmination Process
1. Define Access Sequence
2. Define Condition Type
3. Defince Calculation Schema:- Here you have to define the Schema
Define Schema group
1. Define Schema Group vendor
2. Define Pricing Schema group
3. Schema group for Purchase Organisation
4. Assign Schema group to Purchase Organisation
Define Schema determination
1.define calculation schema for Standard purchase organisation
After completion of the Schema Group, we have to assign it to Vendors.
Then whenever we use any transaction with this Vendor, the concerned Schema will work as configured by us.
I think this will help you. Actually the Pricing is a vast. Becuase each Condition have its own importance and each Access Sequence have its own importance. So you need not bother about this. First you learn how to define the Calculation Schema through the above.
Here we can create many Calculation Schemas which can assign one schema to Local vendors
another schema to out side vendor one more schema to foreign vendors like that we can classify. -
Pricing Conditions from Sales Order to Purchase Order
Hi,
This is a third party scenario. The vendor says that he will sell product ABCD for $10 to us.
When the customer places and order, we have a manual condition type ZDIS in sales order and we enter $10 for the product ABCD while we create the order.
This $10 is not the sales price for the customer, it is the purchase price for us from vendor. Even though we maintain Info Record for the Vendor we bypass that sometimes and this is the reason we created this condition type.
The purchase requisition is created automatically when we save the order, and we create the purchase order using the Purchase Requisition automatically using ME59
Now we want to copy the condition type ZDIS to the Purchase Order.
Please let me know how to do this.
ThanksHi tinsnow ,
I belive you have to access the condition records of sales order from any one of the user exit \ BADI of ME59.
Regards,
Sen
Edited by: Senthil Nattamai Sekar on Feb 27, 2009 5:28 AM -
BTE 1030 - we use for AP documents, create an event that triggers a workflow
Hello all,
We use SAP's program RFBIBL00 to post AP documents. We coded a function module that is called when BTE 1030 is reached. Our FM creates an event that triggers a workflow.
We are now doing some testing with an external vendor who is creating AP documents by doing an RFC using function module BAPI_ACC_DOCUMENT_POST.
It seems that this BTE, 1030, is not being triggered when the IDOC created by this function module posts the AP document.
Has anybody else seen this issue and found a way to deal with it?
Thanks
BruceAFAIK BAPI_ACC_DOCUMENT_POST and FI posting should trigger BTE 00001030 but BAPI_INCOMINGINVOICE_CREATE and AC interfacewould trigger BTE 00001050. (or is BAPI_ACC_DOCUMENT_POST also using AC interface, I will let you check it)
Nevertheless call your FM triggered thru BTE 1030 also in a FM triggered thru BTE 1050. Also in the call check for update task
function z_fi_00001050.
call function 'TH_IN_UPDATE_TASK'
importing
in_update_task = in_update_task.
if in_update_task eq 0 and i_xvbup eq 'X'.
call function 'Z_FI_00001030' in update task
exporting
i_xvbup = ' '
tables
t_bkpf = t_bkpf
t_bseg = t_bseg..
else.
call function 'Z_FI_00001030'
exporting
i_xvbup = ' '
tables
t_bkpf = t_bkpf
t_bseg = t_bseg...
endif.
Regards,
Raymond -
Condition tab (or assigment block) in sales order
Hi all,
I have a problem regarding conditions maintenance in my sales order document. My replication scenario is A and PRICINGTYPE parameter is G in SMOFPARFSA table
I create a sales order document (with pricing schema determination correctly set up) but when I access to condition tab in order to see the determined conditions I cant see any of the, the screen in empty.
I think my IPC is working ok (no error in document)Hello Javier
If you create an order with the same data in SAPGUI you can see in tab prices at header level the pricing procedure, in case it was correctly determined.
In case the pricing procedure has been correctly determined, I recommend you to check the customizing of the item category that has been determined. Your problem is very likely there.
. Path for customizing, as you may know is:
SPRO CRM-->Transactions Basic settings Define Item categories (Select one item category) Assignment of Business Transaction categories Transaction category Sales Customizing item
If we set it as not relevant for pricing (flag u201CPricing-rel not checked) then no conditions are calculated
If we set it as relevant for pricing we still have several options. The typical one is:
u201CSystem will copy item to header totalsu201D, so that the conditions of this item contribute to the Net value of the order
Additionally we have there pricing indicator. In case you there are lines in the pricing procedure with requirement 2 the conditions in those lines will be active only if pricing indicator is set to true
Best Regards
Luis Rivera
Maybe you are looking for
-
Unpair an Apple remote with Lion
Whenever I use my Apple TV remote with my Apple TV, it's affecting my iMac, e.g. if I push the up key on the remote, the sound volumes on my iMac goes up. If I push the play button, iTunes launches and plays even though I want to only control my Appl
-
Master Pages don't transfer when I change page size in a book
I had exactly the same problem in CS4, which is why I switched to CS5.5 -- but apparently nothing has changed. I have a book of about 30 chapters. It was originally set up in 6x9 format, but after it was all formatted, my client decided he wanted th
-
GR processing time can be customer based
Hi, Would like to know whether for GR Processing Time can be customer based instead of setup in Material master? Please kindly advise. Thanks Regards, shirley
-
Brocken web pages appear inbetween menus
Hello, I've recently upgraded to iLife 08 and have just rebuilt my showreel using iDVD. When I click to see one of the films as it goes through the transition from menu to the flm I can see what appears to be broken up web page. I can't figure it out
-
When I am trying to run th demo scripts of advanced queing it gives me message 'feature not enabled' I have installed advanced queing feature and also set the init.ora file parameter aq_tm_processes = 1 Thank you for the help