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

Query on smartform - RFQ

Hi

In RFQ smart forms ,

1. ph no and fax no of user is taken from user profile or HR master data ?

2. Both ph no and fax nos are joined i.e no space is coming (xxxxxxxxxxxxxxxx),but in user profile SU01D space is maintained.

3.

Following logic is used to obatin the tel number and fax number:

User ID of the user is xxxxxx

From table USR21, the personnel number xxxxx, and address number xxxx is obtained.

Using this the tel number is obatined from table ADR2 and fax number is obtained from ADR3. The program gets the long numbers which include the country code + number. The fields are adr2-telnr_long and adr3-faxnr_long.These fields are maintained incorrectly. the fields that appear in User master is adr2-tel_number and adr3-fax_number which is stored correctly without country code.

Once the user master is corrected, the values will be correctly populated in the RFQ output.

-


Could you please some one advice on this,where form ph and fax no picked usually and how to given space for ph and fax no i.e (xx x xxxx xxxx) we need to change in script for this ?

Many Thanks

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 19, 2009 at 04:14 AM

    Hi Dhina.

    where form ph and fax no picked usually ?

    Actualy it depends on bussiness requirment such as get from vendor or customer address.

    it is better if you ask functional consultant what actualy they want and on which master.

    and how to given space for ph and fax no i.e (xx x xxxx xxxx) we need to change in script for this ?

    Define data type as a text i.e

    DATA: v_ph_fax_no TYPE CHAR50.

    CONCATENATE ph_no fax_no INTO v_ph_fax_no SEPARATED BY space.

    then print v_ph_fax_no out instead.

    Hope it helps.

    Sayan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2009 at 04:29 AM

    Hi,

    In script, call a PERFORM with using parameter as adr2-phn_num, adr3-fax_num and another 2 more changing parameters, then write the code in program to concatenate or split.

    Eg: In script:

    PERFORM name IN prog_name USING &adr2-phn_num&

    USING &adr3-fax_num&

    CHANGING &v_phn_num&

    CHANGING &v_fax_num&.

    ENDPERFORM.

    In Program (prog_name):

    FORM name USING input LIKE itcpo

    CHANGING output LIKE itcpo.

    data : lv_phn_no TYPE XXXX.

    read table input with key name = 'ADR2-PHN_NUM'.

    lv_phn_no = input-value.

    here do ur coding with lv_phn_no.

    after u get the req value pass that value to output table and modify the table.

    do the same for fax number also.

    ENDFORM.

    by doing like above, u ill get the req values in changing parameters of the perform

    Hope it helps!!

    let me know if still it is not clear!!

    Regards,

    Pavan

    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.