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

Need to Call New page In Smart form. But After table end It is showing.

$
0
0

HI,

I have one requirement.  In Smart form I have two pages, In Page1 i Put main window , Under this i used Table. For displaying the Item details.

rows will be different based on the Each Document Header. So,  No of pages will be Come based on Row Details.

In page2 i used Template. Here i entered Some data in the text Fields. My goal is when ever New page is calls. Page2 will Come then Page1 remaining data will come. Page2 is nothing but back page Terms and conditions.

 

I Have some basic knowledge on Smart forms. Through the forum what i got information is,  by using the Go to new page we can call the next page.

So, i created Command  under the main table . And calling the Second page.  Under the Command i used the Condition as

SFSY-PAGE = SFSY-FORMPAGES.  But there is no result.

 

 

But What it is showing is,After end of Main table. It is calling the Next page. Like Almost all , Last page is Second page.

Please Have a look on below attached Images.

 

 

It is showing like below

PdfPage1(Main table of smart form first page)

Pdfpage2(Main table of smart form first page)

PdfPage3(Main table  of smart form first page)

Pdfpage4(Smart form Second page)

 

 

But what i need is

 

PdfPage1(Main table of smart form first page)

Pdfpage2(Smart form Second page)

PdfPage3(Main table  of smart form first page)

Pdfpage4(Smart form Second page)

PdfPage5(Main table  of smart form first page)

Pdfpage6(Smart form Second page).


Need your valuable suggestions.





FUNCTION SSF_FUNCTION_MODULE_NAME can not be used good in RFC

$
0
0

Dear Experts,

    I want to change smartform to PDF file , but i found JOB_OUTPUT_INFO can not returen correct data ,i want to know if SAP can not support this function in RFC?

 

 

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

      EXPORTING

        FORMNAME           = 'ZSMT105_HCM_PDF'

      IMPORTING

        FM_NAME            = M_FM

      EXCEPTIONS

        NO_FORM            = 1

        NO_FUNCTION_MODULE = 2

        OTHERS             = 3.

    IF SY-SUBRC <> 0.

      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

    clear :JOB_OUTPUT_INFO.

    CALL FUNCTION M_FM

      EXPORTING

        CONTROL_PARAMETERS = PCTRL

        OUTPUT_OPTIONS     = OUTOP

      IMPORTING

        JOB_OUTPUT_INFO    = JOB_OUTPUT_INFO

      EXCEPTIONS

        FORMATTING_ERROR   = 1

        INTERNAL_ERROR     = 2

        SEND_ERROR         = 3

        USER_CANCELED      = 4

        OTHERS             = 5.

    IF SY-SUBRC <> 0.

      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

    ENDIF.

 

Best Regards,

Merry

Does OOP require FAE?

$
0
0

Before Matthew Billingham will tear out my poor head and impale it on the walls of Join Castle as warning for the future generations of fools, please try to follow the White Rabbit down the hole as I try to explain why I think so.

First of all, which is the main feature of OOP? Well, obviously is to identify and manage all the components of a report/procedure/flow as stand alone objects which can inteact each others via some public methods and can be identified by public attributes (I put it down pretty simple and somehow semplicistic, I know).

So, take as an example an easy and quick report required last week to be develop: extract all the materials open in a set of storage locations and retrieve the last material movement for that material-storage location (inbound or outbound do not count).
The user then can select one or more records and create a corrective movement for specific situation.

It's nothing too complicated and we can start to check out which are the objects we need.

The first one is obviously my APPLICATION with the report bones and structure then I can see the MATERIAL with all the logic to retrieve materials' data. As third step, we have MATERIAL DOCUMENT to get the last material document and to manage the new one. And finally our ALV to show data and manage user interaction.

Easy task, quick report but 4 objects.

I do not want to bother with a detailed explain about the report but I want to focus on the interaction bewteen MATERIAL and MATERIAL DOCUMENT (from now only MDOC).


Now that I got my objects to manage, I sink a bit deeper in them and I find out that MATERIAL is used just to retrieve data and do some check (like authorization ones on plant).

So my methods will be

  •   GET_DATA (public, export a table with all the materials-description-plants-s.locations-qty)
  •   GET_MATERIALS (private, fill main table from marc-mard)
  •   FILTER_AUTH (private, filter retrieved data with auth check on plant)
  •   SET_DESCRIPTION(private, retrieve material description)

