Extractor via FM, if relations between db records and output is not 1:1

Hi,
I developed extractor via function module using SAP template FM RSAX_BIW_GET_DATA_SIMPLE. But I need multiply cursor (db) records, it means relation between db records and extractor output is not 1:1. How do You solve this problem.

If you are saying your records fetched by cursor fetch are then to be processed such that there are multiple records to go to BW for each fetched ones, that is doable.
Fetch your records into a local internal table instead, do the processing and pass the resultant records to the tab that goes back to BW. You only need to make an adjustment to package_size that you specify to the cursor fetch statement. Instead of i_maxsize, pass a value which is divided by the multiplication factor (eg if you create 5 records out of 1 fetched rec, pass the size as a value = i_maxsize/5). If this is not fixed, give an approx so your final no of records are roughly close to the i_maxsize.

Similar Messages

  • Relation between result recording and usage decision

    Dear Gurus
    While result recording for a lot, if any value comes less than or more than the limiting value the system is automatically valuating either rejected or accepted .. But this valuation is not getting reflected  in the usage decision there I can give accepted code even though it is rejected in RR. If any expert can tell me how to configure and relate RR with UD
    Regards
    Sandip Sarkar

    Hi
    Sandip
    As per SAP std there is no such a relation betweenRR & UD
    but you can keep acheck that Result are recorded & what is valuation.
    Use User Exit QEVA0010 UD: Usage decision check Logic will be check whether RR is done & all the char have status 5.
    that means all char are valutated.Then Build a logic that as per acceeptence or rejection of char UD code must be get selected.
    Suppose all char are rejected  & you  are taking UD as Accepted(A) then System should through Msg reading same.
    I hope this will add some value.
    Regards
    Sujit

  • Relation between message type and output type in ALE

    Hi
    I have a meeage type with me. I want to find the processing routine for the idoc. Procesing routine is acessed from  NACE - application -output type ( as far as i know ). Now how do i know the output type for the message type. Are the output type and message type related ?
    thanks
    sankar

    Hi,
    U can see the output type for message type here WE20 ->outbound parameters -> message control
    For invoice if mesage type is INVOIC and its output type is RD00 or ESYM or MAIL.
    output type is four character code which describes characteristics of output itself
    Regards

  • Relation between GL Account and Invoice?

    Hi Experts,
    I am working with the FI reports for the first time and I do not have any idea on FI functional flow. I have some basic questions like
    What is the Relation between GL Account and Invoice?
    When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?
    For example if I want to calculate " no of vendor invoices without PO how can I do that"? How can I know what are vendor invoices created against a PO or without PO?
    Thanks for any help in advance and I am bound to reward points.
    Sri

    <b>What is the Relation between GL Account and Invoice?</b>
    SAP's Glossary for GL Account is
    "A structure that records value movements in a company code and represents the G/L account items in a chart of accounts.
    A G/L account has transaction figures that record changes to the account during a posting period. These figures are totals that are used for G/L reporting."
    In accountancy, an account is a label used for recording and reporting a quantity of almost anything. For example when a company pays salary to its staff, They debit Salary account. This is to identify what is the nature of an expense.
    An invoice is a message to the buyer of goods or services that contains, among other things, Name of the goods or services, Quantity sent, & Remuneration due.
    Invoice is also a SD document used to charge a customer for a delivery of goods or for services rendered.
    <b>When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?</b>
    If it were a vendor invoice. (i.e you purchase items or service and recieve invoice)
    Invoice get posted to the tables once someone makes a Logistics Invoice verification through t-code MIRO etc. The teble RBKP gets the first posting.
    If it were your own invoice to your customers, then VBAK and VBAP get the posting.  The connectivity of tables are available in http://www.erpgenie.com/abap/tables.htm As far as SAP is concerned an invoice is a document, so you can only trace invoice as a document number, field name is usually BELNR. Even if a vendor invoice arrive, an internal invoice number is generated where the vendor invoice is entered only as a reference field. This is because, each vendor can have inovices of different size and pattern.
    <b>How can I know what are vendor invoices created against a PO or without PO?</b>
    For a purchase order you can find in table EKBE for BEWTP = Q any invoice document.

  • Relation between RFC time and Roll wait time

    Hello
    What is the relation between RFC time and Roll wait time?
    In a diagram from E2E100 training I took recently the relationship is made out to be:
    RFC+CPIC = some processing time + Roll wait time
    Something like this
    Processing----
    Roll wait-------
    Roll in
    RFC+CPIC----
    In the diagram I saw it shows that roll out occurs during processing.
    Assumming that the user context rolls out and then rolls in again, wouldn't "Wait" time occur when the request comes back and the dispatcher has to assign the request to a work process?
    Is this wait time calculated as "Wait" time or is it calculated as "Roll wait" time?
    I was forced to think about this because of a STAD record I have with high Roll wait time, but with low RFC time as well as zero GUI time. If "Wait" time when the request comes back from RFC is included in "Roll wait" then it might explain what i'm seeing.
    Kind regards,
    Peter

    Hello Santosh,
    Thank you for your reply.
    I would like to know how time spend in the dispatcher by a request coming back from an RFC is calculated.
    When the RFC is made the user context is rolled out of the work process so the work process becomes free. When the RFC comes back it has to be assigned to a new work process. This means that a bit of time would need to be spent in the dispatcher. Would this time be measured as "wait" time or is it part of "Roll wait time?
    From the definition you gave of "Roll wait time", "it is the time dedicated by the R/3 system to waiting for the return value of an RFC call plus the CPIC time required to create the connection for that RFC to an outside system", one would think that the time spent in the dispatcher by a returning RFC would be measured as "wait time" the same as when the dialog request first comes in from the front end. I've never seen a diagram that explained this satisfactorily.
    Kind regards,
    Peter

  • Relations Between MLCD table and material movements type

    Dear all,
    I Have a question about relations between MLCD table and Material movements.  For Example We have a movement type Z71 when we did a movevent with tis movement type from MB1C Transaction. System creates a record in Mlcd Table. in this table Category field is VN and  PCat field is V. How system decides about VN and V
    is there any table which contains these conversions or is there any custimization in MM or CO modules ?
    Could you please help me if you have any information about subject.
    Best Regards

    Hi Anupam
    Thanks for your speedy reply.sorry i forget to mention i need FG materials details for given plant,production version,metrial type.In
    MKAL i am not able to give material type as input parameter
    Regards
    Bala

  • Relation between Integrated Planning and BPS

    Dear all,
    I am just considering about using the BI Integrated Planning. I have a few question about the relation between BW-BPS and BI Integrated Plannning.Can anybody tell me about the near future about these both two? Is the BI Integrated Planning going to replace the BW-BPS or are they going to co-exist instead? Do we have to use them both? Although I'm not used to the new features of BI Integrated Planning, I just quite don't get what is the advantage of using them besides ensuring the future development.
    Best regards,
    Takashi

    Hi Matsumoto,
    I have recently implemented both BW-BPS and IP on 2004S.
    I have always started with trying to implement IP instead of BW-BPS because, as we all agree, it is the future. Another reason was personal: I wanted to learn IP.
    Sometimes I however had to switch to BW-BPS because of following reasons:
    - the front-ends are more advanced if the users have a SAPGUI installed. The Excel front-end of IP is more advanced compared to the Excel GUI version of BW-BPS. IP is based on workbooks (the same as BW workbooks). Workbooks have more flexibility than BW-BPS Excel GUI version. The problem is that you need the 2004S gui to use IP via workbooks. Installations of the 2004S gui is rather complex and is almost impossible to install remotely because there are so many components involved.
    - the front-ends on the web do not require a SAPGUI and are more advanced in BW-BPS. In BW-BPS, you can use the office web components (Excel on the web) where you can copy past, etc. The IP web version is HTML based and does not yet support the office web component. You can use it for data entry of a limited number of data but is hard to use for large volumes.
    - BW-BPS for now supports more hierarchy features than IP. Displaying hierarchies can be done on IP. If you want to do bottom-up or top-down planning, it is adviseable to develop on BW-BPS; Again, these features will in the future be supported by IP but are not yet.
    - performance: saving is quite slow in IP compared to BW-BPS.
    - timing: if you want to move fast, go for BW-BPS. There is a lot more documentation on forums, you will have a lot less problems etc.
    By the way, Sean is 100% correct about the instability of IP. We had to implement a number of notes and had SAP to create new notes for problems we had.
    Please assign points if this solved your problem.
    Best Regards,
    Filip

  • Differences between info records and conditions

    In pricing of purchasing, I have found using both info records and conditions. Also in the menu path <b><i>Logistics->Material Management->Purchasing->Master data</i></b> have both 'Info record' and 'condition' menu folder.
    I want to know the differences between info record and condition and where to use them respectively. Anyone can help me?
    Thanks a lot!
    --Alex

    Hi ,
    Condition enables you to store pricing stipulations agreed with the vendor (such as applicable discounts or surcharges, or stipulations regarding the payment of freight costs) in the system. You can enter these conditions in quotations, outline purchase agreements, and info records. You also have the option of entering general conditions at vendor level, for example. The system then applies the conditions in determining the price in purchase orders (POs). You can enter further conditions in the PO itself.
    Simply put - Info-record is a type of condition record.
    Purpose of Condition Records for S&D
    Condition records allow you to store and retrieve pricing data in the system. All the pricing elements of your daily business - the prices, discounts, and surcharges for freight and taxes - that you want to use for automatic pricing must be stored in the system as condition records. You can define as many condition records as you want for the different pricing elements for any validity period.
    You create condition records for all the pricing elements that the system takes into account during automatic pricing. During document processing, the system transfers data from the condition records and determines the amounts for individual pricing elements (prices, discounts and surcharges) and the final amount for the sales document.
    For MM and S&D related condition information refer to the following URL :
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee0b3655c811d189900000e8322d00/frameset.htm and
    http://help.sap.com/saphelp_47x200/helpdata/en/f0/b5d468077c11d3ad020000e8a5bd28/frameset.htm

  • Relation between STD Price and Costing

    Hi,
    Could anyone explain about the relation between STD Price and Costing & when and where it gets effected.
    Points will be rewarded.
    Regards

    Hi ,
    Std. Price :-
    A constant price at which a material is valuated without taking goods movements and invoices into account.
    Costing:-
    The value of use of economic goods both tangible and intangible for the creation and sale of goods and services, as well as the acquisition and maintenance of plant and machinery.
    A process that calculates the cost of goods manufactured, or the cost of goods sold, in relation to a product or cost object.
    The results of costing are used to determine the following information:
    Target costs
    Variances for materials produced
    Contribution margin for materials sold
    The costing process is based on the order quantity or the costing lot size in the material master record.
    Edited by: vk on Apr 24, 2008 7:17 AM

  • Where can I find the relation between company code and plant?

    where can I find the relation between company code and plant?
    I need to the list of plants under a company code.
    Which table?

    yes,wayne weng   .What you said is right.
    Thank you very much!
    My MSN:[email protected]

  • Relation between MSEG table and movement types in 2lis_03_bf

    Hi all,
    May i know the relation between MSEG table and 2lis_03 _bf xtractor stock type/stockcategory where we see the informarion in r/3 side for this, you answers gets rewarded.
    regards,
    Dan.

    Hi,
    Most of the data for IM comes from the tables MSEG andd MKPF. You can go to MSEG contents and see the data there. You will find all the movement types, stock types and stock categories there. You can also use the transactions MB5B, MB51 etc.. to see the related info in R/3. As I said most of the data comes from these tables but not all the data. It uses some internal programming to get the data.
    Hope it helps...

  • Relation between different GUID and tables in RPM

    Hi All,
    can you tell me the relation between different GUID and tables in RPM. Many thanks.
    Regards,
    J B

    Hi Deepesh,
    Try the foll. join :
        SELECT  fragment_guid  INTO  (some internal Table)
             FROM  comm_pr_frg_rod
             WHERE  product_guid  = (your product guid list)
    This should give u a complete match of the products.
    Hope this helps.
    Regards,
    Raviraj

  • Is there any table for relation between batch number and valuation type ?

    hi,
    I would like to know where i can find relation between batch number and valuation type ?
    thank you and Best regards
    Fernand

    Hello
    MCHA

  • Relation between Sales org and Shipping Point

    Hai all,
           Can any one tell me wt is the relation between Sales Org and Shipping point?
    Ravi
    < PLEASE DONT USE SMS LANGUAGE AND PLEASE SEARCH THE FORUMS.  >

    Hi Ravi,
    There is no direct relation.
    Sales organisation in broader level, it is responsible for selling a product in a company.
    It is liable to the customer interms of service of the product or service and confirmation of the sale order, delivery and invoicing.
    Shipping Point is a logical point from where the shipment / dispatch begins.
    Both Sales organisation & Shipping point wil be linked to plant (one or more).
    In case of sale order, sales org will decide the delivering plant.
    Shipping point will be picked based on delivery plant, sh.conditions (cmr) & loading grp (mmr).
    hope this is clear to you now!

  • Relation between sales organization and company

    HI,
    What is the relation between sales organization and company
    codes?
    ANY BODY SUGGEST THIS MATTER.

    hI,
    Kindly search in this forum before posting
    Re: Can you assign one sales organization to multiple company codes?
    see the above link
    Thanking you,

Maybe you are looking for

  • How do I save an email as a draft in Mail 5.2?

    I began an email to a friend a few mins ago and need to save it to complete it later, but how? On my MacBook Air running Lion OSX 10.7.4, which is now using Mail 5.2, looking at the folder options today, I don't see the Darfts Folder anywhere. I'm su

  • MIRO: Delivery note and Planned Delivery Costs

    Hi experts, I'm trying to register planned delivery cost starting from the delivery note selection in MIRO. The reason is that i usually have many GR of the same PO and i want to register the correct delivery cost only for the material that i have ac

  • Timeout in synchronous WS?

    Hi! I have a synchronous web service call (<invoke>) to an external web service that I want to run in a while-loop until it is successful (try-wait-retry and so on). If something failes, an error is thrown and catched by a CatchAll branch, and the WS

  • ICloud won't boot under Windows Vista SP2

    I have installed iCloud with no problems, but it won't boot up. I can see its process in the Task Manager, but it won't show up.

  • Error License Server Communication Problem: E_ADEPT_INTERNAL

    Having problems trying to download Cicerone Guide books I have purchased as epub books.  Adobe Digital editions continues to give error  "License Server Communication Problem: E_ADEPT_INTERNAL -  tried deauthorising 10 times and have followed all sug