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

To carete SO using BDC in ECC6.0

Hi all,

I am getting problem when i am creating SO using BDC.

Actuallty at last i am getting problem with long text.

How to enter that long text in special instructions.

Then only it will create SO successfully.

If any one knows solution.pls guide me.

Thanks & Regards,

J.Lokesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2008 at 05:00 AM

    What u do is that while recording the text part in bdc , click on the first delete button, and then create button and after that double click on the editor or click on the text-editor change button, a window will get opened , then click go-to menu -> change editor.

    there u can use loop the text table and wirte it according .

    eg

    PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.

    PERFORM bdc_field USING 'BDC_OKCODE'

    '=TP_DELETE'. "first delete

    PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.

    PERFORM bdc_field USING 'BDC_OKCODE'

    '=TP_CREATE'. " then create

    PERFORM bdc_field USING 'LV70T-SPRAS'

    sy-langu.

    PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.

    PERFORM bdc_field USING 'BDC_OKCODE'

    '=TP_DETAIL'. "if not double click then click on change button after the delete button and then click on the change-editor menu .

    PERFORM bdc_field USING 'LV70T-SPRAS'

    sy-langu.

    PERFORM bdc_dynpro USING 'SAPLSTXX' '1100'.

    PERFORM bdc_field USING 'BDC_CURSOR'

    'RSTXT-TXLINE(02)'.

    PERFORM bdc_field USING 'BDC_OKCODE'

    '=TXVB'.

    PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(02)'

    '*'.

    PERFORM bdc_field USING 'RSTXT-TXPARGRAPH(03)'

    '*'.

    PERFORM bdc_field USING 'RSTXT-TXLINE(02)'

    wa_itab-htext1.

    PERFORM bdc_field USING 'RSTXT-TXLINE(03)'

    wa_itab-htext2.

    PERFORM bdc_dynpro USING 'SAPLSTXX' '1100'.

    PERFORM bdc_field USING 'BDC_CURSOR'

    'RSTXT-TXLINE(02)'.

    PERFORM bdc_field USING 'BDC_OKCODE'

    '=TXBA'.

    PERFORM bdc_dynpro USING 'SAPMV45A' '4002'.

    PERFORM bdc_field USING 'BDC_OKCODE'

    '/EBACK'.

    regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sravan Prakash.V ,

      Thanks u very much for reply.

      Actually yours suggestion is succesfully creating.

      But one small doubt that,long text is coming.

      I am recording 14th perticular text(Special instructions),but it is placing in the 1st line text only.

      Means how to keep that in perticular text.

      Actually i have added like this..

      V_TEXT_LINE = '.'.

      V_TEXT_LINE1 = 'Spl Inst'.

      ***************************************************GOUD

      PERFORM BDC_DYNPRO USING 'SAPMV45A' '4002'.

      PERFORM BDC_FIELD USING 'BDC_OKCODE'

      '=TP_DELETE'. "first delete

      PERFORM BDC_DYNPRO USING 'SAPMV45A' '4002'.

      PERFORM BDC_FIELD USING 'BDC_OKCODE'

      '=TP_CREATE'. " then create

      PERFORM BDC_FIELD USING 'LV70T-SPRAS'

      'EN'.

      PERFORM BDC_DYNPRO USING 'SAPMV45A' '4002'.

      PERFORM BDC_FIELD USING 'BDC_OKCODE'

      '=TP_DETAIL'. "if not double click then click on change button after the delete button and then click on the change-editor menu .

      PERFORM BDC_FIELD USING 'LV70T-SPRAS'

      SY-LANGU.

      PERFORM BDC_DYNPRO USING 'SAPLSTXX' '1100'.

      PERFORM BDC_FIELD USING 'BDC_CURSOR'

      'RSTXT-TXLINE(02)'.

      PERFORM BDC_FIELD USING 'BDC_OKCODE'

      '=TXVB'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(02)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(03)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(04)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(05)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(06)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(07)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(08)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(09)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(10)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(11)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(12)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(13)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(14)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(15)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(16)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(17)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(18)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXPARGRAPH(19)'

      '*'.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(02)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(03)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(04)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(05)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(06)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(07)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(08)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(09)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(10)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(11)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(12)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(13)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(14)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(15)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(16)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(17)'

      V_TEXT_LINE1.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(18)'

      V_TEXT_LINE.

      PERFORM BDC_FIELD USING 'RSTXT-TXLINE(19)'

      V_TEXT_LINE.

      PERFORM BDC_DYNPRO USING 'SAPLSTXX' '1100'.

      PERFORM BDC_FIELD USING 'BDC_CURSOR'

      'RSTXT-TXLINE(02)'.

      PERFORM BDC_FIELD USING 'BDC_OKCODE'

      '=TXBA'.

      • PERFORM BDC_DYNPRO USING 'SAPMV45A' '4002'.

      • PERFORM BDC_FIELD USING 'BDC_OKCODE'

      • '/EBACK'.

      ********************************************************************GOUD

      but it is saving in that sales order in 1st text only.

      it is not saving in the special instructions text.

      pls if u know answer pls help me.

      Thanks & Regards,

      J.Lokesh.

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.