As you can see, I kept SET_DESCRIPTION separated because if GET_MATERIALS can be easly implemented with a join, my descriptions are language dependant and I had to do a double read based first on SY-LANGU and then with english (company default).

At this point I'm forced to use FOR ALL ENTRIES based of the result of the join between MARC-MARD.


But even if I manage to extract a bunch of useless records putting in join MAKT wihout the language filter and then skim out the result from my internal table, I just got half of the informations I need.

And here the MDOC enters in play.

MDOC will have the following methods:

  •   GET_LAST_MDOC
  •   <methods for the building and calling for BAPI_GOODSMVT_CREATE>

I want to focus on GET_LAST_MDOC.


So, i got my array of materials and for each one I have toretrieve last material document and, being them 2 different objects, I cannot create any join.

So i got 2 options:

LOOP my materials, for each one retrieve the data with a bunch of selects.

Or i can use FAE, retrieve all data at start and then work with internal tables

Surely, it's a report, i can throw away the OOPs and put all in a join together but then? OOPs helps alot in organizing the code, identify the issues/objects to be threaten and I like the idea I'm building a forma mentis.


I know,  FAE are deprecated and should be replaced by JOINS but… YOU CANNOT DO IT if you are going to use OOP!

How can you improve performances and void the bad guy (FAE) when you work with objects?

The power of objects is that you virtually can develop them stand alone and only later you can mix and merge them in your process/development.

And in my opinion FAE becomes quickly the only option you have to avoid the even more deprecated SELECT in LOOP


Now, Matthew, you can have my head

 

A little note-add:

Pointing out my failures and faults is really appreciated: I believe in constant learning so if I can improve exploiting the SCN work and experience and knowledge, why not?

FM or BAPI to delete the transaction code in PFCG

$
0
0

Hi Expert,

 

I am developing the custom program to batch delete transaction codes using PFCG for the authorization role, I have tried to search the related FM or BAPI but can't find

 

is there any FM or BAPI for us use to delete transaction code from the authorization role through PFCG ?

 

 

Thanks

 

Regards,

Jesamine

How could i Convert the Time ,If i does not know the Format.

$
0
0

Hi,

I have one problem. I would like to know whether  it is having any solution or not.

There is a table AFRU. By using CO11N We are saving the Confirmation against to the Production Order Operations.

 

ILE01  and ISM01    Both are saving the Time in Which format(hours,seconds, Months In ILE01) and Number (20,52,6 in ISM01).

 

For converting the Time into hours. I am Doing like below.

 

IF ILE01  EQ S. ''Secons

ISM01/3600

 

IF ILE01 EQ MON. "Months

ISM01/720.

 

 

My question is In production Server ILE01 I am having only  hours, seconds, months, So, in If condition i am mentioning , three options,

Tomarrow somebody May enter in different Format like Days ,then again i need to update the if condition. 

Any other alternative solutions Automatically Converting to Unique Format.

BAPI_PO_CHANGE Carry out new Pricing After STO Delivery Created

$
0
0

Dear Frds,

 

 

 

I have a requirement to change the po price after creating the STO Delivery........I Sharing my piece of code 

 

 

Facing issues

 

BAPI3Instance 4500004970 of object type PurchaseOrder could not be changed
MEPO0Purchase order still contains faulty items
MEPO3Pricing date category only allowed for items with invoice receipts

 

 

pls tell me any thing missed out in the my code..............

 

TABLES:lips.

 

 

CONSTANTS : gc_x TYPE c VALUE 'X'.

 

TYPES : BEGIN OF gty_lips,

         vbeln TYPE lips-vbeln,

         vgbel TYPE lips-vgbel,

         END OF gty_lips,


         BEGIN OF gty_ekpo,

         ebeln TYPE ekpo-ebeln,

         ebelp TYPE ekpo-ebelp,

         loekz TYPE ekpo-loekz,

         END OF gty_ekpo.

 

DATA:gt_lips TYPE TABLE OF gty_lips,

      gw_lips TYPE gty_lips,

      gt_ekpo TYPE TABLE OF gty_ekpo,

      gw_ekpo TYPE gty_ekpo.

 

 

