Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all 8332 articles
Browse latest View live

¿Agregar un text-symbol a un programa estándar?

$
0
0

Hola,

 

¿Alguien sabe si agregar un text-symbol a el programa estándar RPCPAYMX_CFDI_MANAGER es correcto?. Lo necesito para usarlo en un enhacement implícito que agrega un campo al dynpro.

 

Lo agregué y no me pidió ninguna clave, pero no estoy segura si pierdo el mantenimiento de SAP por hacer eso.

 

Saludos


TPM_SEC_CUST_DATA how to

$
0
0

Hello gurus,

 

This is the Enhancement now, when i give TPM_SEC_CUST_DATA in se19 and hit change. Actually it is showing that standard and asking key, how to add custom fields in additional tab. Please help me.

Unavailable 'page protection' smartforms

$
0
0

Hi all.

 

I need all parts of a table in a smartforms, be shown in the same page. If I select the table, and select 'Output Options', there is a flag 'Page protection', but it is in display mode, and I can't put it in change mode to mark it. Could you help me? I have marked flag 'Page protection' in Line type, but it keeps toguether the line, but not all the lines of the table.

 

Thanks a lot.

 

Marta.

Can I know waht export for import command.?

$
0
0

Hi Gurus

I have a coomand IMPORT t_serialgsm_aux FROM MEMORY ID xvbap-vbeln in program exit MV50AFZ1.

 

I need know what program execute the EXPORT to memory id xvbap-vbeln .

 

I need understend how is select data into  t_serialgsm_aux .

 

 

 

Thanks for help Gurus.

URL check

$
0
0

Hey Experts,

i got a requirement where i have to check if an URL is available.

I alredy used

 

CL_GUI_FRONTEND_SERVICES=>EXECUTE

CL_GUI_FRONTEND_SERVICES=>FILE_EXIS

CL_GUI_CFW=>FLUSH

 

 

but without any success....

 

p.s. it is no problem to open the file, but to check if the URL is there...!

 

Any Idea?

 

Thanks,..

Query in SPAU

$
0
0

Hi,

 

I am working on SPAU for the first time for BW system. I read all the documents available online but still I have my query open. I am working in 'without modification assistant' objects. In there Table types are there with red traffic light. when I click on 'adopt modifications' I get the pop up with different buttons as skip, change , display, version management, and reset to original. If I see version management , I only see one version from SAP..I do not see any other version. How do I compare and adopt modification. Can anyone explain me step by step. I would really appreciate your help.

 

Regards,

Niki

Screen Display Problem in Windows 7 OS

$
0
0

Hello Gurus,

 

    I have a scenario for creating sub screen area in sales order 'Additional data B' tab.I created screen and its working fine.But problem is if open sales order in Windows XP system its displaying screen properly,but if i open same thing in windows 7 screen is not showing screen completely. Sub screen is displaying only 70%. I thought it is issue on SAP GUI side.But am not able to find a solution.Please help to solve this issue.

 

 

Thanks,

Chittoor.

Company Logo in Payment Advice

$
0
0

Dear All,

 

I am into FI Functional, I want to know how can I incorporate the company logo in payment advices generated from F-58 ?

I am checking in SE71& Se78 but I am not sure how to go thereafter. I dont even know whats the default form thats assigned to f-58. PLs help.

 

best regds

Subha


bapi for changing material massively

$
0
0

Good morning guys,

 

I need to make a program that will modifcar various materials on a mass scale. For this I used the 'BAPI_MATERIAL_MAINTAINDATA_RT' function, but this BAPI does not let me send several materials at once, only one at a time inside a loop, and thus this very slow.

 

The tables that I have to modify are the mara and marc.

 

I wonder if there is any BAPI or some function that I can pass several materials at once to be modified.

LDB fields missing in selection screen

$
0
0

I am using LDB BRF in executable program .I can only see posting date and reference number in general selections .while when run the LDB  BRF in se36 I can see lot of other fields like document type ,entry date etc also in general selection .Why this difference is appearing .

 

Regards,

Praveen

Enhancements for Foreign Trade License entry in Sales Order

$
0
0

Requirement:

This enhancement is needed when the Order entry personnel need to manually enter the license number of the individual licenses in the sales order item. This kind of a situation may arise if an organisation decides not to maintain license data in ECC due to the large volume of the data that would need to be entered and maintained in the system. For instance, if an organisation decides to use another system for license check instead of using standard SAP functionality, the license check in SAP will be turned off. This will lead to SAP not determining the license number by its own system. As a result, it becomes necessary to capture the license information at the time of order entry by manual input.


Affected Transactions:

VA01, VA02, VL01N, VL02N


