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

Reg BDC Upload prog

Hi Experts,

I have one issue in my BDC program, this prog is upload Journal entry. my Journal entry file name is like "378040". its number. its a cost center. now client requirement is different they want in front of the file added four zeros(0000). so now my file name is 0000378040. so how can i added 0000 in front of the file????

Can u give me suggetion.

Vishal.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2008 at 08:10 PM

    are you placing this file in app. server?

    before opeing the file,

    concatenate '0000'

    profit_center(378040)

    into gv_file .

    condense gv_file.

    now u file name has been changed to 0000378040.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2008 at 08:11 PM

    Like this:

    REPORT ztest MESSAGE-ID 00.
    
    DATA: kostl TYPE csks-kostl VALUE '378040'.
    
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input  = kostl
      IMPORTING
        output = kostl.
    

    Rob

    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.