DATA:gt_bapiitem   TYPE STANDARD TABLE OF bapimepoitem,

      gw_bapiitem   TYPE bapimepoitem,

      gt_bapiitemx  TYPE STANDARD TABLE OF bapimepoitemx,

      gw_bapiitemx  TYPE bapimepoitemx,

      gt_cond       TYPE STANDARD TABLE OF bapimepocond,

      gw_cond       TYPE bapimepocond,

      gt_condx      TYPE STANDARD TABLE OF bapimepocondx,

      gw_condx      TYPE bapimepocondx,

      gt_return     TYPE STANDARD TABLE OF bapiret2,

      gw_return     TYPE  bapiret2.

 

SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME TITLE text-001.

SELECT-OPTIONS: s_vbeln FOR lips-vbeln.

SELECTION-SCREEN END OF BLOCK blk.

 

START-OF-SELECTION .

 

*Change condition price  & Carry out New Price using BAPI_PO_CHANGE

   PERFORM call_bapi_update.

 

*&---------------------------------------------------------------------*

*&      Form  CALL_BAPI_UPDATE

*&---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

*  -->  p1        text

*  <--  p2        text

*----------------------------------------------------------------------*

form CALL_BAPI_UPDATE .

 

   SELECT vbeln

          vgbel

     FROM lips

     INTO TABLE gt_lips

     WHERE vbeln in s_vbeln.

 

  if gt_lips IS NOT INITIAL.

    SELECT ebeln

           ebelp

           loekz

    FROM ekpo

    INTO TABLE gt_ekpo

    FOR ALL ENTRIES IN gt_lips

     WHERE ebeln = gt_lips-vgbel

       AND loekz = space.        " Deletion Indicator Checking

  ENDIF.

 

  LOOP AT gt_ekpo INTO gw_ekpo.


CLEAR :gw_bapiitem,gw_bapiitemx.

REFRESH : gt_return,gt_bapiitem,gt_bapiitemx.

 

   gw_bapiitem-po_item     = gw_ekpo-ebelp.

   gw_bapiitem-calctype     = 'B'.               " Reprice it

   gw_bapiitem-pricedate   '3'.               " Reprice it based on current date

   APPEND gw_bapiitem TO gt_bapiitem.

 

 

   gw_bapiitemx-po_item    = gw_ekpo-ebelp.

   gw_bapiitemx-calctype   = gc_x.

   gw_bapiitemx-pricedate  = gc_x.

   gw_bapiitemx-po_itemx   gc_x.

   APPEND gw_bapiitemx TO gt_bapiitemx.

 

 

*     Change condition price using BAPI_PO_CHANGE

   CALL FUNCTION 'BAPI_PO_CHANGE'

     EXPORTING

       purchaseorder = gw_ekpo-ebeln         " PO number

     TABLES

       return        = gt_return                " For return messages

       poitem        = gt_bapiitem                        " PO Line item

       poitemx       = gt_bapiitemx.         " PO Item data change parameter.

 

READ TABLE gt_return INTO gw_return WITH KEY type = 'S'.

IF sy-subrc eq 0.

     CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

       EXPORTING

         wait = gc_x.

   ENDIF.

 

 

ENDLOOP.

endform.   

Translation Issue for text element

$
0
0

Hi Experts

 

I have created TEXT-001 text element. Maintained text in English(Default Language) and also maintained French Language translation also.

 

Following is the code.

 

concatenate text-001 l_var     INTO    l_final.

 

Coming correctly in English Language.

 

But for French users also the text is coming in English language instead of French language.

 

Help me if I miss anything in the code.

I am getting excel attachment from the proxy how to read that data into an internal table?

$
0
0

hi experts,

 

i am getting excel attachment from proxy into ECC, i am not able to get that file into internal table please help on this,

please find the below code

 

l_server_context = cl_proxy_access=>get_server_context( ).

         l_attachments ?=

            l_server_context->get_protocol( if_wsprotocol=>attachments

).

 

         CALL METHOD l_attachments->get_attachments

           RECEIVING

             attachments = li_attachments.    inthis method i am getting the attachment into ECC


 

CALL METHOD wa_attachments->get_document_name

                     RECEIVING

                       p_name = l_excelfile.

         CALL METHOD wa_attachments->get_kind

           RECEIVING

             p_kind = l_excelfile5     inthis i am getting kind of the document is 'B'.


 

