CS_BOM_EXPL_MAT_V2  - parameter input? to match CS12

The material number, model and unit are provided to the transaction CS12, and a list of components is displayed. 
I would like to produce this same list of components for a report.
After performing some research it seemed like the function CS_BOM_EXPL_MAT_V2  is supposed to return multi-level components of a BOM ( I think)
I have been testing using this function in SAP (transaction SE37).
Using the parameters:
CAPID = entered appropriate code
DATUV = sysdate
MTNRV = matnr - top level matnr
MEHRS = 'X' <= multi level parameter
WERKS = <= entered appropriate plant
MKTLS = 'X' <= default
Stpst = 0 <= default
Svwvo ='X' <= default
Vrsvo = 'X' <= default
One row is returned from the function- the top level component.  In the export parameters TOPMAT
But the STB and MATCAT tables contain 0 entries.
This leaves me with several questions-
This may be a parameter driven BOM I am, attempting to display- (not sure), does this function work with this type of BOM?
Is this function supposed to return the multiple levels or do I need to keep calling it over and over?
Have the the correct parameters been used?  What do I need to specify to obtain a multi-level BOM.
Thanks in advance for any assistance

Hi,
Refer to the below link & your query should be answered.
https://wiki.sdn.sap.com/wiki/display/Snippets/ProgramonExplodingBillOf+Materials
Regards,
Vivek

