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

How to do bdc recording for T.Code CJ88

Hi Guru,

Please suggest how to recording T.code CJ88..

Regards,

Kranthi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 13, 2008 at 11:48 AM

    Hi...

    1. Goto SHDB transaction.
    2. Click on new recording push button.
    3. Enter some name for ur recording like ZREC
    4. Enter CJ88 at transaction code
    5. Click on start recording
    6. Enter field entreies in the screens...
    7. Finally click on BACK button
    8. And click on SAVE again BACK
    9. Select you r recording , click on progarm push button.
    10. Enter the program name.
    11. Click the Enter......
    12. Enter title and Click on sourse code...

    Thanks,

    Naveen.I

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi...

      See this Kranthi.. I done this from SHDB.. for the frist screen...

      include bdcrecx1.
      
      parameters: dataset(132) lower case.
      
      *** Generated data section with specific formatting - DO NOT CHANGE  ***
      data: begin of record,
      * data element: SPO_VALUE
              VALUE_01_001(132),
      * data element: ABR_PERIO
              PERIO_002(003),
      * data element: GJAHR
              GJAHR_003(004),
      * data element: CO_VAART
              VAART_004(001),
      * data element: TESTLAUF
              TESTLAUF_005(001),
            end of record.
      
      *** End generated data section ***
      
      start-of-selection.
      
      perform open_dataset using dataset.
      perform open_group.
      
      do.
      
      read dataset dataset into record.
      if sy-subrc <> 0. exit. endif.
      
      perform bdc_dynpro      using 'SAPLSPO4' '0300'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'SVALD-VALUE(01)'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=FURT'.
      perform bdc_field       using 'SVALD-VALUE(01)'
                                    record-VALUE_01_001.
      perform bdc_dynpro      using 'SAPLKO71' '1000'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LKO74-GJAHR'.
      perform bdc_field       using 'BDC_OKCODE'
                                    'AUSF'.
      perform bdc_field       using 'LKO74-PERIO'
                                    record-PERIO_002.
      perform bdc_field       using 'LKO74-GJAHR'
                                    record-GJAHR_003.
      perform bdc_field       using 'LKO74-VAART'
                                    record-VAART_004.
      perform bdc_field       using 'LKO74-TESTLAUF'
                                    record-TESTLAUF_005.
      perform bdc_transaction using 'CJ88'.
      
      enddo.
      
      perform close_group.
      perform close_dataset using dataset.

      But I am not good with this senario's functional backgroud...

      All the best.

      Thanks,

      Naveen.I

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2008 at 11:49 AM

    Hi,

    Use SHDB transaction.

    Regards,

    Prashant

    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.