CALL METHOD wa_attachments->get_binary_data    " i am getting binary data inthis method into 'l_excelfl'

           RECEIVING

             p_data = l_excelfl

             .

         CALL FUNCTION 'LXE_COMMON_XSTRING_TO_STRING' when i pass to this method i am getting "#####'

                   EXPORTING

                     in_xstring = l_excelfl  "p_file

                   IMPORTING

                     ex_string  = l_text_data

                   EXCEPTIONS

                     error      = 1

                     OTHERS     = 2.

                 IF sy-subrc NE 0.

                  sy-subrc = sy-subrc.

                 ENDIF.

so please help me on this.

 

thanks,

Mahesh


Working with Arabic text and English together in a single smartform

$
0
0

Hello All,

 

Hope this might be useful!

 

If you have 5fields like First Name, Last Name , Date, Place, Address.

And in the above fields if you have to display both english and arabic words in a single smartform, then you can follow the following simple logic for each field.

 

1.The form is created in english.

2.No need of passing "AR" in control  parameters also.

3.Let us take an example -- if English text is Name -- Varun its corresponding arabic text is  فارون.

4.But normal excution of smartform inverses the arabic text and displays from LTR, which is wrong.

5.With the below code we can display english(latin) text left to right(LTR) and arabic(hebrew) text right to left(RTL) with out much complexity.

 

DATA:  lv_name type string,

             lv_cnt type i.


lv_name = 'فارون'. "Arabic text

 

lv_cnt = strlen( lv_name ). "Finding the length of the arabic text.


"Rearranging the stirng to LTR, so that when it prints on form it will be Still be printed as LTR, but as the text was already converted to LTR in our code,

"during display it helps to print in correct arabic way.


DO lv_cnt TIMES.

   lv_int = lv_cnt - sy-index.

     CONCATENATE lv_arabic lv_name+lv_int(1) INTO lv_arabic.

ENDDO.


CONDENSE lv_arabic NO-GAPS.


If this LV_ARABIC is assigned to smartform text, then once printed on PDF, it will work fine.


How to add newTask line item in EXIT - QQMA0014 in QM01

$
0
0

Hi,

 

i am trying to add new task line item in exit QQMA0014 T-code QM01. can some one help me sample code how to add new line TASK line item .

 

Thanks & Regards

Kalyan

Attachment for Dispute Case

$
0
0

Hi everyone


I am wanting to create attachments for Dispute Case

I am using following code which is going fine but when I check in tables and tcode no attachment is created.


Please help me how to create attachment for Dispute Case.

Points would be rewarded.


I am attaching my code:



CALL FUNCTION 'SO_DOCUMENT_READ_API1'

   EXPORTING

     document_id                      = 'FOL25000000000004EXT39000000000003'

*   FILTER                           = 'X '

* IMPORTING

*   DOCUMENT_DATA                    =

  TABLES

    OBJECT_HEADER                    = lt_header

    OBJECT_CONTENT                   = lt_content

*   OBJECT_PARA                      =

*   OBJECT_PARB                      =

*   ATTACHMENT_LIST                  =

*   RECEIVER_LIST                    =

*   CONTENTS_HEX                     =

* EXCEPTIONS

*   DOCUMENT_ID_NOT_EXIST            = 1

*   OPERATION_NO_AUTHORIZATION       = 2

*   X_ERROR                          = 3

*   OTHERS                           = 4

           .

IF sy-subrc <> 0.

* Implement suitable error handling here

ENDIF.

 

describe TABLE lt_content LINES lv_line.

lv_length = lv_line * 255.

 

 

LOOP AT LT_CONTENT INTO LS_CONTENT.

   LS_CONTENT1-LINE = LS_CONTENT-LINE.

   APPEND LS_CONTENT1 TO LT_CONTENT1.

ENDLOOP.

 

*CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'

*  EXPORTING

*    input_length       = lv_length

**   FIRST_LINE         = 0

**   LAST_LINE          = 0

* IMPORTING

*   BUFFER             = buffer

*  tables

*    binary_tab         = lt_content.

** EXCEPTIONS

**   FAILED             = 1

**   OTHERS             = 2

*          .

*IF sy-subrc <> 0.

*uline.

*ENDIF.

 

*CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'

*  EXPORTING

*    buffer                = buffer

**   APPEND_TO_TABLE       = ' '

** IMPORTING

**   OUTPUT_LENGTH         =

*  tables

*    binary_tab            = lt_bin_content.

 

 

 

 

 

LS_OBJECT-OBJKEY = '552F02EA5D9618C0E10080009108507C'.

 

 