Similar Messages

  • Parameter input - Crystal Reports Basic 2008 for SAP Business One

    Hi,
    Need some help with parameters.
    Table "A" has a list of Sales orders (Header details)
    Table "B" has the row data for the Sales Order(Row detail).
    --Table "A" and "B" have inner join on Sales Order number.
    --Table "B" includes the product codes sold.
    Table "C" is a list of all products held by the company.
    I want to use table "C" as the parameter input data.
    If I use the products codes in "B" the data is restricted to sold product.
    Is there a way to show all product codes in the parameter input?
    I have tried adding table  "C" with no links but get warning message.
    Kind Regards,
    Eric

    HI,
    Can you give me your query so that i can view and make some revision.
    You can a subquery select to call the Table C.
    REgards,
    Clint
    Edited by: Clint T. Pauyon on Mar 2, 2009 12:52 PM

  • OK button on parameter input screen not rendering correctly

    We just recently changed intranet servers.   Both old and new servers running IIS 6 on Windows 2003 server.  I had several Crystal Reports XI Release 2 reports running on the old web server.  They were called from an ASP.NET application
    On the new server, the exact same applications with the same reports seem to run correctly.  No errors and then the input parameter screen is displayed correctly except that the OK button after selecting the parameters does not display correctly in the browser.  It has a couple of small red 'x' and the word OK underlined.  Normally, this is a nice graphical button.  When I click it, it shows "Error on page" in the status line of the browser and never goes anywhere.  Normally, the OK button accepts the parameter input from the user and then displays the report.
    I searched for similar answers in the forum but couldn't find any.  Please help...this one has me lost.
    I upgraded to Crystal Reprots XI Release 2 SP 5 on both my workstation and on the server.

    Hi Bill,
    All of the button images are located in:
    C:\Program Files\Business Objects\Common\3.5\crystalreportviewers115\images
    Compare what your test PC has with your new server, possibly one of the images are missing.
    Also, the Parameter Prompt UI is Java based, could be your Java is to old or to new. Compare this on your working PC also.
    Thank you
    Don

  • Multiple instances of parameter input form opens in Citrix environment - stumped

    Post Author: debmilner
    CA Forum: General
    One of our clients is getting multiple parameter input forms, specifically 4 instances, opening when running a report.  This only happens when she attempts to run the report when connected to the software using Citrix, but does not occur when running the report on her test server. She reports that other reports open only one parameter screen, as they should.  There is only one instance of each parameter in the report.
    We are calling the reports through our client app against a MS-SQL2005 database, and these are not web based.  The report is written using a select statement in the Database - Command option, on a file.dsn connection.  I cannot duplicate this behavior, and am totally stumped.
    Any ideas?
    Thanks

    Joonas,
    as this appears to be a portal problem it is better to post this question to the WebCenter forum WebCenter Portal as it is out of scope for core ADF
    Frank

  • Using error codes.txt and error rings don't allow parameter inputs like custom error rings?

    The error ring is very useful, especially with its parameterized inputs you can specific with %s, %f and %d parameters.  I'd like to do the same thing in my fixed error codes using the error ring so that I can localize them into mulitple languages, but it seems that LabVIEW error codes from project text files never detect or support the parameter inputs, you get a error ring, but no input parameters.  If you use the same string in a customer error code, it gives you the parameter input but then its hardcoded and you can't localize it.  What gives?
    Is there some other way to configure the error rings to use a project file for the error codes but still support the parameter inputs?
    Solved!
    Go to Solution.

    Hi Mike_King
    Here is a VI snippet that I created with two different approaches, in the first one I used the format into string, the second one the function search and replace.
    Here are some links with information about the functions that I used.
    Format Into String Function - LabVIEW 2011 Help
    Search and Replace String Function - LabVIEW 2011 Help
    Regards
    Esteban R.
    Attachments:
    Generate error code.png ‏34 KB

  • Report parameter input

    When I try to run a report which has parameter inputs for the condition, i need to type the value inside the input text box. But instead of input text box, how can I have a dropdown list containing a query result for me to select from for the values of parameters.
    Thanks very much for any help!
    Alvin

    In the Admin Edition define an ITEM Class List of Values

  • Parameter input in Oracle Workflow

    Goodmorning all,
    I have a mapping that requires input - using the 'mapping input parameter' operator. I would like to run this mapping using Oracle Workflow.
    How can I define an input parameter in Oracle Workflow?
    Thanks in advance for your reactions.

    Are you using OWB process flows? Then like this....
    http://blogs.oracle.com/warehousebuilder/entry/process_flow_parameters_1
    Cheers
    David

  • Crystal Reports 10 Report Parameter Input Missing

    Post Author: Karl D
    CA Forum: Crystal Reports
    I just did a clean install of Vista Business and Crystal Reports 10.  I'm only having one issue, but it is very annoying.
    I can open a report with parameters, click the lightning bolt, enter the parameters, and the report returns.  However, as soon as I make even the slightest changed to the command, or even look at it, I am prompted to re-enter parameters.
    The problem is, the parameter dialog is then missing the input, so I have no way to enter anything.  The "Reset" button does nothing.  This happens for any report I have that uses parameters as soon as I try to view the command/query in any way.
    What should I try first.  I had trouble coming up with anything in searches.
    Good
    Bad

    I am not sure about the Citrix environment, but couple of times the file dialog was missing because the relevant dll was not registered.
    To register the dll, run the following command:
    regsvr32 "C:\Program Files\Common Files\Crystal Decisions\2.5\bin\filedialog.dll"
    Make sure you receive "...dll succeeded" message

  • How do I do input pattern matching with the 6534?

    I am configuring the 6534 to have one 8 bit input port and one 8-bit output port. Both input and output are in continuous mode. The input port is scanning for a specific pattern, but doesn't need to save the data. When this specific pattern is received, the VB program must be notified so that it can perform some action. This will occur every 2 seconds, i.e. the input pattern will match every two seconds. How do I perform this continuous pattern match and how can I throw away the input data without overflowing the input buffer?

    It sounds like you want to do DAQ Event Messaging. With this mechanism, the driver actively notifies the user of a specific DAQ Event by either posting a message on a message queue or calling a callback function.
    There are several documents that describe how you can do this with Visual Basic. You can find some KnowledgeBase entries, and a really useful tutorial called "Using DAQ Event Messaging in Windows under Windows NT/95/3.1". You can find these by searching the http://www.ni.com/support pages for "daq event message", and then go on to choose Visual Basic, and Learning to use product features and functions.
    The feature that you are looking for is pattern matching, which is DAQ Event type 8 ? Digital Pattern Matched. When the document refers to the
    Config_DAQ_Event_Message, you can see the details of this function in the NI-DAQ Help file (Start menu >> Programs >> National Instruments >> NI-DAQ). As you will see in the tutorial, you use a different but analogous method. While you won't be using this particular function for Visual Basic, the description of those events may be helpful.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Webservice without parameter input, as to invoke?

    Good afternoon,
    I have webservices that it does not have parametros input necessary e to invoke. I created one variavel of the type of WSDL and it did not function, it shows the following error to me:
    exception on JaxRpc invoke: [failed to localize] No Deserializer found!
    help!

    ???

  • Parameter input dialogue box

    Hi all,
    In my code, I've already assigned values to parameters, but in runtime, the parameter dialogue box is still displayed.
    Thank you very much
    Clara

    Hello,
    If you are still getting prompted for parameters that usually means there's something missing in the code.
    If you post your code, and information about your environment (development language, version of visual studios, version of crystal reports, etc.) you can see if anyone has any ideas.
    Sincerely,
    Dan

  • Regarding Parameter input at FM

    I have still problem with this FM.
    In 4.6B it works, but in 620 it generates SHORTDUMP.
    i declared TA as
    DATA: BEGIN OF TA.
    INCLUDE STRUCTURE RSLGSEL.
    DATA: END OF TA.
    DATA : BEGIN OF AUDIT_SELECT.
            INCLUDE STRUCTURE RSAUSEL.
    DATA : END OF AUDIT_SELECT.
    DATA: FILE_NO LIKE RSLGETAB-FILE_NO.
    DATA : BEGIN OF ENTRIESTAB OCCURS 500.
    INCLUDE STRUCTURE RSLGETAB.
    DATA: END OF ENTRIESTAB.
    DATA: BEGIN OF AUDIT_FILE_STAT OCCURS 100.
    INCLUDE STRUCTURE RSAUFINFO.
    DATA: END OF AUDIT_FILE_STAT.
    CALL FUNCTION 'RSAU_SELINFO_INIT'
    CHANGING
    AUDIT_SELECTION = AUDIT_SELECT.
    TA-WHICHLOG = 'L'.
    FILE_NO = 1.
    Here while debugging i found AUDIT_SELECT storing "Non-Char like structure"
    does any structure here is not matching the below FM.
    CALL FUNCTION RSAU READ_FILE
    EXPORTING
    SELECTION = TA
    SELECTION_AUDIT = AUDIT_SELECT
    FILE_NO_OLD = FILE_NO
    TABLES
    SYSLOG_IN_TABLE = ENTRIESTAB
    AUDIT_FILE_STAT = AUDIT_FILE_STAT.
    After execting this FM, Shortdump occurs. Pls correct me if my declaration is wrong anywhere..
    ambichan

    <b>Runtime errors         CALL_FUNCTION_CONFLICT_LENG
    Exception              CX_SY_DYN_CALL_ILLEGAL_TYPE</b>
    Type conflict when calling a function module (field length).
    <b>----
    What happened?
    </b>
    Error in ABAP application program.
    The current ABAP program "ZREADAUDLOG1" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    The function module was called incorrectly.
    <b>----
    Error analysis
    </b>
    An exception occurred. This exception will be dealt with in more detail
    below. The exception, assigned to the class <b>'CX_SY_DYN_CALL_ILLEGAL_TYPE'</b>, was
    not caught, which
    led to a runtime error. The reason for this exception is:
    The call to the function module <b>"RSAU_READ_FILE"</b> is incorrect:
    In the function module interface, you can specify only
    fields of a specific type and length under "SYSLOG_IN_TABLE".
    Although the currently specified field
    "ENTRIESTAB" is the correct type, its length is incorrect.

  • Differet Load query based on parameter input

    Hi all,
    I'm developing my first application with HTML DB and I have a problem. I have a table with no primary key and a unique index on three columns and only one of these can be null. I'm building a form with my events that execute a query based on the data passed from another page.
    My problem is that I have two queries (one with the clause column_a is null and another one with column_a=value) but I'm not able to condition the execution on more than one item values; I'd like to know how to express into conditional processing section
    PXXvariable_1 is null and PXXvariable_2 is not null.
    I can use a workaround in the query using nvl but I'm wondering if is possible to expresso such constraints in constional processing section.
    Thanks to all,
    Giovanni

    Giovanni,
    See this section of the documentation on the HTML DB URL syntax:
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#sthref447
    You want something like this:
    f?P=101:<page ID>:&APP_SESSION.::::PXXPARAM_1,PXXPARAM2:VAL,
    Here, PXXPARAM_1 will be set to VAL and will be set to NULL
    Sergio

  • How to use the input entered in report parameters form & use it in a field in a report parameter.

    Hi, I'am creating a new report, which is a combination of 'form_letter & tabular' style.
    I have also created a Report Parameter with 2 inputs, that is 'to_date' & 'from_date'.
    The value that will be entered in 'to_date' & 'from_date' in the parameter_form, must get displayed in the report.
    So for this, I created a field for 'to_date' & added code for it in pl/sql editor.
    code is as below:
    function F_TO_DATEFormatTrigger return boolean is
      f_to_date date;
    begin
      f_to_date := :PF_P_TO_DATE;  // ASSIGNING VALUE TO FIELD ( f_to_date) FROM INPUT OF REPORT PARAMETER (PF_P_TO_DATE) .
      return (f_to_date);
    end;
    BUT I'M GETTING ERROR " REP-0730 THE FOLLOWING BIND VARIABLE IS NOT DEFINED: PF_P_TO_DATE.
    I tried to decode the error, but I think the problem is different. (The above code works only if "PF_P_TO_DATE" was a part of query statement, that is one of the columns in database, but PF_P_TO_DATE is a parameter). So can anybody please help me with how can I take the value from parameter input & display it on the field of the report?
    Thank You.

    Hi Vijetha,
    Create a formula column and return the date you need and asign the formula column to a field in paper layout.
    here is the example query
    function CF_to_dateFormula return Date is
    begin
       return (:to_date); -------:to_date is that you get as a parameter
    end;
    Hope this will help
    Regards
    su.gi

  • Input parameter with default value, in OWB 10r2

    -I have a flow that load data from a determinate date, that date is a parameter. This flow is controled to be execute diary by a database job, And takes the parameter as sysdate.
    But I want that a user can set an determined date as input and override the default. (sysdate)
    I created a parameter in the START element , and set
    value as: TO_CHAR(sysdate,'dd-mm-yyyy'))
    The problem is that when the job execute the flow, an oracle error appear:
    ORA-01858: a non-numeric character was found where a numeric was expected ORA-02063: preceding line from FAMISANA@SOU_SEI_LOCATION1
    When I execute the flow and set a parameter input any date (21/07/2001) , thats works.
    So, how can I set the input parameter for have default a sysdate ?
    So thanks

    value as: TO_CHAR(sysdate,'dd-mm-yyyy'))You have created parameter as date then why you are converting it into char.
    and you can check the date format for you database also.
    Cheers
    Nawneet

