HI guys, little urgent.....to get production line value

Hi guys,
I have this task where i have to get the production line value , I have the inspection lot number, plant no , batch no and I can also get the material no...
To give you more idea this is for the mfbf backflush transaction...
Thanks,
Venkat.

You can get the Prod version (VERID) from QALS using Insp lot number. Pass this to he table MKAL along with plant and material number. This tables contains the Prod line value.
Hope this helps. If so reward points and close this thread.
Ram

Similar Messages

  • How can i get production version value(verid) for luck through bdc.

    HI..
    i have one requirement..that in c223 tcode while i luck the production version through BDC in my report program as i given bellow...i upload mat.no , plant, production version and 1(for luck)...
    req:: i want while i given production version for particlular plant and material no...that production version should be luck....
    so in standard tcode c223 how can i get value to compair it with my input production version value then i will close that...
    program:::
    report ZC2232
           no standard page heading line-size 255.
    *include bdcrecx1.
    Tables : mkal.
    data : nodata value '/' .
    data : CTUMODE type c value 'E'.
    DATA : CUPDATE TYPE C VALUE 'L'.
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    data: begin of HEADER OCCURS 0,
    data element: MATNR
            MATNR_001(018),
    data element: WERKS_D
            WERKS_002(004),
    data element: PLNNR
           PLNNR_003(008),
    data element: CP_STTAG
            STTAG_003(010),
    data element: ENTRY_ACT
           ENTRY_ACT_005(011),
    data element: PLNAL
            PLNAL_004(001),
    data element: FLG_SEL
           FLG_SEL_01_006(001),
    data element: PLANTEXT
           STLAL_004(002),
           DATUV_005(010),
    data element: WERKS_D
           WERKS_008(004),
    data element: PLN_VERWE
           ktext_005(001),
    data element: PLNST
            DELKZ_005(001),
    data element: LOSGRVON
           LOSVN_011(017),
    data element: LOSGRBIS
           LOSBS_012(017),
    data element: PLNME
           PLNME_013(003),
    data element: PLNME
           stlal_014(002),
    end of HEADER.
    data : begin of it_header occurs 0,
           matnr like marc-matnr,
           werks like marc-matnr,
           verid like mkal-verid,
           mksp like mkal-mksp,
           end of it_header.
    data : exnum(40) type c,
           exnum1(40) type c,
           cnt type I,
           CN(2) TYPE C,
           c1 type c value '(',
           c2 type c value ')'.
    start-of-selection.
    parameters: p_file like rlgrap-filename.
    at selection-screen on value-request  for p_file.
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
      importing
         file_name           = p_file.
    start-of-selection.
    call function 'WS_UPLOAD'
    exporting
      CODEPAGE                      = ' '
       filename                      = p_file
       filetype                      = 'DAT'
      HEADLEN                       = ' '
      LINE_EXIT                     = ' '
      TRUNCLEN                      = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      DAT_D_FORMAT                  = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = it_header
    EXCEPTIONS
      CONVERSION_ERROR              = 1
      FILE_OPEN_ERROR               = 2
      FILE_READ_ERROR               = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      NO_AUTHORITY                  = 10
      OTHERS                        = 11
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    DELETE it_header WHERE MATNR IS INITIAL.
    LOOP AT it_header.
    *start-of-selection.
    *perform open_group.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL-WERKS'.
    perform bdc_field       using 'MKAL-WERKS'
                                  it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                   it_header-matnr.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PICK'.
    perform bdc_field       using 'MKAL-WERKS'
                                 it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                it_header-matnr.
    *>>>>>>>>>>>>>>>>>>>>here what logic can i write****
    clear cnt.
    do 15 times.
    cnt = cnt + 1 .
    CN = CNT.
    exnum = 'MKAL_EXPAND-VERID'.
    concatenate exnum c1 cn c2 into exnum1.
    *perform bdc_field       using 'BDC_CURSOR'
                                   exnum1.
    GET PARAMETER ID 'VER' FIELD EXNUM1.
    CALL TRANSACTION 'C223' AND SKIP FIRST SCREEN.
    if ( it_header-verid = EXNUM1 ).
    exit.
    endif.
    enddo.
    ****************************************************end***>>>>>>>>
    perform bdc_field       using 'BDC_CURSOR'
                                  exnum1.
    perform bdc_dynpro      using 'SAPLCMFV' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL_EXPAND-PLNTY'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=PRFG'.
    perform bdc_dynpro      using 'SAPMSSY0' '0120'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=RW'.
    perform bdc_dynpro      using 'SAPLCMFV' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/ECANC'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL_EXPAND-VERID'.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SAVE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MKAL-WERKS'.
    perform bdc_field       using 'MKAL-WERKS'
                                  it_header-werks.
    perform bdc_field       using 'MKAL-MATNR'
                                  it_header-matnr.
    perform bdc_dynpro      using 'SAPLCMFV' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_transaction using 'C223'.
    endloop.
    *perform close_group.
    *&      Form  bdc_dynpro
          text
         -->P_0161   text
         -->P_0162   text
    form bdc_dynpro  USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    endform.                    " bdc_dynpro
    *&      Form  bdc_transaction
          text
         -->P_0351   text
    form bdc_transaction USING TCODE.
    call transaction 'C223' using bdcdata
                             mode    CTUMODE
                             update  CUPDATE
                             messages into messtab.
      if sy-subrc <> 0.
      message e000(zmm01) with
      'Check your input data'.
      endif.
    endform.                    " bdc_transaction
    *&      Form  bdc_field
          text
         -->P_0346   text
         -->P_0347   text
    form bdc_field  USING FNAM FVAL.
      if fval <> nodata.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
        endif.
        endform.                    " bdc_field

    l_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');try to change as follow
    l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');Edited by: AlexAnd on Aug 17, 2011 12:36 AM

  • Urgent..getting default & changed values in ALV editable....have ur point.s

    Hi all,
    I m using interactive ALV grid with 1 column editable with some default values, When i m clicking on SAVE button, only the values which are changed by the user in that column are coming in the internal table, & the default values are automatically deleted by the following code....
    But my requirement is to save all the default & changed values of the ALV column....
    <b>Help me out & have ur points.</b>
    DATA ref1 TYPE REF TO cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    importing
                   e_grid                           = ref1
    CALL METHOD ref1->check_changed_data
    IMPORTING
       e_valid   =
    CHANGING
       c_refresh = 'X'

    Pradeep,
    When ur doing the CHECK_CHANGED_DATA, u ll get the edited values inside this callback sub -routine only. so here u trap the values those are changed ( thats after editing).
    Once the control goes back to the original program ( calling prog ) , u ll end up with ur old data ( before editing).
    you ll have to handle that explictly in your code, or shift to OO alv grid like this -
    REPORT ZSKC_GRID.
    TABLES : EQUI.
    DATA   : BEGIN OF T_EQUI OCCURS 0,
              EQUNR TYPE EQUI-EQUNR,
              AENAM TYPE EQUI-AENAM,
             END   OF T_EQUI.
    DATA : T_FCAT  TYPE LVC_T_FCAT,
           G_FCODE TYPE SY-UCOMM.
    DATA : G_GRID TYPE REF TO CL_GUI_ALV_GRID.
    SELECT-OPTIONS: S_EQUNR FOR EQUI-EQUNR.
    START-OF-SELECTION.
    * get data.
      PERFORM SUB_GET_DATA.
    * Populate catalog.
      PERFORM SUB_BUILD_CATALOG CHANGING T_FCAT.
    * Display the grid.
      PERFORM SUB_SHOW_GRID.
      CALL SCREEN 9001.
    *&      Form  SUB_GET_DATA
    *       Get data
    FORM SUB_GET_DATA .
      SELECT EQUNR AENAM
      FROM   EQUI
      INTO   TABLE T_EQUI
      WHERE  EQUNR IN S_EQUNR.
      IF SY-SUBRC NE 0.
    *  Give some message if needed
      ENDIF.
    ENDFORM.                    " SUB_GET_DATA
    *&      Form  SUB_BUILD_CATALOG
    *       text
    *      <--P_T_FCAT  text
    FORM SUB_BUILD_CATALOG  CHANGING PT_FCAT TYPE LVC_T_FCAT.
      DATA : WA_CAT TYPE LVC_S_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'EQUNR'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'EQUNR'.
      WA_CAT-REF_TABLE = 'EQUI'.
      APPEND WA_CAT TO PT_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'AENAM'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'AENAM'.
      WA_CAT-REF_TABLE = 'EQUI'.
      WA_CAT-EDIT      = 'X'.
      APPEND WA_CAT TO PT_FCAT.
    ENDFORM.                    " SUB_BUILD_CATALOG
    *&      Form  SUB_SHOW_GRID
    *       Show grid
    FORM SUB_SHOW_GRID .
    * create the Grid Object.
      CREATE OBJECT G_GRID
        EXPORTING
           I_PARENT          = CL_GUI_CONTAINER=>SCREEN0
        EXCEPTIONS
          ERROR_CNTL_CREATE = 1
          ERROR_CNTL_INIT   = 2
          ERROR_CNTL_LINK   = 3
          ERROR_DP_CREATE   = 4
          OTHERS            = 5.
      CHECK SY-SUBRC EQ 0.
    * Display contents,
      CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        CHANGING
          IT_OUTTAB                     = t_equi[]
          IT_FIELDCATALOG               = t_fcat
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          TOO_MANY_LINES                = 3
          others                        = 4.
    ENDFORM.                    " SUB_SHOW_GRID
    *&      Module  STATUS_9001  OUTPUT
    *       text
    MODULE STATUS_9001 OUTPUT.
       SET PF-STATUS 'PF_9001'.
       SET TITLEBAR 'TITLE_9001'.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
    *       text
    MODULE USER_COMMAND_9001 INPUT.
      CASE G_FCODE.
        WHEN 'BACK' OR 'CANC' OR 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'HAVE'.
    *    After editing everything user presses this button.
         PERFORM SUB_GET_EDITED_DATA.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Form  SUB_GET_EDITED_DATA
    *       Read the ALV grid and get current internal table.
    FORM SUB_GET_EDITED_DATA .
    DATA : T_OLD_DATA LIKE T_EQUI OCCURS 0.
    * hold the old values if u need them.
      t_old_data[] = t_equi[].
    * This will update the global internal table.
      CALL METHOD G_GRID->CHECK_CHANGED_DATA.
    * Now t_equi have changed here. u have the old data in the T_OLD_DATA.
      BREAK-POINT.
    ENDFORM.                    " SUB_GET_EDITED_DATA
    Create a blank screen called 9001. and Pf-staus has a buton with fcode "HAVE". ( alongwith BACK canc exit).

  • Is there any soln to display production line for process order in COOISPI?

    HI,
    When we run COOISPI for planned orders, the field  MDV01 "Production Line" populates correctly (based on the value in the production version associated with the planned order).  However, you run COOISPI for process orders, that same field is now blank.
    Any pointer on how to display MDV01 in case of Process order.
    Thanks in advance

    Thanks for your reply. my requirement is to populate the field value of production line in the CIOISPI report. I have production line assigned to production version. It does display if you see the results for Planned order but not for process order and the 'production line' field remains blank. More importantly i am trying to display the results for the same production version in case of process order,
    Can you plz provide me any pointers or the way we can have production line value if want to display COOISPI for process order.
    Regards,
    Nitin

  • How to get Fixed lines per page  ? really Urgent !!!

    I am facing problem with the fixed lines per page. The Footer block(Subtotal) is moving up leaving space at the bottom when the number of items is less.
    I have a two groups : one for KIT ITEMS and other for KIT COMPONENTS. When i am generating report for only KIT ITEMS i am getting fixed footer by using
    <xsl:variable name="no_of_lines_per_page" select="number(30)"/>
    <?for-each@section:Q1?>
    <xsl:variable xdofo:ctx="incontext" name="inner_group" select=".//Q2"/>
    <?for-each:$inner_group?><?if:(position()-1) mod $no_of_lines_per_page=0?>
    <xsl:variable name="first_rec" xdofo:ctx="incontext" select="position()"/>
    but when i try generate the report in combination with KIT COMPONENTS together, i am not able to fix the number of lines per page. The Footer is going into next page. Now i have Q2 and Q3 where Q2 is Parent Kit Item and Q3 is Child Kit Components.
    How can i get fixed lines per page for Q3 with respect to Q2 ?
    I would really appreciate if anyone can reply me fast.

    Hi Thanks for the link.I used the code which is there in this link. It is working for the items coming from Q2( Kit Parent Items) , but I want fixed number of lines combine for both Kit parent and its kit components( i.e Q2 and Q3 ). Could you please tell me , code to get fixed number of lines for this. It is really very urgent.

  • How to get file line count.

    Hey guys,
    How to get file line count very fast? I am using BufferedReader to readLine() and count. But when dealing with big file, say several GB size, this process will be very time consuming.
    Is there any other methods?
    Thanks in advace!

    What I'd do is you create an infofetcher, register a listener, implement gotMore() and have that scan for '\n'
    Some might suggest getting rid of the listener/sender pattern or use multiple threads to make ii faster. This might help a little, but only if your I/O is super-duper speedy.
    you are welcome to use and modify this code, but please don't change the package or take credit for it as your own work.
    InfoFetcher.java
    ============
    package tjacobs.io;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.ArrayList;
    import java.util.Iterator;
    * InfoFetcher is a generic way to read data from an input stream (file, socket, etc)
    * InfoFetcher can be set up with a thread so that it reads from an input stream
    * and report to registered listeners as it gets
    * more information. This vastly simplifies the process of always re-writing
    * the same code for reading from an input stream.
    * <p>
    * I use this all over
         public class InfoFetcher implements Runnable {
              public byte[] buf;
              public InputStream in;
              public int waitTime;
              private ArrayList mListeners;
              public int got = 0;
              protected boolean mClearBufferFlag = false;
              public InfoFetcher(InputStream in, byte[] buf, int waitTime) {
                   this.buf = buf;
                   this.in = in;
                   this.waitTime = waitTime;
              public void addInputStreamListener(InputStreamListener fll) {
                   if (mListeners == null) {
                        mListeners = new ArrayList(2);
                   if (!mListeners.contains(fll)) {
                        mListeners.add(fll);
              public void removeInputStreamListener(InputStreamListener fll) {
                   if (mListeners == null) {
                        return;
                   mListeners.remove(fll);
              public byte[] readCompletely() {
                   run();
                   return buf;
              public int got() {
                   return got;
              public void run() {
                   if (waitTime > 0) {
                        TimeOut to = new TimeOut(waitTime);
                        Thread t = new Thread(to);
                        t.start();
                   int b;
                   try {
                        while ((b = in.read()) != -1) {
                             if (got + 1 > buf.length) {
                                  buf = IOUtils.expandBuf(buf);
                             int start = got;
                             buf[got++] = (byte) b;
                             int available = in.available();
                             //System.out.println("got = " + got + " available = " + available + " buf.length = " + buf.length);
                             if (got + available > buf.length) {
                                  buf = IOUtils.expandBuf(buf, Math.max(got + available, buf.length * 2));
                             got += in.read(buf, got, available);
                             signalListeners(false, start);
                             if (mClearBufferFlag) {
                                  mClearBufferFlag = false;
                                  got = 0;
                   } catch (IOException iox) {
                        throw new PartialReadException(got, buf.length);
                   } finally {
                        buf = IOUtils.trimBuf(buf, got);
                        signalListeners(true);
              private void setClearBufferFlag(boolean status) {
                   mClearBufferFlag = status;
              public void clearBuffer() {
                   setClearBufferFlag(true);
              private void signalListeners(boolean over) {
                   signalListeners (over, 0);
              private void signalListeners(boolean over, int start) {
                   if (mListeners != null) {
                        Iterator i = mListeners.iterator();
                        InputStreamEvent ev = new InputStreamEvent(got, buf, start);
                        //System.out.println("got: " + got + " buf = " + new String(buf, 0, 20));
                        while (i.hasNext()) {
                             InputStreamListener fll = (InputStreamListener) i.next();
                             if (over) {
                                  fll.gotAll(ev);
                             } else {
                                  fll.gotMore(ev);
    InputStreamListener.java
    ====================
    package tjacobs.io;
         public interface InputStreamListener {
               * the new data retrieved is in the byte array from <i>start</i> to <i>totalBytesRetrieved</i> in the buffer
              public void gotMore(InputStreamEvent ev);
               * reading has finished. The entire contents read from the stream in
               * in the buffer
              public void gotAll(InputStreamEvent ev);
    InputStreamEvent
    ===============
    package tjacobs.io;
    * The InputStreamEvent fired from the InfoFetcher
    * the new data retrieved is from <i>start</i> to <i>totalBytesRetrieved</i> in the buffer
    public class InputStreamEvent {
         public int totalBytesRetrieved;
         public int start;
         public byte buffer[];
         public InputStreamEvent (int bytes, byte buf[]) {
              this(bytes, buf, 0);
         public InputStreamEvent (int bytes, byte buf[], int start) {
              totalBytesRetrieved = bytes;
              buffer = buf;
              this.start = start;
         public int getBytesRetrieved() {
              return totalBytesRetrieved;
         public int getStart() {
              return start;
         public byte[] getBytes() {
              return buffer;
    ParialReadException
    =================
    package tjacobs.io;
    public class PartialReadException extends RuntimeException {
         public PartialReadException(int got, int total) {
              super("Got " + got + " of " + total + " bytes");
    }

  • How to get trending line in the graph

    Hi,
    I am using 10g. I have requirement as the following :
    Name Date Metric
    I can have bar graph against Date and Metric. My requirement is to have a trending line, so I calculated slope and regression line y=mx+c but I am not getting the right trend line. I can use regr_slope function to create a view in rpd but it doesnt support date values. Can you guys let me know how to get trending line like same in Excel.
    Thanks

    Hi,
    It's better to do at UI level.
    Can you please check the below link:
    http://kpipartners.blogspot.in/2009/04/linear-regression.html
    Hope this helps.
    Thanks,
    Pramod.

  • Product Line Items In Opportunity Form

    Hi All,
    I have Product Lookup in Lead form and i Kept Price Lookup also on Lead Form so whenever select Product on Lead Form the Corresponding Default Price List is getting from Product and keeping on Lead Form. So from this Lead Form when i am Qualifying the Lead
    then i am passing Product and Price List information to Opportunity Form by Using Mapping Functionality.
    So what i need is i need to Load Product Line Item Automatically on Opportunity Form as i have already Selected the product on Lead Form.
    Thank You for your quick response.
    K V SambasivaRao

    Hi,
    This is a typical problem faced in alligning the text and the cause of it is window size.
    In the table, please check that you have assigned the correct line type.
    Also check the column width in the line type for the column in which the line item is getting displayed.
    Also in the texts where you assing the line type, try adjusting the new cell and skip cell settings.
    regards,
    Gaurav

  • Performance issue: Adding a new product line to existing Quote calls pricing engine for existing line a well

    Hi All,
    I need some assistance for my below query...
    If there are already existing some product/quote lines on the quote and then we try to add another new product/quote line to this quote , then  it is taking more time to add the product. As per my understanding it is calling the Pricing engine for the existing line as well. How can we avoid the pricing engine call for the existing lines.
    There are some parameters which we are setting as mentioned below :
    l_control_rec.header_pricing_event := 'BATCH' -- What does this mean when we set to batch
    l_control_rec.price_mode := 'ENTIRE_QUOTE'; -- (possible values could be CHANGE_LINES , QUOTE_LINE)
    l_header_rec.pricing_status_indicator := 'C';
    l_control_rec.calculate_freight_charge_flag := 'Y';
    l_control_rec.calculate_tax_flag := 'Y';
    l_header_rec.tax_status_indicator := 'C';
    Question :Could someone please help us with this whether is there any way with these parameters could be altered or changed to some other value ( like for PRICE_MODE we see this parameter could have some other values like : CHANGE_LINES , QUOTE_LINE etc other than ENTIRE_QUOTE).
    means lets say we do the Pricing Engine call only for the Newly Added quote line but not do it for the Entire Quote again and again..
    Now the other question here could be how do we finally synch the line level price values for all the quote lines upto the Quote header level in form of Totals (TOTAL_LIST_PRICE,TOTAL_TAX, TOTAL_SHIPPING_CHARGE, SURCHARGE, TOTAL_QUOTE_PRICE in aso_quote_headers_all table) ??
    Also is there a way that we don't do the Freight Charge calculation and Tax calculation (means we skip this completely) while adding products to the quote but do it at a later point when doing the Submit to Order functionality.
    Could someone please help with these pricing related parameters and modes to be used in order to get around this performance issue
    Thanks
    Mithun

    Dear Expert,
    Activate your Controlling area as usual and Cost Centers and Profit Center , You can assign an internal order for the particular product line for what you are seeing and can collect the costs of that particular product line exclusively.
    Regards,
    Shankar K B

  • How to Get Each line item Create and Approval dates for a SHOPPING CART in SAP SRM (ABAP Programming)

    Hi All,
    I have to Get Each line item Create and Approval dates for a SHOPPING CART in SAP SRM. Either a table, or any Function module, Method, please let me know ASAP. Same i can use in my Program.
    Thank you Very much.
    Regards,
    Ramesh J.

    Hi,
    Refer the below wiki link it may help you.
    Product catlog configuration for ECC - CRM - SCN Wiki

  • SD Question: Product Line in Invoice?

    Anybody know where the Product Line field is on an invoice (VF03) and its field name?
                  Thank-You.

    You want to get the line item details of the invoice ?? Then check table VBRP for line itemd details and VBRK for the header information.

  • Performance issue adding a new product line to existing Quote pricing issue

    Hi All,
    Morning , need some assistance with this as we are currently stuck with this...
    Using the Seeded API call mentioned here : aso_quote_pub.update_quote we are trying to add a new product/item lines to an existing quote in Sales Online Module but it is taking lot of time ( means performance issue is there ).
    Also if there are already existing some product/quote lines on the quote and then we try to add another new product/quote line to this quote , then also it more and more of the time..
    There are some parameters which we are setting as mentioned below :
    l_control_rec.header_pricing_event := 'BATCH' -- What does this mean when we set to batch
    l_control_rec.price_mode := 'ENTIRE_QUOTE'; -- (possible values could be CHANGE_LINES , QUOTE_LINE)
    l_header_rec.pricing_status_indicator := 'C';
    l_control_rec.calculate_freight_charge_flag := 'Y';
    l_control_rec.calculate_tax_flag := 'Y';
    l_header_rec.tax_status_indicator := 'C';
    Question :Could someone please help us with this whether it there any way these parameters could be altered or changed to some other value ( like for PRICE_MODE we see this parameter could have some other values like : CHANGE_LINES , QUOTE_LINE etc other than ENTIRE_QUOTE).
    means lets say we do the Pricing Engine call only for the Newly Added quote line but not do it for the Entire Quote again and again..
    Question : Now the other question here could be how do we finally synch the line level price values for all the quote lines upto the Quote header level in form of Totals (TOTAL_LIST_PRICE,TOTAL_TAX, TOTAL_SHIPPING_CHARGE, SURCHARGE, TOTAL_QUOTE_PRICE in aso_quote_headers_all table) ??
    2.Also is there a way that we don't do the Freight Charge calculation and Tax calculation (means we skip this completely) while adding products to the quote but do it at a later point when doing the Submit to Order functionality.
    Could someone please help with these pricing related parameters and modes to be used in order to get around this performance issue
    Thanks

    Dear Expert,
    Activate your Controlling area as usual and Cost Centers and Profit Center , You can assign an internal order for the particular product line for what you are seeing and can collect the costs of that particular product line exclusively.
    Regards,
    Shankar K B

  • Put away to production lines directly, storage location control WM

    We are Using Storagelocation Control Functionality in WM
    We have below Storage locations
    RW01 - Raw Material Storing
    PD01 - Materials staged for Production Lines
    I have setup 001 as Standard Storage location and 002 as 'not copied to TR'
    Few materials are received directly to production lines instead of going to Raw material storage
    PO--> GR is posted for PD01
    Now TR got generated but doesnt have storage location in it, this is fine as per functionality
    When i try to convert to TO it is copying MP01 since it it standard storage location
    This is where we are getting 902 negative entries for MP01
    No TR creation but bin to bin transer only solution ????

    Any pointers ???

  • Wrong selection of Production line in MFBF.

    Hi PP Gurus,
    We are having one SFG say 'X' containing three production version say 001,002, and 003 for production line PL-1000, PL-2000, and PL3000 with same Receiving storage location. We are usingh standard REM profile 0002-Final backflush w. activities with all other PP master data correctly.
    While doing backflush for production version 001 system is giving right Production line i.e. PL-1000 for posting activities. But we are trying for the same for Production version 002 or 003 system is though populating/exploding proper/right BOm as per production version but it is giving production line 'PL-1000' for these versi

    Dear Arbaba,
    Check with this & let me know where you are struck up.
    1.Material X(FERT) initially with BOM Alt1 & Rate routing 1 or say (prod.Line 1) I create a Production
    version >product Cost Collector>Pre.Cost Estimate-->Data saved.
    Now say in REM profile 0001---> 0001 - GI backflush at GR Posting & for cost Accounting the radio button
    for Backflush using standard cost estimate for the material.Now let's assume initially this REM profile is
    assigned in the material master.
    2.I'm creating a different Rate routing and assigning Prod.Line2 for this.--->second production version --->
    product Cost Collector>pre.Cost Estimate->Data Saved.
    3.Now create a new REM profile say 0004 - with GI backflush at GR Posting & for cost accounting select
    the radio button Using Data from Preliminary Costing for Product Cost Collector.
    4.Now assign this new REM profile in the material Master say 0004 and after that check in MFBF,select
    the respective production version and check whether you are getting the proper result.
    5.A material can have only one standard cost estimate made out of a BOM & routing combination.So it
    has happened through your production version 1(where prod.Line1 is assigned).Now suppose if you want to
    doa production booking using prod.version2 whose manufacturing cost will differ from prod version1,so
    that's the reason I'm asking you to change the REM profile which will to take the cost from Pre.Costing
    from the Product Cost collector.(As per the new REM profile will to do the production confirmation manually
    selecting the prod.version).
    Check & revert back.
    Regards
    Mangalraj.S

  • Integration between Product line costing/schedule/risk/pricing and Finance

    Hi SD Gurus
    Anybody pls help me ,
    " Bidding integration between Product line costing/schedule/risk/pricing and Finance business plans ".-- Fixing Core Phase.
    Pls send me Business process for this Pain Area.
    Very Urgent.
    Thanking you
    with regards
    pawan

    HI Gowri
    Regarding products, those are not created in the cloud.  In regards to what data is  unidirectional versus bi-directional the discussion normally focuses on who owns the data.  Products aren't owned by the sales or service teams, they are normally owned by a master data function.  Products are unidrectional  from ERP to Cloud for customer.    Review our golden deck, listed in the how-to guide blog to understand what data is integrated. 
    http://scn.sap.com/community/cloud-for-customer/blog/2014/03/27/sap-cloud-for-customer-integration-with-erp-and-crm-how-to-guides-and-e-learning
    -ginger

Maybe you are looking for