CALL FUNCTION 'SO_CONVERT_CONTENTS_BIN'

   EXPORTING

     it_contents_bin       = LT_CONTENT1

  IMPORTING

    ET_CONTENTS_BIN       = LT_CONTENT1

           .

 

LOOP AT LT_HEADER INTO LS_HEADER.

LS_OBJHEAD-LINE = LS_HEADER-LINE.

APPEND LS_OBJHEAD TO LT_OBJHEAD.

ENDLOOP.

 

 

 

 

   CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'

    EXPORTING

*     OWNER                       = ' '

      REGION                      = 'B'

    IMPORTING

      FOLDER_ID                   = LS_FOL_ID

    EXCEPTIONS

      COMMUNICATION_FAILURE       = 1

      OWNER_NOT_EXIST             = 2

      SYSTEM_FAILURE              = 3

      X_ERROR                     = 4

      OTHERS                      = 5

             .

   IF sy-subrc <> 0.

* Implement suitable error handling here

   ENDIF.

 

 

   LS_OBJ_DATA-OBJSNS = 'O'.

   LS_OBJ_DATA-OBJLA = SY-LANGU.

   LS_OBJ_DATA-OBJDES = 'TEXT'.

   LS_OBJ_DATA-FILE_EXT = 'TXT'.

   LS_OBJ_DATA-OBJLEN = lv_length.

 

 

   CALL FUNCTION 'SO_OBJECT_INSERT'

     EXPORTING

       folder_id                        = ls_fol_id

*     OBJECT_FL_CHANGE                 = ' '

      OBJECT_HD_CHANGE                 = LS_OBJ_DATA

       object_type                      = 'EXT'

*     ORIGINATOR_ID                    = ' '

*     OWNER                            = ' '

    IMPORTING

*     OBJECT_FL_DISPLAY                =

*     OBJECT_HD_DISPLAY                =

      OBJECT_ID                        = LS_OBJ_ID

     TABLES

       objcont                          = LT_OBJHEAD

       objhead                          = lt_content1

*     OBJPARA                          =

*     OBJPARB                          =

    EXCEPTIONS

      ACTIVE_USER_NOT_EXIST            = 1

      COMMUNICATION_FAILURE            = 2

      COMPONENT_NOT_AVAILABLE          = 3

      DL_NAME_EXIST                    = 4

      FOLDER_NOT_EXIST                 = 5

      FOLDER_NO_AUTHORIZATION          = 6

      OBJECT_TYPE_NOT_EXIST            = 7

      OPERATION_NO_AUTHORIZATION       = 8

      OWNER_NOT_EXIST                  = 9

      PARAMETER_ERROR                  = 10

      SUBSTITUTE_NOT_ACTIVE            = 11

      SUBSTITUTE_NOT_DEFINED           = 12

      SYSTEM_FAILURE                   = 13

      X_ERROR                          = 14

      OTHERS                           = 15

             .

   IF sy-subrc = 0 AND LS_OBJECT-OBJKEY IS NOT INITIAL.

     LS_FOLMEN_K-FOLTP = LS_FOL_ID-OBJTP.

     LS_FOLMEN_K-FOLYR LS_FOL_ID-OBJYR.

     LS_FOLMEN_K-FOLNO = LS_FOL_ID-OBJNO.

     LS_FOLMEN_K-DOCTP = LS_OBJ_ID-OBJTP.

     LS_FOLMEN_K-DOCYR = LS_OBJ_ID-OBJYR.

     LS_FOLMEN_K-DOCNO = LS_OBJ_ID-OBJNO.

     LV_EP_NOTE = LS_FOLMEN_K.

     LS_NOTE-OBJTYPE = 'MESSAGE'.

     LS_NOTE-OBJKEY = LV_EP_NOTE.

 

     CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'

       EXPORTING

         obj_rolea            = LS_OBJECT

         obj_roleb            = LS_NOTE

         relationtype         = 'ATTA'

*     IMPORTING

*       BINREL               =

*     TABLES

*       BINREL_ATTRIB        =

      EXCEPTIONS

*       NO_MODEL             = 1

*       INTERNAL_ERROR       = 2

*       UNKNOWN              = 3

        OTHERS               = 4

               .

     IF sy-subrc <> 0.

* Implement suitable error handling here

     ENDIF.




Regards

Convert Binary data to internal table and create file on application server

$
0
0

Hi All,

 

  I have developed  a program which reads file contents of  DMS file ( Table DMS_DOC_FILES)  using function module  SCMS_DOC_READ into internal table it_bin[]

 