Assumptions:

Delivery documents will be created with reference to the Sales Order.


Solution Overview:

  1. To store the new License Data, a new field needs to be added to Sales Document: Item Data (VBAP) table definition.
  2. Similarly, as the data needs to flow from Sales Order to the Delivery, this field also needs to be added to SD document: Delivery: Item data (LIPS) table definition.
  3. A screen enhancement needs to be performed at the Sales Order item level. This is the place where the user will manually enter the License Data. The data so entered, should be saved in the VBAP table in the field defined in Step 1. For explanation purpose, consider this field is to be added on the '
  4. Another screen enhancement will be required at the Delivery item level. Adding a new tab to the Delivery item view can be considered as an option here.
  5. To implement the transfer of License Data from the Order to Delivery, copying routine 101 in the Delivery copying control needs to be modified to copy the License data field from CVBAP to LIPS.


Flow Logic:

Flow Logic - Sales Order.jpg

Flow Logic - Delivery - 1.jpg


Step-by-step Solution:

  • Create and append structure to add License data field in VBAP and LIPS table.VBAP-License field.jpgLIPS-License field.jpg
  • Create a custom field in 'Additional Data B' tab in the Sales Order Item level (transaction VA01/VA02).
    • This can be achieved by using the screen exit for the program: SAPMV45A.
    • Add the custom field to the screen 8459.Screen 8459.jpg
    • Logic to retrieve the custom License value will need to be added in the PBO of the screen. Include MV45AOZZ can be used to add PBO logic.Screen 8459 - PBO.jpg
    • Code should be written keeping in mind the following point:
      • The custom License field should be editable for TCodes VA01 and VA02 but not for VA03.
    • Custom field addition at Delivery level:
      • Make a Function Group
      • Define a global variable for License data field in TOP include of the Function Group.
      • Create a new screen 9002. This screen will contain the License data field that will be displayed in the Delivery.Screen 9002 Layout.jpgScreen 9002 Element List.jpg
      • In the PBO of 9002, write code to enable/disable editing of the License field.Screen 9002 PBO.jpg
      • Add 2 Function Modules:
        • FM_SET - This will hold the code to get the License data from VBAP table and set it to be displayed at Delivery item level. If called from VL01N, this FM should set the global variable for license data based on the Sales Order Item. If called from VL02N or VL03N, it should get the data stored in LIPS.
    •                         

      IMPORTING PARAMETERS

      Parameter Name

      Associated Type

      Optional (Y/N)

      Description

      IV_VBELN

      VBELN_VL

      N

      Delivery Document Number

      IV_POSNR

      POSNR_VL

      N

      Item Number

      IV_VGPOS

      POSNR

      N

      Sales and Distribution Document Number

      IV_VGBEL

      VGBEL

      N

      Item number of the SD document

          

      EXPORTING PARAMETERS - NONE


        • FM_GET - This will hold the code to pass the value of License data to LIPS table in case it was changed at delivery level (if requirement allows changing at delivery level).


        IMPORTING PARAMETERS - NONE

         

        EXPORTING PARAMETERS

        Parameter Name

        Associated Type

        Optional (Y/N)

        Description

        CS_LIPS

        LIPS

        N

        SD document: Delivery: Item data

         

          • Create a BADI Implementation for BADI - LE_SHP_TAB_CUST_ITEM.BADI Interface.jpg
            • Use method ACTIVATE_TAB_PAGE to activate the user tab by passing the custom Function Group and screen details.
            • Use method TRANSFER_DATA_TO_SUBSCREEN to fetch the data from table LIPS and display on screen. If a new Delivery is being created no data will exist in LIPS table, so get the value from VBAP table. Use the Function Module FM_SET created in steps above to achieve this functionality. Add any logic concerning the edit-ability of the License data field in this method.
            • Use method TRANSFER_DATA_FROM_SUBSCREEN to fetch date from the subscreen and populate table LIPS. Use Function Module FM_GET created in steps above to achieve this functionality.
        • In the copying control from order to delivery, clone and modify FV50C101 (copying routine 101 in delivery copying control) to a custom routine and in the enhancement section of the new include, copy the license field from CVBAP to LIPS.VOFM - Data transfer - Delivery.jpg

        Issue with comma separator

        $
        0
        0

        Hi,

         

        I need to display the total value of the invoice as 5,5598.60. But the comma separator is not coming. I tried using bapi: BAPI_CURRENCY_CONV_TO_EXTERNAL. but even then its not working.

         

        Please help.

         

        Regards,

        Tina

        Print Functionality in ALV container

        $
        0
        0

        Hi

         

        I have a ALV custom container  and I have Print Button in the standard ALV screen . I need to add a Function code /Ok code to the print button .

        As function codes are not allowed  to standard alv screens( as I checked in the forums ) . I have created a new button as "print " and Now I need to implement the same print functionality to this custom Print Button.

         

        Can we assign function codes to the ALV buttons?

         

        Please suggest a better way of doing this.

        Change VIQMFE-FECOD in IW22

        $
        0
        0

        Hi
        I need to change the value for VIQMFE-FECOD in IW22.

         

        I have found a FM that can add a new entry, but I can't find the one that I can use to change FECOD

         

        My code for adding a new entry looks like this:

         

        CALL FUNCTION 'IQS0_ADD_ITEM'     EXPORTING       i_post   = 'X'       i_qmnum  = L_T_VIQMEL-qmnum       r_viqmfe = ls_viqmfe.
         * Implement suitable error handling here   CALL FUNCTION  'IQS1_POST_NOTIFICATION'                 EXPORTING  I_COMMIT = ' '        TABLES     E_VIQMEL = L_T_VIQMEL        EXCEPTIONS OTHERS   = 1.

        Anyone who can help me, so I can modify an entry?


        Thanks,

        Lars

        Modify Existing Screen - IW21

        $
        0
        0

        Dear All Gurus,

        As per the business requirement we have to add a new text input for Scheduling Overview Tab in IW21.  I was checking the 'QQMA0001' user exit but I am unable to find the place to modify existing tab for my requirement.

         

        What are the screen exits available for this?

         

         

        Please provide your suggestions.

         

         

         

        Thanks



        Template missing

        $
        0
        0

        Hi Experts, I am getting an error like(Template is missing : sap_sm_xls)  when I am trying to export to excel , Please advice how to resolve this.. Please find the attachment.. I already talk with my basis consultant..but they are saying it is not their issue! Thanks Abhay Manna.

        CRIF_RW_WEB_CALL_REPORT

        $
        0
        0

        Could please let me know how to use the function Module CRIF_RW_WEB_CALL_REPORT. I am trying to get the values of the report writer using this FM however the FM is stopped on the Selection Screen of the report writer - giving a message "Check the Selection".


         

        Thanks & regards,

        Ashish Dalal

        Is there any unforeseen negative impacts in increasing the "max length for long field label?

        $
        0
        0


        Hi Friends,

         

        I have the following Issue with respect to the Field Lable length.

        Is there any unforeseen negative impacts in increasing the "max length for long field label" from the current 20 characters to the maximum allowable 40 characters. 

         

        Can anyone suggest me in this regards.

         

         

         

         

        Thanks in Advance,

        Prakash.

        Assign Authorization Using ABAP

        $
        0
        0


        I create one zprogram2 , but user not having a authorization to use , but that program is not  used by user directly , means that zprogram2 is call by another zprogram1  , So I need to give authorization in the zprogram1 to use zprogram2

        Is it any function module to give authorization at run time .

        BAPI_PO_CHANGE returns no data changed?

        $
        0
        0

        Hi,

         

        I am trying to change delivery priority at item level in shipping tab, but It returns no data changed.

         

         

        l_item-po_item  = t_items-ebelp.    APPEND l_item TO t_item.    l_itemx-po_item  = t_items-ebelp.    l_itemx-po_itemx = 'X'.    APPEND l_itemx TO t_itemx.    l_itemship-po_item  = t_items-ebelp.    l_itemship-dlv_prio = p_lprio.    APPEND l_itemship TO t_itemship.    l_itemshipx-po_item  = t_items-ebelp.    l_itemshipx-dlv_prio = 'X'.    l_itemshipx-po_itemx = 'X'.    APPEND l_itemshipx TO t_itemshipx.    REFRESH t_return.    CALL FUNCTION 'BAPI_PO_CHANGE'      EXPORTING        purchaseorder = t_items-ebeln      TABLES        return        = t_return        poitem        = t_item        poitemx       = t_itemx        poshipping    = t_itemship        poshippingx   = t_itemshipx.    READ TABLE t_return INTO l_return         WITH KEY type = 'E'.    IF sy-subrc = 0.      w_status = 'F'.      w_msgtx = l_return-message.    ELSE.      w_status = 'S'.      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'        EXPORTING          wait = 'X'.      CONCATENATE t_items-ebeln                  ' Updated successfully.'             INTO w_msgtx.    ENDIF.

         

        It returns S 06                   022 No data changed

        Even I am trying to test independently, through SE37, but it returns the same message,

         

        Does I do something for updating shipping tab information through BAPI?

        Viewing all 8332 articles
        Browse latest View live


        <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>