Tabstrips in VA01

Hi Friends,
I want to know how tabstrips can be modified in SAP Standard transaction. In our system there are only 3 tabstrips insted of 6. can anybody help me about this,
Regards,
Dheeraj.

HI
GOOD
THERE IS FOUR TABSTRIP COMING IN MY SYSTEM AND I THINK THAT IS CORRECT
1-Create with Reference
2-Sales
3-Item Overview
4-Ordering Party
check this out otherwise consult your basis consultant.
thanks
mrutyun

Similar Messages

  • Reg sales order Header text VA01/VA02

    Hi,
    In VA01/VA02 ..
    From menu bar
    Goto   -> Header  ->  Texts
    In this texts tabstrip left side Form header, Header note1, Header note2 & Geo transmit status
    These 4 elements are there.
    Now the above 4 elements r working if u r double clicking on them, then u can enter the text.
    but my requirement is that should work even if u press single click also...
    How to achieve it..
    Thanks in advance..
    VR

    Hi venkat,
        can you please address my problem, as u got same problem like me... below is the details ...
    I am facing some problem during the recording of hader text.. Details given below...
    I need to do this by using BDC...
     VA01 Steps as follows:
    1. Open VA01
    o Enter G2 or L2 order Type
    o Enter 9991 for Sales Org
    o Enter 01 for Dist Channel
    o Enter 99 for Division
    2. Enter Customer SAP # from spreadsheet to ship to and sold to
    (Enter some appropriate number)
    3. Enter Material Code from spreadsheet to Material
    (Enter some appropriate number)
    4. Enter target quantity as 1
    5. Enter Billing date as system date
    6. Go to Sales Tab
    7. Select Blank for billing block
    8. Enter order reason 013 for G2 type or 012 for L2
    9. Goto Header, Texts, Choose Invoice header text
    10. Enter SVB# from file as well as Quarter Text from file in notes
    11. Save
    this is want i need to do in order to create invoice serivce request by using BDC.
    I can able to get the fields till 8 th point ( i can able to write the program ), but from the 9 th point i m facing the problem..
    Bcz it just i need to enter some text here..( may be it's bcz of click )
    This is could not able to do it , can you please help me how can i do this ?
    Please let me know if i m not clear with my explanation...
    Looking forward for your response...
    Regards,
    Suresh...

  • Reg: VA01 transaction second screen

    hi ,
    in va01 second screen
    sold-to-party fied
    when i am presing F4 search help i am getting popup window
    in this popup window i need to add additional  tabs how can i find that
    specific field  how to add this tabs to this popup window
    plzzz help me
    it is an upgradetation from 4.7 to ECC6.0

    go to se11 .
    go for search help and give sd_debi.
    go for change mode.
    maintain in logon language.
    give field name that should exist in dictionary table.
    save and activate.
    come back to se11  and create a search help ****   and give short description.
    select table as vbak.
    at dialog tab : give dialog with value restriction.
    search help parameter as example:field name what u gave in sd_debi.
    save and activate.
    now assign this search help in sd_debi in included search help tabstrip.
    save and activate.
    go to va01 and check u wil find ur tab and also tabstrip.
    thanks and regards,
    deepika.

  • Adding fileds to va01 transaction

    Can any one tell me how to add fields to standard transaction VA01,
    steps are
    1) after entering order no in va01,goto---heaaderpurch order data> here i have
      to add 2 fields in the space below.
    2) far right side another tabstrip is there-----> Additional B -
    here i have to add
        fields,
    points will be awarded,
    Reddy

    Hi,
       Here is the step by step process of implementing Screen exit.
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    the tcode is cmod...
    1.From the main screen of the Project management transaction, proceed as follows:
    Select Enhancement components and choose Change.
    2.Choose Edit component.
    3.Choose the screen exit and double click on it
    4.Create your subscreen using the Screen Painter.
    5.Design your screen to be added to the standard screen and activate the particular screen and return back to the flow logic .
    6.Choose the PAI and PBO to write down the logic.
    7.Generate your screen and choose Back (the green arrow) to return to the Project management transaction.
    8.Go to the transaction ME22 to view the customer defined screen exit.
    9.Enter the purchase order number and press Enter.
    10.Go to the menu header --> Details.
    11.Purchase number is visible on the standard screen
    Regards

  • BDC for tabstrip

    Hello frnds,
                     i want to go for BDC in va01. can anyone just tell me how to write code for tabstrips. i m getting doubt that how to wtite code for tabstrips.
    plzz help.
    regards,
    satya

    Hi,
    why don't use Transaction SHDB.
    Actually it will be like this.
      clear BDCDATA.
      refresh BDCDATA.
      IDX = 1.
      perform BDC_DYNPRO      using 'SAPMV45A' '0101'.
      perform BDC_FIELD       using 'BDC_CURSOR'
                                    'VBAK-AUART'.
      perform BDC_FIELD       using 'BDC_OKCODE'
                                    '/00'.
      perform BDC_FIELD       using 'VBAK-AUART'
                                    'OR05'.
      perform BDC_FIELD       using 'VBAK-VKORG'
                                    IT_PO_ITEM-VKORG.           "8031'.
      perform BDC_FIELD       using 'VBAK-VTWEG'
                                    IT_PO_ITEM-VTWEG.           "02'.
      perform BDC_DYNPRO      using 'SAPMV45A' '4001'.
      perform BDC_FIELD       using 'BDC_OKCODE'
                                    '=HEAD'.                    "'/00'.
      perform BDC_FIELD       using 'VBKD-BSTKD'
                                    IT_PO_ITEM-ES_PO_NO."'3000008511'.
      perform BDC_FIELD       using 'KUAGV-KUNNR'
                                    IT_PO_ITEM-Z_SOLD_TP.       "'400003'.
      perform BDC_FIELD       using 'KUWEV-KUNNR'
                                    IT_PO_ITEM-Z_SHIP_TP.       "'400003'.
      perform BDC_DYNPRO      using 'SAPMV45A' '4002'.
      perform BDC_FIELD       using 'BDC_OKCODE'
                                    '=T\03'.
      perform BDC_DYNPRO      using 'SAPMV45A' '4002'.
      perform BDC_FIELD       using 'BDC_OKCODE'
                                    '/EBACK'.
      clear DATE.
      concatenate G_BILL_DATE6(2) '.' G_BILL_DATE4(2) '.' G_BILL_DATE+0(4) into DATE.
      perform BDC_FIELD       using 'VBKD-FKDAT'
                                    DATE."'29.03.2007'.
      perform BDC_DYNPRO      using 'SAPMV45A' '4001'.
      perform BDC_FIELD       using 'BDC_OKCODE'
                                    '/00'.
      loop at IT_PO_ITEM into IS_PO_ITEM.
        concatenate  'RV45A-KWMENG(' IDX ')' into FNAM.
        perform BDC_FIELD       using 'BDC_CURSOR'
                                      FNAM.                 "'RV45A-KWMENG(01)'.
        concatenate  'RV45A-MABNR(' IDX ')' into FNAM.
        perform BDC_FIELD       using FNAM                  "'RV45A-MABNR(01)'
                                      IS_PO_ITEM-ST_MAT_CODE."'sd-mgmtfees'.
        concatenate  'VBAP-POSNR(' IDX ')' into FNAM.
        perform BDC_FIELD       using FNAM                  "'VBAP-POSNR(01)'
                                      IS_PO_ITEM-ES_PO_LN.      "'    10'.
        concatenate  'RV45A-KWMENG(' IDX ')' into FNAM.
        perform BDC_FIELD       using FNAM                  "'RV45A-KWMENG(01)'
                                      '                  1'.
        perform BDC_DYNPRO      using 'SAPMV45A' '4001'.
        if IDX eq 1.
          perform BDC_FIELD       using 'BDC_OKCODE'
                                        '=ITEM'.
        else.
          perform BDC_FIELD       using 'BDC_OKCODE'
                                        '/00'.
        endif.
        concatenate  'VBAP-POSNR(' IDX ')' into FNAM.
        perform BDC_FIELD       using 'BDC_CURSOR'
                                      FNAM  .                 "'VBAP-POSNR(01)'.
        concatenate  'RV45A-VBAP_SELKZ(' IDX ')' into FNAM.
        perform BDC_FIELD       using FNAM                    "'RV45A-VBAP_SELKZ(01)'
                                      'X'.
        if IDX eq 1.
          perform BDC_DYNPRO      using 'SAPMV45A' '4003'.
          perform BDC_FIELD       using 'BDC_OKCODE'
                                        '=T\05'.
       perform BDC_FIELD       using 'BDC_CURSOR'
                                     'RV45A-KWMENG'.
       perform BDC_FIELD       using 'RV45A-KWMENG'
                                     '                 12'.
        else.
          perform BDC_DYNPRO      using 'SAPMV45A' '4001'.
          perform BDC_FIELD       using 'BDC_OKCODE'
                                        '=ITEM'.
        endif.
        perform BDC_DYNPRO      using 'SAPMV45A' '5003'.
        perform BDC_FIELD       using 'BDC_OKCODE'
                                      '/00'.
        perform BDC_FIELD       using 'BDC_CURSOR'
                                      'KOMV-KBETR(09)'.
        perform BDC_FIELD       using 'KOMV-KSCHL(09)'
                                      'PR00'.
       data NETWR(13) type C.
        if G_M_FEE eq YES or OANDA eq YES.
          NETWR = IS_PO_ITEM-NETWR.
        endif.
        perform BDC_FIELD       using 'KOMV-KBETR(09)'
                                      NETWR."IS_PO_ITEM-NETWR."'          123.45'.
        perform BDC_DYNPRO      using 'SAPMV45A' '5003'.
        perform BDC_FIELD       using 'BDC_OKCODE'
                                      '/EBACK'.
       perform BDC_FIELD       using 'BDC_CURSOR'
                                     'KOMV-KSCHL(01)'.
        perform BDC_DYNPRO      using 'SAPMV45A' '4001'.
       perform BDC_FIELD       using 'BDC_OKCODE'
                                     '/00'.
        perform BDC_DYNPRO      using 'SAPMV45A' '4001'.
        perform BDC_FIELD       using 'BDC_OKCODE'
                                      '=SICH'.
      endloop.
      perform BDC_TRANSACTION using 'VA01'.
    Regds,
    Vinsa.R

  • Credit Memo Request in VA01

    Dear,
    Process : Actually , I am going to create CR memo request in VA01 without reference of Invoice . So ,in this case ,I have got one Issue as Z error .Please help me in this issue ,how to solve step be step .
    Note : 1. Actually , I am SD,MM and PS Consultant not ABAP consultant .I got this issue yesterday but still fight with system with debugging level .
    2. ABAP Consultant not available thats why taking charges to solve this issue .
    Advance Thanks ,
    Naren

    First of all thanks for both ,
    Coming to the point ,I went to SE91 and gave the Message Class as ZVIV and clicked on execute .there I have seen 182 Message and I unticked  the Self Explanatory and saved . Now again ,I raised new Credit Memo Request in VA01 and I didnt get before error but I got another erro as " Red round  Mark" with Save  (Control + Save ) .
    The Red Round Mark doesn't stand on screen to capture or else to see the Problem .That is coming and going immediately .
    Note : Please help one this Issue .
    Thanks,
    Naren

  • How to restrict the order reason in Tcode Va01 while creating sales order

    Hi Gurus,
    My requirement is
    while creating sales order in VA01
    if order type is Zvol
    than the list of order reasons has to be restricted.
    Now 15 are coming from OVAU  tcode
    I need only 5 from these.
    Thanks & Reagrds
    kals.

    Hi,
    By doing the user exit in IW32 we achieved the requirement of restriction of maintenance order TECO functionality if any Service Entry sheet pending with reference of maintneance order.
    regards
    JKM

  • Error in creation of  Tabstrip Control

    Hi Guy's
    Please help me i created one sample tabstrip, when executing this program i am getting error message" SQL Error in the database when accessing a table".  Pasting my code here please help me where i did mistake. it is very urgent.
    1) IN SE-38
    tables : kna1.
    data : begin of itab occurs 0,
    land1 type LAND1_GP,
    name1 type NAME1_GP,
    end of itab.
    *& Module USER_COMMAND_0100 INPUT
    case sy-ucomm.
    when 'DISP'.
    select land1 name1 from kna1 into itab where kunnr = kna1-kunnr.
    append itab.
    endselect.
    when 'EXIT'.
    leave program.
    endcase.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Module STATUS_0110 OUTPUT
    MODULE STATUS_0110 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    MOVE-CORRESPONDING ITAB TO KNA1.
    ENDMODULE.
    2) IN SE51-Fow Logic and layout of Screen 100
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    CALL SUBSCREEN SUB INCLUDING 'ZSHANTHU1' '110'.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    CALL SUBSCREEN SUB.
    3) In the screen -110 Flow logic and Layout
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0110.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0110.
    Edited by: sai shanhu on Apr 11, 2008 1:32 PM

    Hi,
    From the message it seems either you are using wrong company code in Organisation data of the PO or the company code need to be assigned to country in spro-enterprise structure-Financial accounting-edit copy check company code.
    Please check this.
    Dhruba

  • Creation of delivery when sales order is saved in VA01

    Hi All
    We got the requirement in such a way that
    we are creating sales order of type (ZOR -standard order ) . Configrration is donde in such a way that when the order is saved one dilvery will be created for that order of deilvery type ZLF .as this is assginned as default delivery type in VOV8 .
    Hre we have two delivery types ZLF and  ZF and we have diffrent different item categories for that sales order like ZZTC , ZPU ,
    ZTDP .
    our requirement is  as follows
    when we create sales order through va01 (order type - ZOR standard order ) having onlu one item category ZPU  then delivery should be created of type ZLF it is happing correctly .
    when we create a sales order through va01 having  non ZPU item categroies like ZZTC and ZTDP dlivey should not be created automatically for that sales oder on saving that order . this is also happeing correctly
    but the problem is
    when we create a sales order having diffrene item categories ( one condiotn here one item should be ZPU) and other item is  ZZTC while saving the sales order delivery is getting created partially for one item only not for two items i mean delivery is getting created only for item categroy zpu the item with type ZZTC is not gettting added to that delivey .
    for exmaple
    sales order 1234
    item category ZPU
    item category ZZTC
    delivery created with only one item ZPU
    May i know any requirments (routines ) are thre to solve this in VOFM .
    let me know how to hanlde this issue .
    Regards
    Sunil
    Moderator Message: It looks like you are using the forums to get your work done for free. This is not a help-desk to get your Consulting work done. Also you have closed only 1 out of total 68 questions till date. Since you are such a lazy and irresponsible forum member, Im giving you the final warning against breaking the rules of this forum. One more violation and you userid will be deleted.
    Edited by: kishan P on Oct 14, 2010 4:36 PM

    Hi Mohanty,
    I think the Immediate Delivery under Shipping for that order type may have value A or X, Clear that value.
    1) Goto VOV8 tansaction.
    2) Select the Sales order type (For eg: OR for standard order) and double click on that
    3) Under Shipping tab, Set Immediate Delivery with Blank value
    Plz reward points if it is helpful
    Thanks,
    Vinay

  • Creation of delivery when sales order is saved through VA01

    Hi All
    We got the requirement in such a way that
    we are creating sales order of type (ZOR -standard order ) . Configrration is donde in such a way that when the order is saved one dilvery will be created for that order of deilvery type ZLF .as this is assginned as default delivery type in VOV8 .
    Hre we have two delivery types ZLF and  ZF and we have diffrent different item categories for that sales order like ZZTC , ZPU ,
    and ZTDP .
    our requirement is  as follows
    case1:
    when we create sales order through va01 (order type - ZOR standard order ) having onlu one item category ZPU  then delivery should be created of type ZLF it is happing correctly .
    case 2:
    when we create a sales order through va01 having  non ZPU item categroies like ZZTC and ZTDP dlivey should not be created  for that sales oder on saving that order .one success message is thwoing as salers order has been created but delivry cannot be created for this order .this is  is also happeing correctly . for this we have copied a rottine no 102 from VOFM  and we have added some logic
    but the problem is
    when we create a sales order having diffrene item categories ( one condiotn here one item should be ZPU) and other item is  ZZTC while saving the sales order delivery is getting created partially for one item only not for two items i mean delivery is getting created only for item categroy zpu the item with type ZZTC is not gettting added to that delivey .
    for exmaple
    sales order 1234
    item category ZPU
    item category ZZTC
    delivery created with only one item ZPU
    May i know any requirments (routines ) are thre to solve this in VOFM .
    let me know how to hanlde this issue .
    Moderator Message: Spec-dumping is not allowed
    Edited by: kishan P on Oct 14, 2010 4:31 PM

    Hi Mohanty,
    I think the Immediate Delivery under Shipping for that order type may have value A or X, Clear that value.
    1) Goto VOV8 tansaction.
    2) Select the Sales order type (For eg: OR for standard order) and double click on that
    3) Under Shipping tab, Set Immediate Delivery with Blank value
    Plz reward points if it is helpful
    Thanks,
    Vinay

  • User exit for sales order creation VA01.

    Hi friends,
    While creating Sales order, before saving the document, I need to check the Customer (Sold to pary?) details in KNEX table. KNEX-KUNNR  KNEX-TDOCO KNEX-DHRCO. if condition fails, I need to display an error message V1525,
    which should contain
    1)customer(sold-to -party?KNEX-KUNNR)
    2)partner function PARVW  (VBPA-PARVW?)
    3)country LNDEX KNEX-LNDEX
    Functional spec says, 1)V45A0002
                                  2)V45A0003
                                  3)V45S0001
                                  4)V50EPROP User exits can be levaraged.
    1)triggers before we enter customer (sold-to-party) in VA01. so may not be used.
    remaining i tried, but I am not able to get the proper PARVW, LNDEX from function module parameters / structures like VBAP/VBPA etc.
    Please help me the way.
    i) the above user exits can be used?if not, help me with user exit name.
    ii)if yes, how to fetch PARVW  , LNDEX, KUNNR...as all the primary keys must be used in the selection query.
    Please help me ASAP.

    Hi,
    Use this enhancement V45A0002.
    Reward points if it helps,
    Satish

  • How to add custoim fields on the additiondata b tab of va01 and va02

    Hi All,
       i want to add the field on the Additional data B tab of the VA01 and VA02 at header level.
        Already one field is there now i want to add one more field.How to proceed.
       I think i have to go with screen exits.Can you help me in proceeding further and where should i write the code.
       It is urgetn.Please help me

    I have to move the updated fields to the vbak table
    The code is like this
    If      VBAK-ZZGrswgh   less than    ZTRKLMT-ZZweight OR
            VBAK-ZZCubTot    less than    ZTRKLMT-ZZCube   OR
            VBAK-ZZPaltot      less than    ZTRKLMT-ZZPallet   
                  CLEAR VBAK_ZZTRKLMT.
    Else
                  MOVE ‘X’ TO VBAK_ZZTRKLMT.
    End if
    should i write this code in the USEREXIT_MOVE_FIELD_TO_VBAK of program MV45AFZZ ?
    This user exit should trigger when
    VBAK-AUART Equals 'ZWH' OR
        VBAK-AUART Equals 'ZFV'
    Reply soon

  • Adding a new field to the transaction va01

    Hi,
    I have added a field to the va01 transaction in the "Additional Data B" tab
    by modifying screen number 8309 in program SAPMV45A.
    I have also added a structure in the table vbak for this additional field on the screen.
    But I can not save or display the data in that field.
    Should I give the value somewhere in the code of screen number 8309 or any ohter way of this?
    Regards,
    Utku

    Hi
    When you create your screen use directly the std structure VBAK and VBAP to design the input/output fields.
    So for example if you have added the field ZZFIELD in VBAK, insert it in 8309.
    In this way the standard program VA01'll automatically store your data in your fields.
    So you don't need to write some code to store it, but only (if it needs) some code for validations in the screen flow.
    Max

  • How to update line items if it exceeds 17 during creation of SO in va01.

    Hi,
    I have implemented one logic in mv45afzz for updating IO (internal order) with respect to line items during creation of SO through VA01.
    It is working fine.
    My problem is: For first 17th line items it is working fine , but those line items which come after 17th not working.
    Please suggest.
    Thanks,
    Sakti

    Hi,
    Pls find the below code for your reference.
    LOOP AT xvbap INTO wa_xvbap.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
          EXPORTING
            input  = wa_xvbap-matnr
          IMPORTING
            output = wa_xvbap-matnr.
        IF ( wa_xvbap-matnr = c_matno_1 OR
           wa_xvbap-matnr = c_matno_2 ) AND
           wa_xvbap-updkz <> 'D'.
    *Before changing container number first check first check the IO attached to
    *this container number fully settled or not.
          IF NOT yvbap[] IS INITIAL.
            SORT yvbap[] BY vbeln posnr.
            READ TABLE yvbap INTO wa_yvbap WITH KEY vbeln = xvbak-vbeln
                                                    posnr = wa_xvbap-posnr
                                                    BINARY SEARCH.
            IF sy-subrc = 0 AND
              ( wa_yvbap-arktx <> wa_xvbap-arktx OR
               wa_yvbap-z_container_no <> wa_xvbap-z_container_no.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output1.
              CONCATENATE 'ORX'
                          wa_yvbap-z_container_no
                          INTO g_objnr1.
              SELECT SINGLE *
                          INTO wa_cobrb_sdi
                          FROM cobrb
                          WHERE objnr = g_objnr1 AND
                                konty = l_output1.
              IF sy-subrc <> 0.
                CONCATENATE 'ORY'
                              wa_yvbap-z_container_no
                              INTO g_objnr1.
                SELECT SINGLE *
                            INTO wa_cobrb_sdi
                            FROM cobrb
                            WHERE objnr = g_objnr1 AND
                                  konty = l_output1.
              ENDIF.
            ENDIF.
          ENDIF.
    *If the Io is fully settled, then can not change container number.
          IF wa_cobrb_sdi-ersja IS NOT INITIAL.
            MESSAGE s303(me) WITH 'Container can not be changed as IO already settled for' wa_yvbap-posnr.
            CLEAR:wa_yvbap,
                  wa_cobrb_sdi,
                  g_objnr1.
            PERFORM folge_gleichsetzen(saplv00f).
            fcode = 'ENT1'.
            SET SCREEN syst-dynnr.
            LEAVE SCREEN.
          ELSE.
    *Check container number is initial or not
            IF wa_xvbap-z_container_no IS NOT INITIAL AND tcode = c_va01.
              CONDENSE wa_xvbap-z_container_no.
    *Add 'X' to container number and serch for IO exist or not
              CONCATENATE c_x
                          wa_xvbap-z_container_no
                          INTO l_aufnr.
              SELECT SINGLE aufnr objnr
                         FROM aufk
                         INTO (g_aufnr,g_objnr)
                         WHERE aufnr = l_aufnr.
              IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                l_flag = 'X'.
              ELSE.
    *Add 'Y' to container number and search for IO
                CONCATENATE c_y
                            wa_xvbap-z_container_no
                            INTO l_aufnr.
                SELECT SINGLE aufnr objnr
                          FROM aufk
                          INTO (g_aufnr,g_objnr)
                          WHERE aufnr = l_aufnr.
                IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                  l_flag = 'X'.
                ELSE.
    *Display error message if Io was not found or forgot to enter IO in description field
                  MESSAGE s083(me) WITH 'IO was not found for' wa_xvbap-posnr.
                  PERFORM folge_gleichsetzen(saplv00f).
                  fcode = 'ENT1'.
                  SET SCREEN syst-dynnr.
                  LEAVE SCREEN.
                ENDIF.
              ENDIF.
           ELSE.
            ELSEIF tcode = c_va01.
    *Display error message if user forget to enter container number
              MESSAGE s083(me) WITH 'container number for' wa_xvbap-posnr.
              PERFORM folge_gleichsetzen(saplv00f).
              fcode = 'ENT1'.
              SET SCREEN syst-dynnr.
              LEAVE SCREEN.
            ENDIF.
            IF l_flag EQ 'X'.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output.
              CALL FUNCTION 'CONVERSION_EXIT_PERBZ_INPUT'
                EXPORTING
                  input  = c_ful
                IMPORTING
                  output = l_ful.
    *Fetch 1st line of settlement rule
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_gl
                IMPORTING
                  output = l_gl.
              SELECT SINGLE *
                    INTO wa_cobrb_gl
                    FROM cobrb
                    WHERE objnr = g_objnr AND
                          konty = l_gl.
              IF sy-subrc EQ 0.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ELSE.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no_1.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ENDIF.
              IF wa_cobrb_gl IS NOT INITIAL.
                wa_cobrb_gl-gbisp = wa_cobrb-gabpe - 1.
                wa_cobrb_gl-gbisj = wa_cobrb-gabja.
                APPEND wa_cobrb_gl TO gt_cobrb_gl.
              ENDIF.
         ELSEIF wa_cobrb-ersja IS NOT INITIAL.
           MESSAGE 'Container number can not be reassign' TYPE 'E'.
            ENDIF.
          ENDIF.
        ENDIF.
        CLEAR:wa_cobrb,
              g_objnr,
             wa_aufk,
              wa_cobrb_gl,
              wa_cobrb_sdi.
      ENDLOOP.
      IF l_flag EQ 'X'.
    *Create 2nd line for settlement rule.
        SORT gt_cobrb[].
        DELETE ADJACENT DUPLICATES FROM gt_cobrb[].
        IF NOT xvbak-vbeln IS INITIAL AND tcode = c_va01.
          IF NOT gt_cobrb[] IS INITIAL.
            CALL FUNCTION 'K_SRULE_SAVE_UTASK'   "IN UPDATE TASK
              TABLES
                t_cobrb_insert    = gt_cobrb[]
              EXCEPTIONS
                srule_utask_error = 1
                OTHERS            = 2.
    Thanks,
    Sakti

  • Doubt about VA01 transaction.

    Good Afternoon Gurus.
    I am a abap and I need understand what button i must click to call screen POSICION in VA01 .
    In debug appears POSI like command but I need execute the transaction to debug the popup but I don ´ t know how call the popup.
    See image .
    What button I have click to call the popup of image?
    My SAP is in Portuguese brasilian .
    Thanks for help.

    The Pop up shows up when the button mentioned by JM is clicked. There is no special functionality of this button, It would just list the line which you enter at the top of the All items box.
    Ex. if you have 10, 20 , 30 and 40 line item and key in line 20 at the pop up. line 20 would be first one in the line item box. It is similar to scrolling once to have line 20 displayed as the first line.
    I would guess your call transaction or BDC is doing something after displaying the required line at the top of the item details.Just click the button JM says and get your pop up.
    Let me know if you need further details.
    Regards,
    Deb

Maybe you are looking for