In layout  how we can define screen field ie customer no -------- to ------

hi,
   in layout  how we can define screen field ie
                customer no -
to -
                 my screen should be like this?
       reply me soon.

we cannt able declare select-options in module pool program .But we have ranges
   so delclare two varibles
DATA:  v_kun_low LIKE zcust-kunnr ,
       v_kun_high LIKE zcust-kunnr.
RANGES r_kunnr FOR zcust-kunnr  .
   in PAI
         CASE SY-UCOMM.
            WHEN 'FCTCODE'.
             r_KUNNR-low = v_KUN_low.
             r_KUNNR-high = v_KUN_high.
             r_KUNNR-option = 'BT'.
             r_KUNNR-sign = 'I'.
         APPEND r_budat.
in screen designing
   ie layout>f6>get from program fields

Similar Messages

  • How we can define User Constraints in SAP APO SNP?

    Hi
    How we can  define flexible User Constraints in SAP APO SNP ? Meaning standard constraints can be configured in SAP APO SNP but how we can configured real time  customer constraints?
    Thanks
    Poorna

    Hi,
    You can use CIF user exit CIFMAT01 for this purpose. You can follow below path in SAP for more details
    SPRO---SAP refrenceIMG----Integration with other SAP components---Advanced Planning and Optimization---Application specific settingsand enhancements---Enhancement for materials---Influence data before transfer to APO on user specific basis.
    YOu can read help in above path about exit.
    YOu need ABAP person who need to code this. What you need is read custom field from table from MARC  and Populate in procurement cose field in this exit.
    Regards,
    Santosh,

  • How one can define Bus. Process Modeling(BPM) and Business Process Engine

    Hi,
    How one can define BPM and BPE in simple terms?
    it would be great if once can give practical example.
    thank you,
    cg

    hi,
    I would compare these with java.
    Eclipse-->Business Process Editor
    Java Code(Business logic) --> Business Process (BPM)
    Java Compiler --> Buisness process Engine
    Regards,
    Siva Maranani.

  • HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    data : v_abcde like sy-abcde,
             v_num like '0123456789',
              v_data(60) type c.
    start-of-selection.
    v_abcde = sy-abcde.
    concatenate v_abcde v_num into v_data.
    if ur field co v_data
    else.
    message.
    endif.

  • How we can define storage capacity constraint for SAP APO SNP(trading company)

    Hi
    can any one advise how we can define storage capacity constraint in SAP APO SNP.Typically businesss scenario its a trading company  sources from different sources and deliver to the distribution centres,its typically sourcing optimization using SNP optimizer.How we can define capacity constraint for a source?
    Thanks

    Hello Poorna
    I suggest you to refer this thread which will be helpful.
    Storage capacity as hard constraint in SNP optimizer
    and this is one very informative document too.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b004ab38-d73f-2d10-9d86-81f014034235?overridelayout=t…
    Hope this will help
    Thank you
    Satish Waghmare

  • How we can define sourcing capacity constraint?

    Hi
    How we can define sourcing capacity constraint in SAP APO SNP optimizer ?Basically SNP is used for Sourcing optimization?
    Thanks
    Poorna

    Hi DB49
    If i say at Source A capacity is 6000MT,& demand is 8000MT,i can procure only 6000MT from source A remaining from other source during the SNP optimizer run.How i can define this constraint?
    May be i can consider storage constraint!
    kindly suggest
    Thanks
    Poorna

  • How we can use  XREF1_HD field of BKPF table.

    Hi,
    How we can use  XREF1_HD field of BKPF table.
    Ritu Verma

    Hello,
    Sadashivan is absolutely right.
    You can update this field while posting with using standart substitution or using Business transaction event 00001120.
    If you use BAPI_ACC_DOCUMENT_POST and want to fill this fields, you can use RWBAPI01 business transaction event also.
    Regards,
    Burak

  • How we can take screen shot

    can any one help .....!
    how we can take screen shot in SAP B1B

    Hai Sampath,
    Just open the Screen you want to take screen shot and press Print Screen Button in your Key board. Then Open the Word Document and Paste the Screen shot you have taken.
    Regards
    Shrirangaraaja.S

  • How to create a screen field of 1000 characters

    hi
    i am writing a module pool program i have a requirement like  i need to get a field in the screen which is capable of storing 1000 characters . as far as i know the maximum permissible screen field length is 255 chars. how can i get this 1000 chars pls help me its urgent.........
    Thanks,
    Shiva.

    you might have to store text longer than 255 characters in sapscript texts....
    use FMs SAVE_TEXT and READ_TEXT for this.
    on the screen, probably have multiple inputs of 255 characters each....just ideas

  • How to validate selection-screen field

    Hi all,
      How to validate a selection-screen field defined as a select-options.for Ex i declared a selection-screen field select-options:s_matnr for mara-matnr.
       Then how to validate this field.

    Hi,
    write the below code in AT SELECTION-SCREN.
    EX :
    AT SELECTION-SCREEN.
    *-- Validate the Selection screen data
      PERFORM VALIDATE_SELSCR_DATA.
    WRITE THE below code in Form "VALIDATE_SELSCR_DATA".
    IF  S_MATNR[] IS INITIAL.
    *--MATNR is initial.
       message e000(MsgCLass) with 'matnr is empty'.
    ELSE.
        SELECT MATNR
               INTO MARA-MATNR
               FROM MCHA
               UP TO 1 ROWS
               WHERE MATNR IN S_MATNR.
        ENDSELECT.
        IF SY-SUBRC <> 0.
          MESSAGE E000 WITH 'Invalid MATNR entered'.
        ENDIF.
      ENDIF.

  • How to Read the Screen Fields after a Transaction ?

    Hi all,
    I am working on the Transaction 'O4K_LICENSE'. After the transaction is run, it generates an Internal License number which is displayed on the screen. I tried using 'GET PARAMETER', but as the CALL TRANSACTION is called within a loop, the SAP Global memory is not getting refreshed and iam getting the same value for every loop for the Internal License Number.
    Is there any function Module other than DYNP_VALUES_READ to get the screen field values? I tried using the above function module, but in vain and it is not getting any values.
    Warm Regards,
    Vijay.

    Well .... let me explain this very clearly.
    The table OIHL has a composite primary key which is the combination of "External License Number" and "Internal License Number". The latter is generated after running the O4K_LICENSE transaction.
    Moreover, iam attaching every record with a record generated in the program. Now, the same User(ERNAM) can create records having the same External License Number.
    For example:
    If i created a record yesterday with an external License Number 123, then say an internal lic no of 3 is assigned to it.
    If i Create another record today with the same external lic no of 123, and an internal no of say 20 is attached to it, then i donot have any criterion to select the one which i have created today, as it fetches both the records.
    To add to the worst, there is no timestamp field also.
    Message was edited by: Vijay Sai

  • How to make a screen field as selected when we place the cursor in the fiel

    Hi,
       I have a requirement like, needs to be automatically select a screen field value when i place the cursor in that field.
        The screen field value should be displayed in blue color as like we select the value using shift-end. when a new value is entered in that field, it should over-write the existing value.
         Any pointers would be appreciated.
    Thanks,
    Gopi.R

    Hi Gopi,
    you can look into some examples in transaction
    DWDM or BIBS
    Thanks,
    Krishan

  • How to populate 2 screen-fields with one [ON VALUE-REQUEST FOR input] evnt?

    I have a selection screen with 2 text inputs - input1, input2.
    For the first one I have an "AT SELECTION-SCREEN ON VALUE-REQUEST FOR input1" event.
    I successfully get a value there and that is set to the screen field. But I also want input2 to be automatically populated with a value corresponding to the selected input1 (eg. input1=ID, input2=Name).
    I'm able to set input2 ABAP variable but not the screen-element.
    (I guess that ON VALUE-REQUEST doesn't fire any events for screen fields update, because if I press ENTER after using my search-help, then input2 is set with the right value)
    How to solve the problem?

    Hi Ramchander,
    Actually I used FM F4IF_FIELD_VALUE_REQUEST which doesn't have mapping parameters.
    But after your advice I looked through F4IF_INT_TABLE_VALUES_REQUEST and found that it's
    DYNP_VALUES_UPDATE FM that solves my task.
    Thanks!

  • How to design a screen field

    Hi
    I have to design a screen field which has 99rows and 60 digit each.
    Please help me out from this
    Thanks
    Neelima

    Try (documentation) [Defining a Table Control|http://help.sap.com/saphelp_bw/helpdata/en/d1/801bdf454211d189710000e8322d00/frameset.htm] and (sample) [Learn Making First Table Control |http://wiki.sdn.sap.com/wiki/display/ABAP/LearnMakingFirstTableControl].
    Regards,
    Raymond

  • How to set selection screen field obligatory dymically

    hi expert,
    i have to make selection screen field obligatory while selecting a check box,i am using the following code can any one help me regards, thanks in advance.....
    PARAMETER:p_user TYPE adr6-smtp_addr ,
              p_check AS CHECKBOX user-command ucomm.
    at SELECTION-SCREEN.
    case sy-ucomm.
    when 'UCOMM'.
      PERFORM set_obligatory.
    ENDCASE.
    FORM set_obligatory .
      LOOP AT SCREEN.
      IF SCREEN-name = 'P_USER'.
      SCREEN-REQUIRED = 1.
       MODIFY SCREEN.
      ENDIF.
      ENDLOOP.
    ENDFORM.                    " set_obligatory

    Hi,
       The following is the sample code.
    PARAMETERS : p_barea TYPE ps0171-barea DEFAULT 'Z1' MODIF ID pb,
                                                " Benefit Area
                 p_imfil TYPE rlgrap-filename,  " Import file name
                 p_lock  TYPE ztx_int-int_name
                   DEFAULT 'ZHBNT06A_METLIFE_INBOUND' MODIF ID pb, " Lock
                p_test  TYPE c AS CHECKBOX,    " Test run
                 p_update type c as checkbox. " default 'X'
    SELECTION-SCREEN END OF BLOCK selb01.
                          AT SELECTION-SCREEN OUTPUT                     *
    AT SELECTION-SCREEN OUTPUT.
    Benefit Area field made display only field
      LOOP AT SCREEN.
        IF screen-group1 EQ 'PB'.
          CLEAR screen-input.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Regards
    Vick

Maybe you are looking for