Maybe you are looking for

  • MacBook will not Boot

    I literally got my macbook yesterday and this is my first major problem A few minutes ago I was watching a YouTube video, while browsing other websites with Adium and Mail and I believe iTunes running in the background (not too processor intensive).

  • When Publishing to BC, images get swapped around from other pages

    When i am Publishing my muse file to Business Catalyst, all my images get swapped around from other pages, both in slideshows and placed images, how do i get it to stop doing this! In preview mode the images are where i want them! This is one of my p

  • InDesign won't close files

    Hallo everybody, I'm new her at InDesign-Scripting-Forum, but I have a great problem, and hope there is somebody out who can help me: My problem is that InDesign won't close files which have been opened. Just a little Javascript (I have reduced it to

  • Fcpx 10.1.4 crashes when iPhone 4s is connected to iMac

    When I connect my iPhone 4S running the latest iOS 8.3 is connected to my 2014 iMac 27 running Yosemite 10.10.2 Final Cut Pro X 10.1.4 crashes. If I do successfully connect the phone, FCPX crashes when I attempt to import video from the iPhone. I hav

  • CS4 Load on new machine?

    I am an old Photoshop user from way back and have been using CS4 for years and love it.  My XP machine finally bit the dust and I have bough a new Win 8 machine.  How do I load the CS4 on my new machine?  I have the original disks.