cancel
Showing results for 
Search instead for 
Did you mean: 

SIGN UPLOAD DEPENDING ON PURCHASING GROUP

Former Member
0 Kudos

i need to up load sign based on the purchasing group in to a window

so i am passing the purchasing group in a table which has per group and name and getting the name of bitmap file in variable V_name in sub routine

and then i am creating a constant window and giving path for file as

/: BITMAP &v_name& OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 000

but it is not working as it is unable to understand &v_name&

any way that i can do this

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks solved

Former Member
0 Kudos

HI,

wat is the form u r using is it script or smartform.

if it is smartform use alternative option and if is script then use a condition check with IF

also for script upload using rstxldmc program but for smartform use only se78.

coz i did a same type of object long ago when i was uploading it using rstxldmc it was saving using a text for a smartform.

Former Member
0 Kudos

Hi,

First upload the Bit map into the SAP. Then based on on the purchasing group the conditon pull the bit map either using INCLUDE or BIT map commands.

Make use of std prg RSTXLDMC to upload the file.

Do the following procedure to import the file

1.In the maintenance window, choose Edit -> Graphics -> Create.

The dialog window for inserting graphics appears.

2. Choose Import.

The dialog window for importing graphics appears.

3.Enter the complete path for the graphic file.

4.In the group box Save as enter the name, the description, and the type of the graphic.

5.In the group box Print attributes enter the print attributes.

6.Choose Continue.

<b>Note:</b> Check the length of V_name, if you are gettting it from the Subroutine.

As I remember subroutine passes only 60/80 characters per field.

2. Don't add the purchasing group name for the file name.

Br,

Laxmi

Former Member
0 Kudos

hi thanks a lot,

i am able to upload the signature in SAP and show it in normal procedure

what my actual problem is

i have 1000 purchasing groups depending upon the group selected a person needs to sign

if i put condition in my command line and goto insert graphics and upload sign name my script works comfortabely

but i cannot put 1000 conditions yaar that is why i need to pass the name of sign in table for purchasing group and call this, more over this purchasing groups increase now and then so updating table will be best procedure

my v_name is getting the exat name what i have in my sap name uploded by me

my prob is only this line is not executed properly

/: BITMAP &v_name& OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 000

does command line understand and takes value of &v_name& as name or not

if not any alternative

to do this