Skip to Content
author's profile photo Former Member
Former Member

Routings Standard Values

I created a recording of transaction CA and generated a program from it. I'm having trouble getting the standard values for setup, machine and labor in screen 1010. The actual fields I'm populating are in subscreen 1211. I'm not able to get any values into the three standard value fields VGW01, VGW02 or VGW03. This is very frustrating and any help will be greatly appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2005 at 05:34 AM

    Hi Joseph,

    Try to do the recording again and fill the values for the setup,machine and labor in the operation screen i.e.,screen number 1010.

    Hope this helps you.

    Regards,

    venkatalakshmi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 01, 2005 at 01:47 PM

    Hello,

    Check out this sample code. This works. You can :

    report YSDKFDS no standard page heading line-size 255.

    *include bdcrecx1.

    DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.

    parameter: p_plnnr like plas-plnnr obligatory.

    parameter: p_plnal like plas-plnal obligatory.

    parameter: p_vornr like plpo-vornr obligatory.

    parameter: p_VGW01(11).

    parameter: p_VGW02(11).

    parameter: p_VGW03(11).

    start-of-selection.

    • perform open_group.

    perform bdc_dynpro using 'SAPLCPDI' '1010'.

    perform bdc_field using 'BDC_CURSOR'

    'RC271-PLNNR'.

    perform bdc_field using 'BDC_OKCODE'

    '/00'.

    perform bdc_field using 'RC27M-MATNR'

    ''.

    perform bdc_field using 'RC271-PLNNR'

    • '50000001'.

    p_plnnr.

    perform bdc_field using 'RC271-STTAG'

    '01.07.2005'.

    perform bdc_field using 'RC271-PLNAL'

    • ''.

    p_plnal.

    perform bdc_dynpro using 'SAPLCPDI' '1400'.

    perform bdc_field using 'BDC_CURSOR'

    'PLPOD-VORNR(01)'.

    perform bdc_field using 'BDC_OKCODE'

    '=OSEA'.

    perform bdc_field using 'RC27X-ENTRY_ACT'

    '1'.

    perform bdc_dynpro using 'SAPLCP02' '1010'.

    perform bdc_field using 'BDC_CURSOR'

    'RC27H-VORNR'.

    perform bdc_field using 'BDC_OKCODE'

    '=ENT1'.

    perform bdc_field using 'RC27H-VORNR'

    • '0020'.

    p_vornr.

    perform bdc_dynpro using 'SAPLCPDI' '1400'.

    perform bdc_field using 'BDC_CURSOR'

    'PLPOD-VORNR(01)'.

    perform bdc_field using 'BDC_OKCODE'

    '=VOD1'.

    perform bdc_field using 'RC27X-ENTRY_ACT'

    '2'.

    perform bdc_field using 'RC27X-FLG_SEL(01)'

    'X'.

    perform bdc_dynpro using 'SAPLCPDO' '1200'.

    perform bdc_field using 'BDC_OKCODE'

    '=BU'.

    perform bdc_field using 'PLPOD-VGW01'

    • '1'.

    p_VGW01.

    perform bdc_field using 'PLPOD-VGW02'

    • '1'.

    p_VGW02.

    perform bdc_field using 'PLPOD-VGW03'

    • '1'.

    p_VGW03.

    *perform bdc_transaction using 'CA02'.

    call transaction 'CA02' using BDCDATA mode 'A'.

    *perform close_group.

    ----


    • Start new screen *

    ----


    FORM BDC_DYNPRO USING PROGRAM DYNPRO.

    CLEAR BDCDATA.

    BDCDATA-PROGRAM = PROGRAM.

    BDCDATA-DYNPRO = DYNPRO.

    BDCDATA-DYNBEGIN = 'X'.

    APPEND BDCDATA.

    ENDFORM.

    ----


    • Insert field *

    ----


    FORM BDC_FIELD USING FNAM FVAL.

    • IF FVAL <> NODATA.

    CLEAR BDCDATA.

    BDCDATA-FNAM = FNAM.

    BDCDATA-FVAL = FVAL.

    APPEND BDCDATA.

    • ENDIF.

    ENDFORM.

    Hope this helps you.

    Best Regards, Murugesh AS

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2005 at 02:02 PM

    Thank you Murugesh. Will this work using transaction CA01? I'm doing the initial data conversion for routings.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2005 at 03:21 PM

    Thank you all for your input. I've decided to give LSMW one more try. I'm getting close but I have this one last issue when running the direct input program. I'm getting the error that a group cannot be determined for the material/plant. I don't know how to correct for this so I could use some help here.

    Thank you,

    Joe

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2005 at 03:40 AM

    Thank you Murugesh for your continued help in this matter. At the point where I start the direct input program I get the error report stating that the group cannot be determined for material/plant. I don't understand why I get this error since with the same material/plant I can go in and create a routing in CA01. You know now that I'm looking at the report I see the material number without the preceding zeros. I will try zero filling this field and try again. I hope this is the answer.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2005 at 01:03 PM

    Thank you for your reply. I forgot to mention I'm working on release 4.6b and those fields are not available for input on that screen. On my prior project which was 4.7 that is exactly what I did to load those fields with no problem. If anyone has an idea for 4.6b I will welcome any suggestions.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.