it_bin  TYPE STANDARD TABLE OF sdokcntbin.

 

Now I want to convert this binary data of  it_bin to internal table which i can use further to create a file on application server.

 

Please help.

 

Thanks,

Arpita

Account 41461198 requires an assignment to a CO object

$
0
0

Hi Experts,

 

I am Passing the Billing Document Number In VF02 and selecting the Release to Accounting Option.

It will shown Below error.

 

Account 41461198 requires an assignment to a CO object

Message No. KI235

 

Please Guide Me, How To Resolve this Error.

 

 

Regards,

Naresh

Upload XML file from PC to Application Server

$
0
0

Hi All,

 

I want to upload xml file from Presentation server to Application server. Can we do this using FM GUI_UPLOAD ? which I tried and unable to open the XMl file in application server. it throws error as not .txt file.

 

Is there any other way to place the file ?

 

Appreciate your help.

 

Thanks

Rashmi

How to identify program with is going to lock user due to incorrect logon

$
0
0

Hi Experts,

 

We have requirement to trigger mail while user is locked with incorrect password attempt. I have tried but not able to find the correct program which is triggering when user is tried to locked due to 3 incorrect login attempt.Also, I have tried with where as list for USR02 table for field UFLAG but not able to find the correct program..

 

Please let me know your  suggestion how do I find the correct program.


Thanks,

Dipesh Gupta


Setting up WinSCP client in local machine to do SFTP from ABAP

$
0
0

Friends/Experts,

 

  • http://scn.sap.com/docs/DOC-60513
  • If anyone is having experience in setting up WinScp Client(or with any SFTP, FTP client) in local machine to do SFTP from ABAP. Please let me know.
  • With the reference of above link I understand the we can transfer(read and write) files to a SFTP server using FM SXPG_COMMAND_EXECUTE. I would request to let me know if there are better approach or the only approach.

 

Thanks a lot for support in advance.

 

Madhu M V

FIELD IN CUSTOM TAB IN VL03N IS NOT GREYOUT

$
0
0

FIELD IN CUSTOM TAB IN VL03N IS NOT GREYOUT AFTER CREATING A NEW TAB USING BADI LE_SHP_TAB_CUST_HEAD.

DATA SAVING AND ALL REQUIRED DATA IS GETTING UPDATED.BUT IN TRANSACTION VL03N IT SHOULD BE NON EDITABLE.

IF WE WRITE CODE RELATED TO  SCREEN-INPUT AND SCREEN-OUTPUT = 0 .THE PROBLEM SOLVES BUT I AM NOT ABLE TO FIND THE CORRECT PLACE TO FULFIL MY REQUIREMENT.

 

KIND REGARDS,

ANAND

Finding a collective search help table-field

$
0
0

Hi!

I think this is the appropriate place to ask the question as I didn't found any guide googling around. Can somebody explain me how to find out which table name and field is used in collective search help, so I could whitelist that table and field for usage in re-creating search help for a custom field?

E.g. I know that for VA42 field contract number the combination to whitelist would be QALS  and field LS_KDAUF, but how to get this information?

 

Thanks in advance!

SAP ABAP Patch Notes

$
0
0

Hi experts,

 

I have a component SAP_BASIS with 700 release. For example I have 2 notes 1143177 and 2122022 that I need to apply. In SAP Note 1143177 for release 700 with patch SAPKB70016 and for SAP Note 2122022 for release 700 with patch SAPKB70033.

1. So I have to apply only SAP Note with latest patch? (apply only 2122022)

2. Or I have to apply both patch in series ? (apply 1143177 and 2122022)

 

Please, help me

Programmatic check in DEV to see if transport imported to Test or Prod

$
0
0

Hi All,

 

Hoping someone can help me. If I'm looking at a transport in SE10 I can click on the transport and then click on the "Transport Logs" button (Ctrl+Shift+F2) and it will show me the log of when the transport was imported into Production or Test. I need to see this information for a large set of transports so I don't want to check each one individually. I already have a report that gets data from E070 and displays the transport information and release status.

I want to extend this report and show if the transport has been imported to Test and Production too. Do I look at a specific table or is there a function/class-method that will retrieve this information for me?

 

Any advice here will be appreciated.

 

Thanks.

 

Regards, Martin.

Viewing all 8332 articles
Browse latest View live


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