ABAP Today's Inventory
Hello ABAP developers,
I need to calculate today's inventory for an specific material (from table MARA)
How can I do this?
Thanks,
Ol Pom.
Hi,
Check the table MARD for the following fields
LABST
UMLME
INSME
EINME
SPEME
Also check this transaction MB5B for stock on posting date.
Thanks
Naren
Similar Messages
-
Hi All,
We have a requirement to add some additional condition to my search Constraint.
Currently we have following Store Constraints configured –
constraints+=/search/constraints/PublishingSkuStartDateConstraints,/search/constraints/PublishingSkuEndDateConstraints,/search/constraints/PriceConstraint,/search/constraints/InventoryConstraint
The InventoryConstraint basically checks the inventory status of each product and if there is no stock then it doesn’t consider that product for Indexing. Now we have a specific product which we want to include in Indexing even if this product doesn’t have any stock .
Is there any way to include this rule in my Constraints properties file ? Or is there any way to achieve this via Search Admin console in BCC, kindly suggest.
Thanks,To my knowledge, i dont think you require the constraint mappings through property files for your scenario
constraints+=/search/constraints/PublishingSkuStartDateConstraints,/search/constraints/PublishingSkuEndDateConstraints,/search/constraints/PriceConstraint,/search/constraints/InventoryConstraint
These constraints can be put in the BCC through exclusion rules.
The publishing start date and end date, i believe is the start dates and end dates for products.
So here is what you should try.
Create a new Administer Commerce Search Project under Merchandising
Make sure "Search Configuration Tree" is selected in dropdown
In there create new Search Configuration
Then goto Result Exclusion tab, and create a rule like following
"For all searches do not return products whose Start date is after today"
For inventory you can put a rule like
"For all searches do not return products whose Stock Availability Status is Out of Stock"
You ll have to play with these options to suffice your requirement.
And make sure once you have deployed your project, you do a full indexing.
Hope this helps
Thanks -
How to calculate the average inventory in ABAP
Dear All,
Please find the below formula and this formula how to calculate the Average inventory at value.Please let me know the abap base tables and the corresponding fields.
Formula
Inventory Turnover = Cost of Goods Sold (COGS) / Average Inventory at value.
Thanks
Regards,
SaiHi Arivazhagan,
Thanks for your quick response .
The field MBEWH from the table is fulfill the average inventory at value.
For Eg :I want to calculate Inventory Turnover = Cost of Goods Sold (COGS)/
Average Inventory at value.
so shall i take Inventory Turnover = Cost of Goods Sold (COGS)/MBEWH
The above formula will meet my requirement to find the average inventory Turnover.
Thanks
Regards,
Sai -
Excess Inventory/Scheduled Receipts Report using ABAP Query.
Hi All,
I want to create a ABAP query for Excess inventory & Scheduled receipts in a single report. I have identified tables, fields and some extra calculated fields in the report. Here are the following tables and fields.
EKPO-MATNR ( Material number)
EKPO-WERKS ( Plant)
MAKT-MAKTX (Material Discription)
MARC-MAABC ( ABC indicator)
LFA1-NAME1 ( Supplier name)
MBEW-STPRS (Total value)
EKET-EINDT ( Item delivery date)
RIBOF-AMOUNT
S939-SPWOC or S032-SPWOC
Calculation fields : Value execess this week.extend value, over or under this week, onhand inventory for last week and this week.
Here my question is, when i was creating a infoset, how do i maintain relationship or joins from one table to another table...Is there any sequence for the above tables? Pl suggest. When i was adding all the tables in a infoset and try join the tables...it says illegal join...
Pl suggest me.
Thanks for your help
PRadeep
Edited by: Venkata Pr Papulugari on Jul 18, 2008 1:37 AMHi Gordon,
What i need to display is the remainder of the transaction that was received... if it is zero (0), i don't want to display it.
i.e.
transact # 100 inqty = 5
transact # 200 outqty =1
I'd like to display
transact # 100 qty on hand = 4
right know the transaction # that i am displaying is transact # 200.
And also, it needs to be warehouse oriented. because i can have multiple warehose transactions.... and i am getting that wrong too.
Regards,
Manuel Roman -
Hi ABAP developers,
Where can I get Inventory Report examples or more information?
Thanks in advance,
Ol Pom.Hi Ol Pom,
Please check this link...
scenarios for inventory reporting ?
It has ur answer
cheers,
Prashanth
P.S Please mark helpful answers -
Function Module or BAPI to get inventory turnover in abap
Hello,
is there a possibility to get the information of inventory turnover of an material with help of a function module oder BAPI?
Like the transaction MC44. But I need it in an ABAP-Report. A simple calculation is easy, but not an exact calculation of the inventory turnover (Umschlagshäufikeit).Hi,
http://hoopsdoc.hillyard.com/images/inventory%20management/MC44.htm
http://www.erpgenie.com/sap-technical/abap/bapi-step-by-step-example
Hope these links may help you.
Thanks. -
ABAP- Inventory Projection Report
Is there any information about Inventory Projection Reports?
Please advise.
Thanks,
Ol Pom.hi,
unable to understant your requirement.
but for fetching, you can get every months all 5 weeks, their satart date and end date
FM:GET_WEEK_INFO_BASED_ON_DATE -
Our client wants a report for Inventory Ageing. (we are not using batch management)
Use tried to sell Standard report MC46 but they are not convinced with the results.
The issue is if the material is not consumed for last 399 days but today if some movement is there in that particular material, then the material is not shown as non moving. Actually the material was not at all used for last 399 days.
In mc.5 report there are key figures like last consumption, last good issue etc but the same problem is there with it.
We are trying to develop a customised report.
Please help.
Thanks in advance.Hi,
The Stock Aging Report displays the description of material that are stocked for n-number of periods at particular inventory locations( may be trading plant or manufacturing Plant). The details, which are displayed, are about the aging period for the selected items.
There are reports and T code are
MC.A ,
MC.9,
MM5B,
MMBE,
MB5M,
MC50 - Dead Stock ,
MC46 - Slow-moving items,
If the above reports not meet your requirement, you should develop your own ABAP program to meet your specific business requirement.
This is define in overall stock on value based, suppose a material is received in Feb-month, same material is received in Jan-2007 , DEC-2007 also.The total value of this inventory is say 90 lakhs, ( 30 lakhs of each month) so system will show inventory aging as below
stock aging less than 30 days, 90 lakhs
stock aging more than 30 days but below 60 days 60 lakhs
stock ageing more than 60 days but below 90 days 30 lakhs
Assuming that no issue taken place if issue is taken place, it will be deducted by default FIFO method.
You may have to develop an ABAP report.
However, look into the path: information system > logistics > inventory managment > material and explore all like MC.9,MC.A,MC.B & MC.C
Regards,
Biju K -
Navigating directly from ECC(ABAP) to CRM UI Work Center/Link
Hi gurus,
I tried searching and couldn't find a relevant answer so I hope someone can help. We'd like to go directly from an ECC custom transaction we use to view our inventory and navigate directly to a specific work center/logical link within the WebUI that will display some custom development we've done to streamline the quote entry process. Parameters are passed from the inventory transaction and then pre-populated into a custom screen we developed.
I've seen tons of documentation on launching R/3 transactions from within WebUI and I know how to go directly to a specific object using a formatted URL but I can't find any info on going directly to a specific work center menu entry and/or a direct logical link from within ABAP.
Can anyone shed some light on this? Thanks in advance.Hi James,
I am working on some navigation issue myself and posted [this|Direct URL access to a component usage; in the forums today. It might just help you:
SAP has at least some documentation on this one. It is freely available form the [Service Market Place|https://websmp203.sap-ag.de/crm-inst]. [DirectLink|https://websmp203.sap-ag.de/~sapdownload/011000358700001715762008E/Cookbook_Ex_Comp_CRM2007.pdf]
In the document mentioned above is a way to create a URL to the WebClient directly opening a specifc UI Component in the UI Frame.
You could even open this one in an HTML control inside your transaction.
cheers Carsten -
Hi friends,
I have just started working on ABAP ,Please help me know about the temrs realted to MM,
What is document type ?
What is the important features of document type?
What is pricing Procedure ?
What is Release Strategy
i also want to know whther i can ask these questions here,if not here,then let me also know where i can ask them.
I promise to reward.
Than Q .
Geetu.SAP123 > Learning SAP > SAP Certification > MM
MM Sample Q&A - 3
User Name Remember Me?
Password
Register FAQ Members List Calendar Today's Posts Search
Search Forums
Show Threads Show Posts
Advanced Search
Go to Page...
Thread Tools Display Modes
#1 03-11-2006
SAPman
Senior Member Join Date: Oct 2005
Posts: 132
MM Sample Q&A - 3
Questions below are not in the SAP Certification format -- but still good as general test of SAP MM knowledge. If you don't agree with answers -- please post reply.
Indicate which statements are TRUE / FALSE.
1 What purpose does invoice verification serve in materials management?
a It allows invoice that do not originate in materials procurement to be processed.
b Completes the materials procurement process
c Handles the payment
d Allows credit memos to be processed
e Handles the analyses of invoices.
2 What are the tasks of invoice verification?
a Entering invoices and credit memos received.
b Checking the accuracy of invoices
c Executing the account posting resulting from invoice
d Updating open items and material prices
e Checking invoices that were blocked.
3 What is the process of invoice verification?
a Purchase order, service or GR referenced for incoming invoice.
b Invoice items suggested by the system against referenced document
c Corresponding automatic account postings carried out.
d Payment proposal list for vendor generated.
4 What are the ways in which invoice postings are possible?
a Manual posting
b Automatically through electronic transfer
c Evaluated receipt settlement
d Invoicing plan
e Consignment settlement
5 What happens when an invoice is posted?
a Material master always updated.
b Purchase order history updated
c Individual line items posted to appropriate accounts
d MM invoice document created if necessary.
e FI document always created.
6 What happens to accounting entries when an invoice is posted?
a GR/IR account debited, vendor account credited
b GR/IR account credited, vendor account debited.
7 There is a stock of 60 pc of a material having a standard price of Rs.9. A purchase order has been raised on the vendor for 40 pieces at Rs. 11 per pc. The material was received and invoice verified. What would the accounting entries show for this movement after IV?
a Stock account Rs. 360+, vendor account Rs. 360-
b Stock account Rs. 440+, vendor account Rs. 440-
c Stock account Rs. 440+, vendor account Rs. 360-
d Stock account Rs. 360+, vendor account Rs. 440-
e Stock account Rs.0, vendor account Rs. 80-
8 From where does the system pick the default quantity of an item when you post invoice receipt?
a Invoice
b Purchase order
c Purchase order history
d System settings
e Vendor master
9 During invoice verification the system picks the rate at which tax is calculated from the vendor master record.
TRUE
FALSE
10 Which of the following does the system copy from the purchase order during invoice verification entry?
a Purchase order number
b Tax amount
c currency
d Vendor
e Bank information
11 From where can the terms of payment be an input for invoice verification?
a User entry
b Purchase order
c Purchase order history
d Vendor master
e Material master
12 An invoice can refer to various objects.
TRUE
FALSE
13 Where do you enter the delivery note number during invoice verification entry?
a Transaction area
b Header area
c Allocation area
d Vendor Data area
e The balance area
14 What can you enter in the Header area during invoice verification entry?
a Document date
b Purchase order number
c Invoice amount
d Bill of lading number
e Tax information
15 What do you enter in the allocation area?
Whether you want to enter an invoice
Whether you want to enter a credit memo.
16 Can all deliveries or services provided by a vendor be settled in a single invoice?
Yes
No
17 What operations can you do on an Item list in the invoice verification procedure?
a Change layout in customizing
b Sort
c Search
d Delete items not selected
18 What are the features of Purchase-order-Based Invoice Verification?
a All items in Purchase order are presented.
b Invoice is matched using delivery note number.
c The invoice quantity should not be greater than the actual delivered quantity.
d Suggested quantity is the difference between total delivered quantity and total invoice quantity.
19 If there are several goods receipts and invoices in a purchase order item, the purchase order history tells you which invoice came from which vendor in Purchase-Order-Based Invoice Verification.
TRUE
FALSE
20 In which type of invoice verification is it not possible to post an invoice before the first goods receipt?
GR-Based IV
PO-Based IV
21 In GR-based IV can you reassign invoices from one goods receipt to another?
Yes
No
22 Which of the functions are not associated with invoice verification?
a Environment information
b Simulate postings
c Communication with vendor
d Error Log
e Hold document
23 What validations does the system do to get the tax figure if the tax amount is not input?
a The system checks the tax code for the item from the PO.
b It validates whether calculate tax has been activated.
c If the system cannot determine a tax code for an item it uses the one that was last used.
d It does not permit for change of item tax codes in the item list.
e The system calculates the tax base for each tax code from the amounts and tax codes of the individual items.
24 In which kind of posting method in IV is the cash discount amount not credited to the stock or cost account?
Gross Posting
Net posting
25 What controls the posting of invoice as gross or net?
Item category
Document type
26 You have a purchase order for 25 pcs a 4 Rs / pc. All goods were received. You have also received from the vendor an invoice for the 25 pcs with a tax of 5%. There is a cash discount of 10 %. What will be the accounting document during invoice verification?
a Input tax will be 5+ in Gross Posting.
b Input tax will be 4.5+ in net Posting
c Stock account will be 10- in Gross posting
d Stock account will be 10- in Net posting
e Non operating result account will be 10- in Gross posting.
27 To which account does the cash discount amount get posted in Net posting
Non-operating result
Cash discount clearing
28 How can postings be done in invoice verification for a purchase order in foreign currency
a Fixed exchange rate at GR and IV.
b Current exchange rate at GR and IV
c Current exchange rate cannot be changed at IV.
d Exchange rate differences can occur
e Exchange rate difference postings are Customization based.
29 What validations does the system do during invoice verification?
a The system checks only those invoices where tolerance limits are set for variances customizing.
b If the variance is not within tolerance the system displays a message.
c If an upper tolerance limit is reached the system blocks payment for the entire invoice when you post it.
d For blocked invoices, the field "Payment block" is filled in the vendor line item in the MM invoice document.
e The blocked invoice must be released separately before it can be paid.
30 Under what situation does the system compares the ratio of PO quantity(in PO price units) / PO quantity (in PO units), invoice quantity (in PO price units / invoice quantity (in PO units)?
a Goods receipt before invoice receipt
b Invoice receipt before goods receipt.
31 During the check of invoices with which of the following variances does the system perform Date variance?
a Quantity Variance
b Price variance
c Purchase order price quantity variance
32 The initial Stock of a material is 200 pieces. There is a purchase order for 100 pieces at Rs. 0.75. The 100 pieces are received. An invoice is received for 100 pieces at Rs 0.80 per piece. What are the effects of the above at invoice verification?
a If the material is valuated at a standard price of Rs 1, the stock account will be 5+.
b If the material is valuated at a moving average price of Rs 1, the stock account will be 5+.
c If the material is valuated at a moving average price of Rs 1, the material master record reflects the moving average price at Rs 0.92.
d If the material is valuated at a standard price of Rs 1, the price difference expense account will be 5+.
e If the material is valuated at a standard price of Rs 1, the stock price difference income account will be 5+.
33 There is a purchase order for 100 pieces at Rs. 0.80. The 100 pieces are received. An invoice is received for 100 pieces at Rs 0.75 per piece. However at the time of receipt of invoice the stock of the material is only 30.What are the effects of the above at invoice verification?
a Stock account is 5-
b Stock account is 1.5-
c Stock account is 3.5-
d Price difference account is 3.5-
e Price difference account is 1.5-
34 How is the quantity that has already been invoiced valuated at goods receipt if the invoice is posted before goods receipt and the subsequent GR quantity is greater than the invoice quantity?
At purchase order price
At invoice price
35 How is the quantity valuated at IV for the materials received if the invoice quantity is greater than the GR quantity?
At purchase order price
At invoice price
36 For which case does the system block a material for a no usage decision made about any inspection lot in non goods receipt based invoice verification
For the goods receipt concerned.
For the purchase order item
37 What happens if an invoice item exceeds the set tolerance limit for amount check?
a The item is blocked for payment
b The entire invoice is blocked for payment
c The item is given blocking reason
38 Based on what does the system check the value for a schedule variance?
a Purchase order Price
b Invoice Price
c Invoice value
d Quantity variance
e Days variance
39 The greater the invoice value, the lower the tolerated quantity variance.
TRUE
FALSE
40 What are the features of stochastic blocking?
a Threshold value
b percentage
c If invoice value is equal to threshold value the probability of a block is equal to the percentage.
d If invoice value is equal to threshold value the system calculates the probability on a proportional basis.
e If invoice value is smaller than the threshold value the system calculates the probability on a proportional basis.
41 What does the system do when you perform the function Reducing Invoices
a Reduce an invoice
b Post invoice for the actual quantities and values
c Post a credit memo for the amount reduced
d Post a debit memo for the amount reduced
e Facilitate generation of a letter of complaint to the vendor.
42 A purchase order has been issued for 60 pieces at 5.00UNI/pc. Goods receipt for the purchase order is 40 pieces.. He receives an invoice for 60 pieces at the PO price along with a 10% tax.The purchase manager decides that the invoice has to be reduced. How does the system behave if this invoice is reduced?
a Vendor account is debited with 220 UNI in the invoice
b The input tax is credited with 30 UNI in the invoice
c The input tax is debited with 10 UNI in the credit note
d The vendor account is credited with 110 UNI in the credit memo.
e The clearing account for the invoice is credited with 100 UNI.
43 You have a purchase order for 50 pieces at 20UNI/pc. You receive 30 pieces and an invoice for 50 pieces at 25UNI/pc. You over write the suggested quantity in the invoice verification with the invoice quantity of 50 pieces and also the suggested amount of 600 UNI with 1000 UNI. What kind of partial reduction will the system perform?
a Price variance
b Quantity variance.
44 A vendor is issued a purchase order for 200 pieces at 10 UNI/pc and 10% tax. There was a goods receipt of 140 Pieces. The vendor sends an invoice for 200 pieces at 12 UNI/pc. The Purchase manager decides on a partial reduction with quantity variance. What will be accounting entries for the invoice and credit memo?
a Stock account in the invoice document is 300+
b Stock account does not get affected.
c Input tax in credit memo is 60-
d Vendor account in the credit memo is 660+
e Vendor account in the credit memo is 440+
45 What entries does the system pass at invoice verification if non- valuated goods receipt is defined for a purchase order with account assignment?
a Stock account debited
b Consumption account debited
c Vendor account credited
d GR/IR account debited
e GR/IR account credited
46 What can be the possible entries the system can make during invoice verification if a valuated good receipt is defined for a purchase order with account assignment and there is a price variance?
a Debit consumption
b Credit consumption
c Debit GR/IR
d Credit GR/IR
e Credit Vendor
47 Can the account assignment defined in the purchase order and suggested by the system during invoice verification be changed if valuated goods receipt are defined for the purchase order?
Yes
No
48 When does the system propose current account assignment?
Goods receipt
Invoice Verification
49 Can you inform the vendor the cause of invoice reduction in the letter of complaint while performing Total-Based Invoice reduction?
Yes
No
50 In Total Based acceptance what validations can the system do before deciding that the balance is too large for the invoice to be posted
a First checks whether the variance falls within the defined invoice reduction limit.
b First checks whether the variance falls within the small difference.
c If the difference is greater than the small difference it checks whether the variance falls within the defined invoice reduction limit.
d If the positive difference is greater than the small difference it checks whether the variance falls within the defined invoice reduction limit.
e If the invoice reduction limits are set to do not check, the system compares the variance with the acceptance limit.
51 Which costs are entered at item level in the purchase order?
Planned delivery costs
Unplanned delivery costs
52 A purchase order has been issued on a vendor for two materials. 150 units of material A has been ordered at 4 UNI/pc. 20 units of material B has been ordered at 45 UNI/pc. Two deliveries have taken place. In the first delivery the vendor has supplied 50 units of material A and 4 units of material B. In the second delivery the vendor has supplied 75 units of material A and 6 units of material B. The invoices for both the deliveries have been received and posted. He now sends an invoice of 950 UNI for delivery costs for both the deliveries that was not planned. The system has been configured to distribute delivery costs amongst items. How will the cost be apportioned to the material when the invoice is posted?
a Material A: 500 UNI
b Material A: 380 UNI
c Material B: 570 UNI
d Material B: 450 UNI
53 A purchase order has been issued on a vendor for two materials. 150 units of material A has been ordered at 4 UNI/pc. 20 units of material B has been ordered at 45 UNI/pc. The vendor has supplied all the materials. The invoice for the supply has been received and posted. He now sends an invoice that includes 875 UNI as freight charges and 125 UNI as custom duty that was not planned. The system has been configured to distribute delivery costs amongst items. How will the cost be apportioned when the invoice is posted?
a Stock account for Material A 380 +, Stock account for Material B 570 +
b Stock account for Material A 500 +, Stock account for Material B 450 +
c Freight clearing 875+
d Custom clearing 125 +
54 In customizing for invoice verification how can you configure unplanned delivery costs?
Distribute among the items
Post to separate G/L account
55 In which method does the unplanned delivery cost appear in the purchase order history?
When distributed among items
When posted to separate G/L accounts
56 What are the features of subsequent debit/credit?
a Changes total invoice value of a PO item.
b Changes total invoice quantity.
c Entries can be made only if an invoice has already been posted for the item
d Refers to a specific invoice.
e Flagged in the Purchase order history
57 Mentioned below are the details for a purchase order:Purchase order: 50 pcs at 2.00 UNI/pcGoods receipt: noneInvoice: 50 pcs at 2.00 UNI/pcSubsequent Invoice: 50 pcs = 20.00UNIWhat will be accounting entries when you post the invoice and make the subsequent debit/credit?
a Invoice: Vendor Account 100-
b Invoice: GR/IR account 100+
c Subsequent debit/credit: Stock account: 20+
d Subsequent debit credit: GR/IR account 20+
e Subsequent debit/credit: Vendor account 20-
58 When you post invoice items without reference to purchase orders where do have the facility for using display variants?
a Purchase order reference tab
b G/L Account tab
c Material tab
59 When you post invoice items without reference to purchase orders in which of the methods is the posting not made to a GR/IR clearing account?
Posting directly to G/L account
Posting directly to a material
60 When you post invoice items without reference to purchase orders on which tab page will you enter the currency?
a G/L account
b Material
c Basic Data
d Payment
e Detail
60 When you post invoice items without reference to purchase orders on which tab page can you enter the item data?
a G/L account
b Material
c Basic Data
d Payment
e Detail
61 What are the features of a Document Parking process?
a Saves the data
b Assigns a number to the document.
c Posts the data
d Lists document in the purchase order
e Deletes header and line items when document is deleted.
62 In which of the Document parking methods are the purchase order commitments cancelled out?
a Hold document
b Park document
c Save document as complete
63 In which of the document parking methods is the document taken into account during tax reporting?
a Park document
b Hold document
c Save document as complete
64 Which documents can you park?
a Delivery notes
b Credit memos
c Subsequent debit
d Subsequent credit
e Invoice
65 Of what is the work item a feature?
a Invoice verification
b Credit memos
c Subsequent debit/credit memos
d Document parking
66 What does a user in the completion processor group have to do to end the work flow?
a Save the invoice as complete
b Delete the invoice
c Post the invoice.
67 What are the features of a release procedure?
a Used for approval for release before the invoice documents are posted.
b On release the document gets posted
c On refusal of release the document is deleted.
d On refusal the document id returned to invoice verification for changes.
e The changed invoice document generates a new work item in the inbox of the person responsible for release.
68 If a vendor has charged a higher price in the invoice what do you enter?
a Credit memo
b Subsequent debit/credit?
69 What are the features of Invoice reversals?
a R/3 system creates a credit memo.
b In the accounting entry a price difference account can be posted while dealing with a material with moving average price.
c Even part of the invoice gets reversed.
d On reversal of a credit memo an invoice is created.
e You cannot reverse a reversal document.
70 In which of the following situations can an invoice not get blocked?
a Automatically due to variances in an item
b By entering a payment block manually
c By stochastic blocking
71 Release of blocked invoice for payment deletes the payment block.
TRUE
FALSE
72 What should you do to extend the payment period when you release the invoice?
a Make selection
b Release manually
c Release automatically
d Change baseline date for payment
e Select blocking procedure.
73 Which of the blocking reasons that no longer apply in all invoices that match the selection made gets deleted?
a Q
b D
c P
d I
74 Can you manually release items individually in an invoice?
Yes
No
75 What happens if the balance exceeds the tolerance limits in Invoice Verification in the background?
a The invoice documents are saved with the items created.
b The invoice document must be processed manually later
c The invoice document can be processed in the background again.
76 Can you change the invoice document manually and flag it for Invoice verification in the background again?
Yes
No
77 In which can you not settle delivery costs?
ERS
EDI
78 In which does the vendor not have to issue an invoice?
ERS
EDI
79 What happens to the GR/IR clearing account when the invoice quantity is greater than the delivered quantity.
a GR/IR clearing account must be maintained manually
b Another goods receipt is expected.
c Another invoice is expected.
d Another credit memo is expected
e Another return delivery is expected.
80 What happens when the open item in the GR/IR clearing account is cleared manually for a material with moving average price.?
a Stock account credited /debited if sufficient stock coverage.
b Posting to a price difference account if no stock coverage.
c Vendor account debited
d Vendor account credited.
81 To what is a chart of accounts assigned?
a Each Valuation area
b To each company code
c To each client
d To each plant
82 On what basis is automatic postings done for transactions?
a Accounts defined in chart of accounts.
b Accounts configured to dependent on valuation area
c Accounts configured to depend on debit/credit indicator.
83 On which transaction is the number range for EDI configured?
RD
RS
84 What is the document type for Gross posting?
a RD
b RS
c RE
d RN
85 For what can you define in a tax code whether the original document should be posted with a reduced tax or if the tax has to be corrected in the reduction document?
a Basic data
b Unplanned delivery costs
c Invoice reduction
d Invoices in foreign currencies.
87 In the settings for Bar code entry, to what do you assign a paper document type?
a Account assignment
b Document type
c Company code
d Transaction
e Plant
88 For what do you define a layout in customization?
Activating direct posting
Choosing an aggregation variant
89 When you set the duplicate invoice check reference as the reference criteria, what does this check validate?
a Company code
b Vendor
c Reference
d Document date
e Currency
90 Where would you define the probability for blocking in customization?
a Manual block
b Automatic block
c Stochastic block
91 What settings are possible in customizing to enable the system to react to variances based on purchase order and purchase order history?
a Only park
b Accept or park with tolerances
c Accept
d Reduce.
92 What is associated with message determination settings in customization of Invoice verification?
a Release group
b Condition tables
c Access sequences
d Tolerance limits
e Requirements
93 What authorizations can you set for each user in Invoice verification?
a Company codes in which postings can be made.
b Plants in which postings can be made.
c The blocking reasons that can be deleted
d Whether variances can be accepted manually without item reference.
e Assignment of user to tolerance group.
94 What does the transaction key BSX represent?
GR/IR clearing posting
Inventory Posting
95 Within which area do MM transactions for which you can configure the automatic posting facility occur?
a Purchasing management
b Materials Requirement Planning
c Inventory Management
d Invoice Verification
e Material Valuation
96 What are the influencing factors for configuration of account determination?
a Chart of accounts
b Material
c Material type
d MM transaction
97 What is the key for account determination that enables a differentiation for G/L account assignment depending on material
a Valuation grouping code
b Material
c Transaction
d Chart of accounts
e Material Type
98 Valuation grouping codes can correspond to a single chart of account.
TRUE
FALSE
99 Which chart of accounts includes specific requirements pertaining to consolidation?
a Country-specific chart of accounts
b Group Chart of accounts
100 What can you do if you want to turn off the dependency of account determination function on the valuation area?
a Create group chart of accounts
b Activate valuation grouping code
c Assign materials to a valuation class for each valuation area on the accounting view.
d Deactivate valuation grouping code
110 You have activated the valuation grouping code. What must necessarily follow?
a You must allow more than one valuation class for a material type.
b More than one material type can be allowed for a valuation class.
c You must assign a code to each valuation area.
d You can assign more than one valuation class to an account category reference.
111 What can be the relationship between the valuation area and the valuation grouping code?
a 1 to 1
b 1 to many
c Many to 1
d Many to many
112 Which one among the following options describes best the relationship between chart of accounts and company code?
a 1 to 1
b Many to 1
c 1 to many
d Many to many
113 What can be the relationship between valuation class and material type?
a 1 to 1
b Many to many
c Many to 1
d 1 to many
114 What establishes the relationship between a valuation class and material type?
a Valuation grouping code
b Account category reference
c G/L account
d Valuation category
115 What highlights the relationship between material types and G/L accounts?
a All materials for a material type can be assigned to a G/L account.
.b Different material types with all materials within them can be assigned to a G/L account
c Two different materials within the same material type can be assigned to different G/L accounts
d Group several material types and assign different G/L accounts to different materials within this group.
116 You assign each material type that is subject to quantity-based and value-based inventory management to an account category reference which is mandatory.
TRUE
FALSE
117 What controls the posting to a price difference account?
a Material
b Valuation class
c Account category reference
d Valuation grouping code
e Transaction key
118 What contains the key for the respective posting transactions?
Transaction key
Value string
119 In which mode can you access the assignments of value strings to goods movements and the breakdown of the vaue strings into transaction keys in Customizing for Inventory management and Physical Inventory?
a mandatory
b Optional
c Display
120 What are the transaction keys used for the subcontracting item categories?
a EIN
b BSV
c EKG
d FRL
e FRN
121 What transaction key is used to post a valuated goods receipt for purchase order items not subject to account assignment?
a BSX
b WRX
c PRD
d KDM
e BSV
122 What is value string WA01 defined for ?
a Goods receipt of standard and subcontracting purchase order items without account assignment concerning valuated material into stock.
b Deliveries without charge
c Goods issues
d Other goods receipts
123 Which value string is defined for Goods receipt of standard and subcontracting purchase order items without account assignment concerning valuated material into stock.?
a WE01
b WA14
c WA01
124 Which valuation string is used for Delivery without charge for material subject to standard price control, with posting date in the previous period and the standard price in the posting period is different to the standard price in the current period?
a WE01
b WA14
c WA01
125 What is the key for account determination that enables a G/L account assignment differentiation for the offsetting entry for an inventory posting.
a Valuation grouping code
b Chart of accounts
c Account grouping
d Valuation class
125 For which transaction key in materials Management in the standard system is account grouping active?
a BSX
b WRX
c PRD
d GBB
126 For which transactions can you change the account grouping?
a Invoice verification
b Inventory Management.
127 The rules that you use to define if the configuration of automatic posting for a posting transaction depends on which of the influencing factors?
a Valuation Group code
b Material/material type
c Account grouping
d Chart of accounts
e Valuation class
128 From where do the transaction keys for delivery cost postings come ?
a Purchasing calculation schema
b Value string
129 What does the system use for the account assignment category to determine the default account?
a Transaction key PRD
b Transaction key GBB
c Valuation group code
d Account grouping
e Valuation class
130 What are the characteristics of a Document type for Accounting documents?
a Two character alphanumeric code
b One number range per document
c Cannot assign authorization group
d Determines whether net posting is determined for the documents.
e Account types that may be used with the document type may be selected when entering documents.
131 What are the features of number assignment for accounting documents from MM?
a Configured for each company code
b Always linked to the fiscal year
c Numbers assigned without gaps
d Defines whether number assignment is external or internal
e The interval from which the number is assigned.
127 The rules that you use to define if the configuration of automatic posting for a posting transaction depends on which of the influencing factors?
a Valuation Group code
b Material/material type
c Account grouping
d Chart of accounts
e Valuation class
128 From where do the transaction keys for delivery cost postings come ?
a Purchasing calculation schema
b Value string
129 What does the system use for the account assignment category to determine the default account?
a Transaction key PRD
b Transaction key GBB
c Valuation group code
d Account grouping
e Valuation class
130 What are the characteristics of a Document type for Accounting documents?
a Two character alphanumeric code
b One number range per document
c Cannot assign authorization group
d Determines whether net posting is determined for the documents.
e Account types that may be used with the document type may be selected when entering documents.
131 What are the features of number assignment for accounting documents from MM?
a Configured for each company code
b Always linked to the fiscal year
c Numbers assigned without gaps
d Defines whether number assignment is external or internal
e The interval from which the number is assigned.
Last edited by SAPman : 03-11-2006 at 04:59 PM.
SAPman
View Public Profile
Send a private message to SAPman
Visit SAPman's homepage!
Find all posts by SAPman
#2 03-11-2006
SAPman
Senior Member Join Date: Oct 2005
Posts: 132
See note at end regarding quality of answers.
1
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- No
2
a --- Yes
b --- Yes
c --- Yes
d --- Yes
e --- Yes
3
a --- Yes
b --- Yes
c --- Yes
d --- Yes
4
a --- Yes
b --- Yes
c --- Yes
d --- Yes
e --- Yes
5
a --- No
b --- Yes
c --- Yes
d --- No
e --- Yes
6
a --- Yes
b ---
7
a --- No
b --- No
c --- No
d --- Yes
e --- No
8
a --- No
b --- No
c --- Yes
d --- No
e --- No
9
TRUE ---
10
a --- No
b --- No
c --- Yes
d --- Yes
e --- No
11
a --- Yes
b --- Yes
c --- No
d --- No
e --- No
12
TRUE ---
13
a --- No
b --- No
c --- Yes
d --- No
e --- No
14
a --- Yes
b --- No
c --- Yes
d --- No
e --- Yes
15
Whether you want to enter an invoice --- No
Whether you want to enter a credit memo. --- No
16
Yes
17
a --- Yes
b --- Yes
c --- Yes
d --- Yes
18
a --- Yes
b --- Yes
c --- No
d --- Yes
19
FALSE
20
GR Based IV
21
NO
22
a --- No
b --- No
c --- No
d --- No
e --- No
23
a --- Yes
b --- Yes
c --- Yes
d --- No
e --- Yes
24
Yes
NET POSTING
25
Doc type
26
a
b --- No
c --- No
d --- Yes
e --- No
27
Non-operating result
Non-operating result --- Yes
28
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- Yes
29
a --- No
b --- Yes
c --- No
d --- No
e --- Yes
30
a ---
b --- Yes
31
a --- Yes
b --- Yes
c --- Yes
32
a --- No
b --- Yes
c --- No
d --- Yes
e --- No
33
a --- No
b --- Yes
c --- No
d --- Yes
e --- No
34
At PO price
--- Yes
35
At PO price
36
At GR concerned
--- Yes
37
a
b --- Yes
c --- Yes
38
a --- No
b --- No
c --- Yes
d --- No
e --- Yes
39
TRUE
--- Yes
40
a --- Yes
b --- Yes
c --- Yes
d --- No
e --- Yes
41
a --- No
b --- Yes
c --- Yes
d --- No
e
42
a --- No
b --- Yes
c --- Yes
d --- Yes
e --- No
43
a --- Yes
b
44
a --- Yes
b --- No
c --- Yes
d --- Yes
e --- No
45
a --- No
b --- Yes
c --- Yes
d --- No
e --- No
46
a --- Yes
b --- Yes
c --- Yes
d --- No
e --- Yes
47
NO
48
GR - No
IV - yes
49
YES
--- Yes
50
a --- No
b --- Yes
c --- No
d --- Yes
e --- Yes
51
Planned delivery cost
52
a --- Yes
b --- No
c --- No
d --- Yes
53
a --- Yes
b --- No
c --- No
d --- No
54
Distribute among the items --- yes
Post to separate G/L account --- yes
55
When distributed among items --- No
When posted to separate G/L accounts --- No
56
a --- Yes
b --- No
c --- Yes
d --- No
e --- Yes
57
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- Yes
58
a --- No
b --- Yes
c --- No
59
Posting directly to G/L account --- No
Posting directly to a material --- No
60
a --- No
b --- No
c --- Yes
d --- No
e --- No
60
a --- Yes
b --- Yes
c --- No
d --- No
e --- No
61
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- No
62
a --- No
b --- No
c --- Yes
63
a --- Yes
b --- No
c --- Yes
64
a --- No
b --- Yes
c --- Yes
d --- Yes
e --- Yes
65
a --- No
b --- No
c --- No
d --- Yes
66
a --- Yes
b --- Yes
c --- Yes
67
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- Yes
68
a
b --- Yes
69
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- Yes
70
a --- No
b --- No
c --- No
71
TRUE
72
a --- No
b --- No
c --- No
d --- Yes
e --- No
73
a --- Yes
b --- No
c --- Yes
d --- Yes
74
YES
75
a --- Yes
b --- Yes
c --- No
76
YES
77
ERS --- Yes
EDI --- Yes
78
ERS --- Yes
EDI
79
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- No
80
a --- Yes
b --- Yes
c --- No
d --- No
81
a --- No
b --- Yes
c --- No
d --- No
82
a --- Yes
b --- Yes
c --- Yes
83
RD
RS --- Yes
84
a --- No
b --- No
c --- Yes
d --- No
85
a --- No
b --- No
c --- Yes
d --- No
87
a --- No
b --- Yes
c --- No
d --- No
e --- No
88
Activating direct posting --- No
Choosing an aggregation variant --- Yes
89
a --- Yes
b --- No
c --- Yes
d --- Yes
e --- No
90
a --- No
b --- No
c --- Yes
91
a --- Yes
b --- Yes
c --- Yes
d --- Yes
92
a --- No
b --- Yes
c --- Yes
d --- No
e --- Yes
93
a --- Yes
b --- Yes
c --- Yes
d --- Yes
e --- Yes
94
GR/IR clearing posting
Inventory Posting --- Yes
95
a --- No
b --- No
c --- Yes
d --- Yes
e --- Yes
96
a --- Yes
b --- Yes
c --- Yes
d --- Yes
97
a --- No
b --- Yes
c --- No
d --- No
e --- Yes
98
TRUE --- Yes
99
a
b --- Yes
100
a --- No
b --- No
c --- No
d --- Yes
110
a --- No
b --- No
c --- Yes
d --- No
111
a --- Yes
b --- No
c --- Yes
d --- No
112
a --- No
b --- No
c --- Yes
d --- No
113
a --- Yes
b --- Yes
c --- Yes
d --- Yes
114
a --- No
b --- Yes
c --- Yes
d --- Yes
115
a --- Yes
.b --- Yes
c --- Yes
d --- Yes
116
TRUE
117
a --- No
b --- No
c --- No
d --- No
e --- Yes
118
Transaction key
Value string --- Yes
119
a --- No
b --- No
c --- Yes
120
a --- No
b --- Yes
c --- No
d --- Yes
e --- Yes
121
a --- Yes
b --- No
c --- No
d --- No
e --- No
122
a --- No
b --- No
c --- Yes
d --- Yes
123
a --- Yes
b --- No
c --- No
124
a --- No
b --- Yes
c --- No
125
a --- No
b --- No
c --- Yes
d --- No
125
a --- No
b --- No
c --- No
d --- Yes
126
a
b --- Yes
127
a --- Yes
b --- No
c --- Yes
d --- No
e --- Yes
128
a --- Yes
b
129
a --- No
b --- Yes
c --- No
d --- Yes
e --- No
130
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- Yes
131
a --- Yes
b --- No
c --- Yes
d --- Yes
e --- Yes
127
a --- Yes
b --- No
c --- Yes
d --- No
e --- Yes
128
a --- Yes
b
129
a --- No
b --- Yes
c --- No
d --- Yes
e --- No
130
a --- Yes
b --- Yes
c --- No
d --- Yes
e --- Yes
131
a --- Yes
b --- No
c --- Yes
d --- Yes
e --- Yes
The quality of the answers are not very good. In time I will clean up the answers -- in the mean time, if you have better answers, please post reply here.
Last edited by SAPman : 03-11-2006 at 03:57 PM.
SAPman
View Public Profile
Send a private message to SAPman
Visit SAPman's homepage!
Find all posts by SAPman
« Previous Thread | Next Thread »
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
code is On
HTML code is Off
Forum Jump
User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Learning SAP Guides and HOWTO documents SAP Certification MM SD FI/CO SRM Discussion Forum Materials Management (MM) Sales & Distribution (SD) Financial Accounting (FI) and Controlling (CO) Cross Application Supplier Relationship Management (SRM) Managing SAP Projects SAP123 Web site Introductions & Feedback Garbage & Testing -
SAP ERP 2005 SR 2 IDES installation error in step "Run ABAP Reports"
Hello,
I'm installing SAP ERP 2005 SR 2 IDES on Win2003 R2 SP2 and Oracle 10.2 to create a test-system for my diploma thesis.
During the step "Import ABAP" I got the following message:
object_checker.log
ERROR: 2008-05-21 20:50:38
1 objects have error/ignore/execute or unknown status in the task lines.
Invalid objects are saved in 'invalid_objects.txt' file.
invalid_objects.txt
package object type action status
SAPDFACT ?N pkey create
but the installation went on until "Run ABAP Reports".
Warnings and Errors in sapinst.log are:
WARNING 2008-05-27 15:09:36
Execution of the command "C:\usr\sap\IMP\SYS\exe\uc\NTI386\stopsap.exe name=IMP nr=00 SAPDIAHOST=imperia-sap" finished with return code -1. Output:
STOPSAP: execution of C:\usr\sap\IMP\SYS\exe\uc\NTI386\sapntwaitforhalt.exe name=IMP nr=00 SAPDIAHOST=imperia-sap 3600 failed
Details are written to C:\Programme\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\stopsap.log
WARNING 2008-05-27 15:09:36
Could not stop instance 'DVEBMGS00' of SAP system IMP.
WARNING 2008-05-27 15:09:38
Connect to message server (imperia-sap/3900) failed: NIECONN_REFUSED.
WARNING[E] 2008-05-27 15:12:05
FSL-06002 Error 1060 (Der angegebene Dienst ist kein installierter Dienst.) in execution of a 'OpenService' function, line (266), with parameter (sapccmsr.00).
WARNING[E] 2008-05-27 15:21:42
FRF-00007 Unable to open RFC connection.
ERROR 2008-05-27 16:30:15
FRF-00025 Unable to call function. Error message: connection closed without message (CM_NO_DATA_RECEIVED) .
INFO 2008-05-27 16:30:19
RFC connection closed.
ERROR 2008-05-27 16:30:45
MUT-03025 Caught ERfcExcept in Modulecall: connection closed without message (CM_NO_DATA_RECEIVED).
ERROR 2008-05-27 16:30:47
FCO-00011 The step runRADDBDIF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_ABAP_Reports|ind|ind|ind|ind|2|0|runRADDBDIF was executed with status ERROR .
Full log of today is available at [http://pastebin.com/f43531f97]
Has anyone an idea how I can finish this installation?
Thx
DanieleIt seems that the system did not come up and thus the RFC call fails.
What´s the output of
dev_w0
dev_disp
(in the ...work directory)?
Markus -
Job for V3 updates failing for inventory
Dear all,
We have implemented inventory in BW and are extracting data from R/3 using LO extraction method. The V3 update is scheduled in R/3 using 'Queued Delta' method. It has been running fine for last six months or so but suddenly the V3 update job in R/3 started failing with a dump (This does not happen for other LO applications). The dump says that a structure has been changed for this application but doesn't say which one. We found a solution for this kind of problem in SAP notes 834897, 838050 and 835466 but before we can implement these we need to identify which structure was changed. The dump is as follows:
START OF DUMP----
Runtime Errors MESSAGE_TYPE_X
Date and Time 05.10.2007 15:03:31
Short text
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
Short text of error message:
Structures have changed (sy-subrc=2)
Long text of error message:
Technical information about the message:
Message class....... "MCEX"
Number.............. 194
Variable 1.......... 2
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLMCEX" or "LMCEXU02"
"MCEX_UPDATE_03"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "erpdevmil"
Network address...... "10.100.100.22"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 24
Shortdump setting.... "full"
Database server... "ERPDEVMIL"
Database type..... "MSSQL"
Database name..... "RD1"
Database user ID.. "rd1"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Mar 20 2007 00:05:20"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 102
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16192
EM...... 20949200
Heap.... 0
Page.... 40960
MM Used. 2661520
MM Free. 1525696
User and Transaction
Client.............. 200
User................ "ENTEG1"
Language key........ "E"
Transaction......... " "
Program............. "SAPLMCEX"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
Termination occurred in the ABAP program "SAPLMCEX" - in "MCEX_UPDATE_03".
The main program was "RMCEXUP1 ".
In the source code you have the termination point in line 59
of the (Include) program "LMCEXU02".
The program "SAPLMCEX" was started as a background job.
Job Name....... "LIS-BW-VB_APPLICATION_03_200"
Job Initiator.. "ENTEG1"
Job Number..... 15033001
Source Code Extract
Line
SourceCde
29
30
IF NOT I_DDIC_HASH IS INITIAL.
31
32
IF gf_tmsp_hash_ok IS INITIAL.
33
34
CALL FUNCTION 'MCEX_GEN_AND_CHECK_HASH'
35
EXPORTING
36
I_FUNCNAME = 'MCEX_UPDATE_03'
37
I_COLLECTIVE_RUN = 'X'
38
I_APPLICATION = '03'
39
I_STORED_DDIC_HASH = I_DDIC_HASH
40
I_STORED_TMSP_HASH = I_TMSP_HASH
41
IMPORTING
42
E_DDIC_HASH = I_DDIC_HASH
43
E_TMSP_HASH = lf_TMSP_HASH
44
EXCEPTIONS
45
HASH_COMPARE_OK = 1
46
HASH_COMPARE_NOT_OK = 2
47
NO_INTERFACE = 3
48
HASH_ERROR = 4
49
DDIC_ERROR = 5
50
OTHERS = 6 .
51
52
IF I_TMSP_HASH = lf_tmsp_hash.
53
gf_tmsp_hash_ok = true.
54
ENDIF.
55
case sy-subrc.
56
when 0. " Compare OK - do nothing
57
when 1. " Compare OK - do nothing
58
when 2. " Compare not ok - abort
>>>>>
message x194(mcex) with sy-subrc.
60
when others.
61
message x193(mcex) with sy-subrc.
62
endcase.
63
endif.
64
endif.
65
66
HASH*****************************************************************
67
68
69
Structure for logging.
70
DATA: l_mcsi_key LIKE mcs06.
71
72
DATA: ls_mcexlog_info LIKE mcexlog_info. "MCEXLOG766622
73
74
Initialization of tables
75
REFRESH: mc03bf0_tab,
76
mc03bx0_tab,
77
mc03um0_tab.
78
Contents of system fields
Name
Val.
SY-SUBRC
2
SY-INDEX
0
SY-TABIX
3
SY-DBCNT
0
SY-FDPOS
30
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
BW Logistics Extraction Delta Update
SY-MSGTY
X
SY-MSGID
MCEX
SY-MSGNO
194
SY-MSGV1
2
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20071005
SY-UZEIT
150331
SY-XPROG
SAPMSSY1
SY-XFORM
XAB_READ
Active Calls/Events
No. Ty. Program Include Line
Name
8 FUNCTION SAPLMCEX LMCEXU02 59
MCEX_UPDATE_03
7 FUNCTION SAPLMCEX LMCEXU43 13
MCEX_UPDATE_03_QRFC
6 FORM SAPLMCEX LMCEXU43 1
MCEX_UPDATE_03_QRFC
5 FORM SAPMSSY1 SAPMSSY1 271
XAB_RUN_DRIVER
4 FUNCTION SAPLSXAB LSXABU01 9
RFC_RUN_XAB_DRIVER
3 FUNCTION SAPLERFC LERFCU01 75
ARFC_EXECUTE
2 FUNCTION SAPLERFC LERFCU11 116
TRFC_QOUT_GET_AND_PROCESS
1 EVENT RMCEXUP1 RMCEXUP1 7
START-OF-SELECTION
Chosen variables
Name
Val.
No. 8 Ty. FUNCTION
Name MCEX_UPDATE_03
CONTR
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I_DDIC_HASH
##ºªÜç##Ä#µõ#×#å
21BADE19C8BF0D0E
3AAAC7EC4C55C7F5
I_TMSP_HASH
gr\u00D3µ##A´}9Ç##*;
675DB824B73C8923
72C35F314D97BDAB
ZEITP
BF
44
26
00
00
XMCBEST[]
Table IT_140[6x1294]
FUNCTION-POOL=MCEXFORM=MCEX_UPDATE_03_QRFCDATA=%_%_XMCBEST
Table reference: 21
TABH+ 0(20) = 8088336DFE070000908B2A6DFE07000000000000
TABH+ 20(20) = 150000008C000000060000000E050000FFFFFFFF
TABH+ 40(16) = 04540000E06C000008000000C1308001
store = 0x8088336DFE070000
ext1 = 0x908B2A6DFE070000
shmId = 0 (0x00000000)
id = 21 (0x15000000)
label = 140 (0x8C000000)
fill = 6 (0x06000000)
leng = 1294 (0x0E050000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000566
occu = 8 (0x08000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x70B9376DFE070000
pgHook = 0x0000000000000000
idxPtr = 0x0000000000000000
shmTabhSet = 0x0000000000000000
id = 137 (0x89000000)
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 8 (0x08000000)
lineAlloc = 8 (0x08000000)
shmVersId = 0 (0x00000000)
shmRefCount = 1 (0x01000000)
>>>>> 1st level extension part <<<<<
regHook = 0x0000000000000000
collHook = 0x0000000000000000
ext2 = 0x6089336DFE070000
>>>>> 2nd level extension part <<<<<
tabhBack = 0x2072226DFE070000
delta_head = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x0000000000000000
pb_handle = 0x0000000000000000
XMCMSEG[]
Table IT_141[3x4332]
FUNCTION-POOL=MCEXFORM=MCEX_UPDATE_03_QRFCDATA=%_%_XMCMSEG
Table reference: 23
TABH+ 0(20) = F088336DFE070000408A336DFE07000000000000
TABH+ 20(20) = 170000008D00000003000000EC100000FFFFFFFF
TABH+ 40(16) = 04540000406D000002000000C1308001
store = 0xF088336DFE070000
ext1 = 0x408A336DFE070000
shmId = 0 (0x00000000)
id = 23 (0x17000000)
label = 141 (0x8D000000)
fill = 3 (0x03000000)
leng = 4332 (0xEC100000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000568
occu = 2 (0x02000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x0024386DFE070000
pgHook = 0xE08F2A6DFE070000
idxPtr = 0x0000000000000000
shmTabhSet = 0x0000000000000000
id = 140 (0x8C000000)
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 4 (0x04000000)
lineAlloc = 4 (0x04000000)
shmVersId = 0 (0x00000000)
shmRefCount = 1 (0x01000000)
>>>>> 1st level extension part <<<<<
regHook = 0x0000000000000000
collHook = 0x0000000000000000
ext2 = 0xD089336DFE070000
>>>>> 2nd level extension part <<<<<
tabhBack = 0x30A53A6DFE070000
delta_head = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x0000000000000000
pb_handle = 0x0000000000000000
SY-REPID
SAPLMCEX
5454444522222222222222222222222222222222
310CD35800000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
MC40RP0REVSETUP
0000000000###############################################################################
2222233333333330000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CKS_EN
9
3
9
0
0
SY-SUBRC
2
0000
2000
%_DUMMY$$
2222
0000
0000
0000
T001
00
2222222222222222222222222222222222222222222222222222222222222222222222332222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SY-XPROG
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
SY-MSGID
MCEX
44452222222222222222
D3580000000000000000
00000000000000000000
00000000000000000000
ITAB_SETUPTAB
22222222222222222222222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000
MC06M_0ITM_TAB[]
Table[initial]
SPACE
2
0
0
0
SY-MSGNO
194
333
194
000
000
ITAB_SETUPTAB[]
Table[initial]
SY-MSGV1
2
32222222222222222222222222222222222222222222222222
20000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
SY-MSGV2
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
SY-MSGV3
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
SY-MSGV4
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000
%_VIASELSCR
0
4
GT_TMCEXUPD[]
Table[initial]
No. 7 Ty. FUNCTION
Name MCEX_UPDATE_03_QRFC
CONTR
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I_DDIC_HASH
5)¢Ð#M###ÁÒ¼rHõº
32AD14919CDB74FB
59202D95E12C285A
I_TMSP_HASH
gr\u00D3µ##A´}9Ç##*;
675DB824B73C8923
72C35F314D97BDAB
ZEITP
BF
44
26
00
00
XMCBEST[]
Table IT_140[6x1294]
XMCMSEG[]
Table IT_141[3x4332]
CSTRUC_NTF
MCQMEL MCQMFE MCQMUR MCQM
4454442222222222222222222222224454442222222222222222222222224454552222222222222222222222224454
D31D5C000000000000000000000000D31D65000000000000000000000000D31D52000000000000000000000000D31D
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
ESTRUC_I0
MC17I00NTF MC17I00ITM MC17I00CSE MC17
4433433454222222222222222222224433433454222222222222222222224433433454222222222222222222224433
D317900E4600000000000000000000D31790094D00000000000000000000D31790033500000000000000000000D317
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
No. 6 Ty. FORM
Name MCEX_UPDATE_03_QRFC
CON_MCVBUP
MCVBUP
445455222222222222222222222222
D36250000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
%_%_CONTR
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
%_%_I_DDIC_HASH
5)¢Ð#M###ÁÒ¼rHõº
32AD14919CDB74FB
59202D95E12C285A
%_%_I_TMSP_HASH
gr\u00D3µ##A´}9Ç##*;
675DB824B73C8923
72C35F314D97BDAB
%_%_ZEITP
BF
44
26
00
00
%_%_XMCBEST
Table IT_140[6x1294]
%_%_XMCMSEG
Table IT_141[3x4332]
No. 5 Ty. FORM
Name XAB_RUN_DRIVER
SYST-REPID
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
PROGRAM
SAPLERFC
5454454422222222222222222222222222222222
310C526300000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
PROG
SAPLERFC
5454454422222222222222222222222222222222
310C526300000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
NEW_FUNCTION
222222222222222222222222222222
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
RFCTYPE_ABAP4_EXIT
7
0000
7000
SY-XFORM
XAB_READ
544554442222222222222222222222
812F25140000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
IF_FOUND
0
0000
0000
SY-XPROG
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
%_SPACE
2
0
0
0
No. 4 Ty. FUNCTION
Name RFC_RUN_XAB_DRIVER
NEW_FUNCTION
222222222222222222222222222222
000000000000000000000000000000
000000000000000000000000000000
000000000000000000000000000000
PROGRAM
SAPLERFC
5454454422222222222222222222222222222222
310C526300000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
%_VIASELSCR
0
4
SY-XPROG
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
SYST-REPID
SAPLSXAB
5454554422222222222222222222222222222222
310C381200000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
No. 3 Ty. FUNCTION
Name ARFC_EXECUTE
SYST-REPID
SAPLERFC
5454454422222222222222222222222222222222
310C526300000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
QRETDATA
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
CL_BGRFC_SERVER=>TID
222222222222222222222222
000000000000000000000000
000000000000000000000000
000000000000000000000000
RECEIVER_TID
0A64641611A046DF840B0DEB
343333333343334433343444
016464161110464684020452
000000000000000000000000
000000000000000000000000
DATA[]
Table IT_134[2x1918]
FUNCTION=TRFC_QOUT_GET_AND_PROCESSDATA=IDATA[]
Table reference: 13
TABH+ 0(20) = 30A73A6DFE070000B06E226DFE07000000000000
TABH+ 20(20) = 0D00000086000000020000007E07000098000000
TABH+ 40(16) = 043300001013000008000000C1248001
store = 0x30A73A6DFE070000
ext1 = 0xB06E226DFE070000
shmId = 0 (0x00000000)
id = 13 (0x0D000000)
label = 134 (0x86000000)
fill = 2 (0x02000000)
leng = 1918 (0x7E070000)
loop = 152 (0x98000000)
xtyp = TYPE#000087
occu = 8 (0x08000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x709A316DFE070000
pgHook = 0x0000000000000000
idxPtr = 0x0000000000000000
shmTabhSet = 0x0000000000000000
id = 130 (0x82000000)
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 8 (0x08000000)
lineAlloc = 8 (0x08000000)
shmVersId = 0 (0x00000000)
shmRefCount = 1 (0x01000000)
>>>>> 1st level extension part <<<<<
regHook = 0x0000000000000000
collHook = 0x0000000000000000
ext2 = 0xB071226DFE070000
>>>>> 2nd level extension part <<<<<
tabhBack = 0xA084236DFE070000
delta_head = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x0000000000000000
pb_handle = 0x0000000000000000
DATA
0A64641611A046DF840B0DEBNONE 00000002##############################
343333333343334433343444444422222222222222222222222222223333333300010000072005019DBBC16F0064E1
016464161110464684020452EFE5000000000000000000000000000000000002000000330B003002DE5635F51F2936
000000000000000000000000000000000000000000000000000000000000000000070000F0E0630108F066BDB0ADB6
000000000000000000000000000000000000000000000000000000000000000002000325A2A0910F2E4D08DAE5730D
<%_L001>
QRFC_VERSION
6.30.060
32332333
6E30E060
00000000
00000000
ACT_QIN
000000000000000000000000
2222222222222222222222222222222222222222222222222223333333333333333333333332222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<%_L001>-ARFCBLCNT
USE_STOP
2
0
0
0
QRSTATE-ARFCTIME
22222222
00000000
00000000
00000000
NCALL
00000002
33333333
00000002
00000000
00000000
DATA-ARFCLUWCNT
00000002
33333333
00000002
00000000
00000000
STATE[]
Table IT_133[1x972]
FUNCTION=TRFC_QOUT_GET_AND_PROCESSDATA=ISTATE[]
Table reference: 15
TABH+ 0(20) = E0A83A6DFE070000208F286DFE07000000000000
TABH+ 20(20) = 0F0000008500000001000000CC030000FFFFFFFF
TABH+ 40(16) = 043300009011000010000000C1248001
store = 0xE0A83A6DFE070000
ext1 = 0x208F286DFE070000
shmId = 0 (0x00000000)
id = 15 (0x0F000000)
label = 133 (0x85000000)
fill = 1 (0x01000000)
leng = 972 (0xCC030000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000079
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
isCtfyAble = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x905D316DFE070000
pgHook = 0x0000000000000000
idxPtr = 0x0000000000000000
shmTabhSet = 0x0000000000000000
id = 129 (0x81000000)
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
shmVersId = 0 (0x00000000)
shmRefCount = 1 (0x01000000)
>>>>> 1st level extension part <<<<<
regHook = 0x0000000000000000
collHook = 0x0000000000000000
ext2 = 0xC08D286DFE070000
>>>>> 2nd level extension part <<<<<
tabhBack = 0x608E286DFE070000
delta_head = 0000000000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x0000000000000000
pb_handle = 0x0000000000000000
STATE
0A64641611A046DF840B0DEBNONE 00000002READ MCEX_UPDATE_03_QRFC
3433333333433344333434444444222222222222222222222222222233333333544422224445555445453355544222
016464161110464684020452EFE500000000000000000000000000000000000225140000D358F504145F03F1263000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0Hi,
they're only two extract structures: MC03BF0 and MC03UM0.
Open SE11 with the structures and from the menu utilities -> Versions -> Version Management you should see the changes and the corresponding tp requests...
hope this helps...
Olivier. -
ABAP Logic in Transformations-Start or Field Routine
Hi Experts,
As i am new to BW Please update me with the ABAP logic i need to implement in Transformation routine...and please advise me wether i can use that as a Start or field routine for a better performance.
Target DSO:
DSO A : Active Table:/BIC/AZDSOA
Fields (ZLOC,ZPAY_ID,ZNPAY_ID,ZOPAY_ID & ZCHG_DTE)
Source DSO
DSO B : Active Table:/BIC/BZDSOA
(ZLOC,ZPAY_ID)
DSO C : Active Table:/BIC/CZDSOA
Fields (ZLOC,ZPAY_ID,ZNPAY_ID & ZCHG_DTE(date))
While Transfering Data from DSO B-->DSO A
It should check DSO C for that ZLOC & ZPAY_ID
If ZCHG_DTE IS Blank then it should pick ZNPAY_ID for that ZLOC & ZPAY_ID from DSO C and update ZNPAY_ID in DSO A
if ZCHG_DTE IS not Blank then it should pick ZPAY_ID for that ZLOC & ZPAY_ID from DSO C and update ZOPAY_ID & ZCHG_DTE in DSO A
ZPAY_ID - Pay ID
ZNPAY_ID -New Pay ID
ZOPAY_ID -Old Pay ID
ZCHG_DTE -Change Date
ZLOC -Location.
Logic in words:
If Change date is Blank then it should pick new pay id for that Location & Pay Id and update NEw pay id field in DSO A
If Change date is not Blank then it should pick pay id for that Location & Pay Id and update old pay id field & change date in DSO A
Please update me with releavent code
ThanksIt must have something to do with your input variables - I ran this FM locally using my DOB and today's date and it worked fine.
make sure your input date types are in the correct format for the FM. -
URGENT : Please help: Purchasing and Inventory loads
I am currently in BWQ. I did the inital deletion of set up tables by LBWG and then ran the set up jobs through SBIW for Purchasing and Inventory.
I also did the industry setting and processkey .
I ran the init load yesterday and it gave some records and then deltas brought 0 records . For some reason I felt that there should not be 0 records and I went and deleted the set up table again and ran the set up jobs. I can see records in the set up table and RSA3.
But when I am running the load today it brings 0 records. I thought may be the delta ran this morning so it brought 0 records. therefore I ran the full repair reuqest but still there only 0 records.
Can someone explain this and advice what needs to be done.
ThanksHi BI TCS
Initially when you loaded init data you got some records and delta brought 0 records. This is logical if there are no new records creates in R/3 system or you have not executed delta collector job - Job control through LBWE for a particular application.
Now carry out following steps for purchasing data loads -
1.delete the setup tables using tcode LBWG
2.perform set up for the purchasing in background mode
3.check the job log for step 2 in SM27
4. find out no of documents written to setup tables for purchasing using tcode NPRT
5.Now load the init load to BW- this will load the data that you have covered under setup tables
6. Now create/change some data in R/3. This data must be withing your init range used in init infopackage. If you have done init load with no selection parameters then no problem.
7. Run job control for purachasing in LBWE
8. Now load the delta load -> it should load the correct delta data into BW.
Hope this resolves
Regards
Pradip -
External Inventory Feed - Wish to Exclude Customer Order Stock
We have an hourly inventory job, which writes available inventory to an external file. Recently, we learned that the report is including material which has already been reserved for future customer orders (see for example in MD04). We do not have an ABAP programmer on staff so I am posting our existing code below and would appreciate hugely an updated script.
I've seen references in other searches to MD04 and use of function 'MD_MPS_READ_STOCK_REQMTS' as well as 'BAPI_MATERIAL_STOCK_REQ_LIST', but do not know how to incorporate this into the hourly job.
As you can see, the report output is being pulled from MARD-LABST, unrestricted, but it needs to also exclude allocated customer order stock.
Thank you in advance for looking.
*& Report ZMM_INVENTORY_FEED*&*&---------------------------------------------------------------------**&*&*&---------------------------------------------------------------------*
REPORT zmm_inventory_feed NO STANDARD PAGE HEADING.
TABLES:mara,marc,mard,mvke.
*-------------Types Declaration----------------------------------------*TYPES:BEGIN OF ty_file,
text(500),
END OF ty_file,
BEGIN OF ty_mard,
matnr TYPE mard-matnr,
werks TYPE mard-werks,
lgort TYPE mard-lgort,
labst TYPE mard-labst,
mstae TYPE mara-mstae,
maktx TYPE makt-maktx,
mvgr2 TYPE mvke-mvgr2,
END OF ty_mard,
BEGIN OF ty_final,
supplier TYPE lfa1-lifnr, "Supplierid
matnr TYPE mard-matnr, "Item no
labst TYPE char13, "Qty
qtyback TYPE char13, "Qtyback
qtyorder TYPE char13, "Qtyorder
itemav TYPE c, "Itemavdate
itemdis TYPE char13, "Discount
desc TYPE makt-maktx, "Description
END OF ty_final.
*----------Internal Table Declaration---------------------------------*DATA:it_mard TYPE TABLE OF ty_mard,
it_final TYPE TABLE OF ty_final,
it_file TYPE TABLE OF ty_file,*----------Work Area Declaration--------------------------------------*
wa_mard TYPE ty_mard,
wa_temp TYPE ty_mard,
wa_final TYPE ty_final,
wa_file TYPE ty_file.
*----------Local variable Declaration---------------------------------*DATA: lv_labst TYPE char13,
lv_labst_i TYPE i,
lv_labst1 TYPE char13,
lv_labst2 TYPE j_1itaxvar-j_1itaxam1,
lv_mess TYPE string.DATA lv_filename TYPE char100.*----------Selection-Screen Declaration-------------------------------*SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS:s_mstae FOR mara-mstae OBLIGATORY, "Material Status
s_mvgr2 FOR mvke-mvgr2 OBLIGATORY, "Material Group
s_matnr FOR mara-matnr, "Material Number
s_werks for mard-werks,
s_lgort FOR mard-lgort.PARAMETERS: p_per(3) TYPE n DEFAULT 20, "Percentage
p_appl TYPE rlgrap-filename DEFAULT '\\Appsrv02\Datadown\DropShip_SAP_Test\'. "File Path
SELECTION-SCREEN END OF BLOCK b1.*----------End Of Declarations----------------------------------------*
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_appl.* PERFORM f4_filename. "F4 help for file path
START-OF-SELECTION.
PERFORM get_data.
PERFORM process_data.
PERFORM file_export.*&---------------------------------------------------------------------**& Form GET_DATA*&---------------------------------------------------------------------** text*----------------------------------------------------------------------*FORM get_data .
SELECT a~matnr
a~werks
a~lgort
a~labst
b~mstae
c~maktx
d~mvgr2 INTO CORRESPONDING FIELDS OF TABLE it_mard
FROM mard AS a
INNER JOIN mara AS b
ON b~matnr = a~matnr
INNER JOIN makt AS c
ON c~matnr = a~matnr
INNER JOIN mvke AS d
ON d~matnr = a~matnr
WHERE mstae in s_mstae "Exclude Material Status Filteration
AND a~werks IN ('1100','1200') "Plant in 1100 and 1200
AND mvgr2 IN s_mvgr2 "Exclude Material group
AND a~matnr IN s_matnr
and a~werks in s_werks
AND a~lgort in s_lgort.
SORT it_mard BY matnr werks lgort.
DELETE ADJACENT DUPLICATES FROM it_mard COMPARING matnr werks lgort.ENDFORM. " GET_DATA*&---------------------------------------------------------------------**& Form PROCESS_DATA*&---------------------------------------------------------------------** text*----------------------------------------------------------------------*FORM process_data .
*--------------File Header Information --------------------------------*
wa_final-supplier = 'Supplier Id'.
wa_final-matnr = 'Item Number'.
wa_final-labst = 'Total Qty'.
wa_final-qtyback = 'Qty Backordered'.
wa_final-qtyorder = 'Qty on Order'.
wa_final-itemav = 'Item NextAvdate'.
wa_final-itemdis = 'ItemDiscont'.
wa_final-desc = 'Description'.
CONCATENATE wa_final-supplier
wa_final-matnr
wa_final-labst
wa_final-qtyback
wa_final-qtyorder
wa_final-itemav
wa_final-itemdis
wa_final-desc INTO wa_file
SEPARATED BY ','." RESPECTING BLANKS.
APPEND wa_file TO it_file.
CLEAR :wa_final,
wa_file.*------------------End File Header---------------------------------------*
*------------------File Item Data----------------------------------------*
LOOP AT it_mard INTO wa_temp.
wa_mard = wa_temp.
MOVE:wa_mard-matnr TO wa_final-matnr, "Item No
wa_mard-maktx TO wa_final-desc. "Description
IF wa_mard-werks = '1100'.
wa_final-supplier = '6476'. "Supplierid
ELSEIF wa_mard-werks = '1200'.
wa_final-supplier = '6477'.
ENDIF.
IF wa_mard-labst IS NOT INITIAL.
lv_labst1 = lv_labst1 + wa_mard-labst.
ENDIF.
AT END OF werks.
IF wa_mard-mstae = 'AE'.
wa_final-itemdis = '0'. "Item Discontinued
ELSEIF wa_mard-mstae = 'CM' OR wa_mard-mstae = 'DR'.
wa_final-itemdis = '1'.
ENDIF.
IF lv_labst1 IS NOT INITIAL AND p_per IS NOT INITIAL.
lv_labst = lv_labst1 * p_per / 100. "Qty
lv_labst = lv_labst1 - lv_labst.
IF lv_labst LT 0. "If Qty less than Zero Make it as Zero
lv_labst = 0.
ENDIF.
ELSE.
lv_labst = lv_labst1.
ENDIF.
lv_labst2 = lv_labst. "Rounding to Nearest Qty
CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT'
EXPORTING
i_amount = lv_labst2
IMPORTING
e_amount = lv_labst2.
lv_labst_i = lv_labst2.
lv_labst = lv_labst_i.
CONDENSE lv_labst.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = wa_final-matnr
IMPORTING
OUTPUT = wa_final-matnr
CONCATENATE wa_final-supplier
wa_final-matnr
lv_labst
wa_final-qtyback
wa_final-qtyorder
' '"'00/00/0000' "wa_final-itemav
wa_final-itemdis
wa_final-desc INTO wa_file
SEPARATED BY ','." RESPECTING BLANKS.
APPEND wa_file TO it_file.
CLEAR:lv_labst1,
lv_labst,
lv_labst2,
wa_file.
ENDAT.
CLEAR:wa_mard,
wa_temp,
wa_final.
ENDLOOP.*---------------------------End File Item data----------------------*ENDFORM. " PROCESS_DATA*&---------------------------------------------------------------------**& Form FILE_EXPORT*&---------------------------------------------------------------------** text*----------------------------------------------------------------------*FORM file_exportWhat you said is exactly what I want! Very thankful for your help.
Yes, I have found that in EBEW table that standard price is valuated with preliminary cost estimate because I don't give a sales order cost estimate but I give an sales order stock in the customizing - requirement class. So, I have this question that how the sales order stock is determined.
In COPA customizing (COprofitability analysismaster datavaluationSet up valuation using material cost estimate), standard cost estimate or sales order cost estimate can be transferred into COPA value fields in our system.
But, I have still have a question: I found in our system, preliminary cost estimate in the linked production order is determined for valuation of sales order stock in EBEW table. As sap online help says, cost component splits can not be transferred to COPA.
So, according to SAP online help, I think what you said u201Cu2026..However , when we start thinking about the result of this cost to flow into COPA , this cannot happen as the Inventory was valued with a Preliminary csot estimate. So , the Online help says that it will not be able to transfer Result of Preliminary cost estimate into COPA for transferrring COGS details. System would always require a Standard cost estimate or a Sales order Cost estimate to flow Cost details into COPAu201D is correct.
But, in our system, cost component can be transferred into COPA!? When I create a sales billing (invoice) with tcode VF01, it can create a profitability analysis document (shown in VF03) which it had a cost component split for that material in the sales order stock valuated with the preliminary cost estimate. Or where is stored for the Make-to-Order materialu2019s cost component split in COPA?
That is the real point that confused me. Hope you can help me. Thanks very much.
Maybe you are looking for
-
Display number of emails by sender
This is more of an intellectual curiosity question. I was wondering if it was possible to display a list of senders and the number of emails I have in my mailboxes. Maybe just the first 10 or 20 senders who have sent me the most messages, not EVERYON
-
Can't see network in 10.3.9
I'm setting up a network in a new house. Everything is working find except my G4 desktop. I have two wireless options and both have the same problems. Whether I use a Sonnets PCI wireless G card or an AeroLAN in a PCI cardbus reader I can't see any n
-
Add-in Installation on multiple VMM Console
Hello, I want to add my personalize screen and button on SCVMM 2012 R2 using Add-ins. I read few forums and ppts for the start but stuck with a little problem. As far as I know about Add-in, it can be installed only on SCVMM Console. Correct me if
-
Hello, We made some changes in codes of STS pages. For example, color of buttons, or making some buttons invisible. But we are not sure about further steps.for example, if we want to upgrade, or pass to live system, we dont know what kind of reaction
-
HT4134 what happened to my clear cache button that used to be under the safari drop down menu?
what happened to my clear cache button that used to be under the safari drop down menu?