Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all 10425 articles
Browse latest View live

Re: error when generating selection screen


Re: How to make sure data saved in DATABASE

$
0
0

Hello,

 

You have to create an internal table type table of BAPIRET2.

 

you have to pass this internal table in your bapi fm...

 

BAPI_OUTB_DELIVERY_CHANGE

 

Tables

RETURN     = it_return

 

it collects all messages(Success, error)....

 

put code:

 

READ TABLE IT_RETURN INTO WA_RETURN WITHKEYTYPE = 'S'.

 


LOOP AT IT_RETURN INTO WA_RETURN.
     WRITE:/ WA_RETURN-MESSAGE.
   ENDLOOP.
FREE IT_RETURN.

 

Thanks

 

Sabyasachi

Re: text should be non-editable in word-editor

$
0
0

Sorry Neha , It's still confusing . "mathan posting is not clear "

Exact requirement is not clear.

 

Thanks.

 

Abhijit

Re: Number_get_next

$
0
0

Which domain did you use for "Number Length Domain", check actual lengyth, also check you range definition and parameter definition in the FM call.

 

Regards,

Raymon

Re: SAP Background job

Type LCHR.

Re: SAP HR Table

Type LCHR.


Re: REUSE_ALV_FIELDCATALOG_MERGE column name not displayed

$
0
0

You are mixing structures of old SLIS and new structures of OO/LVC ALV, that will not always match, just check structure definitions. Either use only one family of tools, or use LVC_TRANSFER* FM to convert between two families.

 

Regards,

Raymond

Re: function module reuse_alv_grid_display with multiple calls

$
0
0

As your are using full screen ALV FM, let those manage the screen, in the user_command parameter there is a field to exit the FM, so back to previous screen, set it when managing "back" events. (Just read documentation of FM and the thousands of thread on the subject, RS_SELFIELD-EXIT = 'X'.) So when control will get back to your form, e.g. when clicking BACK on another call of th FM, the current ALV will close, leave to previous screen.

 

Regards,

Raymond

Re: Status changin CRM

$
0
0

After call of CRM_STATUS_CHANGE_EXTERN you need to call BAPI_TRANSACTION_COMMIT.

 

call function 'CRM_STATUS_CHANGE_EXTERN'

    exporting

        objnr               = iv_guid

        user_status         = iv_status

    exceptions

        OBJECT_NOT_FOUND    = 1

        STATUS_INCONSISTENT = 2

        STATUS_NOT_ALLOWED  = 3

        OTHERS              = 4

.

if ( sy-subrc = 0 ).

    call function 'BAPI_TRANSACTION_COMMIT'

        exporting

            wait  = ABAP_TRUE

    .

else.

    "!+ Handle error

endif.

Re: Not able to debug inbound mail processing exit

$
0
0

Hello Jay,

          Even we were facing the similar Issue we have used the program RSSOSOSTSTAT and FM

  SX_SNDREC_SELECT you cant get all the mails and their status.

Thanks,

Vijay.

Re: CALL_FUNCTION_NOT_ACTIVE

$
0
0

Hi Pranu,

Chcek if some one has implemented any note effecting all the all function modules if its a standard one Else Chcek if you have any functiona module not active so it might be effecting function  Group to get activated.

Thnaks,

Vijay

Re: Program ZRFFOUS_C : No Records Selected

$
0
0

Hi Prameet Verma,

     Just check in the Include  RFFORI06 .

   * Abschluß des Formulars
  call function 'CLOSE_FORM'
    importing
      result     = itcpp
       tables
            otfdata  = lt_otfdata
    exceptions
      send_error = 4.

if itcpp-tdspoolid is populated if this is populated the spool is created else check why this Perform

  avis_schliessenis not called.Hope this help.Let me know if you need more information.

Thank you ,

Vijay

 

Re: transport request for NACE/Output Types

$
0
0

Hello TS,

     NACE customising is client dependent so from development Server you do the customising in the client that you want to transfer to production.

Thanks,

Vijay.


Re: To transfer data from a zprogram to badi

$
0
0

Try Set Parameter get parameter may be this should help as export import cannot be used.

Thanks,

Vijay.

Re: Custom transaction lock

$
0
0

Thanks to all for your replies.

 

If locking and unlocking is the way to fix this then i will follow the same. I do not maintain any number range,just increment the request number by one from the database.

 

 

 

@ Andrei - "Before a user saves the data in your Z table, call FM NUMBER_GET_NEXT. This should not fail in case two users hit SAVE button at the same time."

 

Do you mean to say then by using this FM i do not need to lock and unlock the table ?

 

Thanks.

Re: Incorrect Value in the Dynamic Table

$
0
0

Hi,

 

Thank you for the reply. I have to create the ALV hierarchical report with these 2 tables. Functional guys want the output of both the tables in one report.

 

The functional of coding you are telling is correct but I don't want that. Both the tables would have same number of records. Like in my case there are 17 records, I want the output of 17 records of bsad and bsid.

 

But the above report is showing 17*17 times.

 

 

Regards

Purnand

Daily Stock and Sales Report

$
0
0

Hello. I need to develop a stock and sales report that will be executed daily in R/3. These are the columns that appear in the output:

 

MATERIAL NUMBER| OPENING STOCKS QTY (Current month opening stocks) | CLOSING STOCKS QTY (Stock as on end of current day)| SALES QTY| SALES VALUE| FREE GOODS QTY| UoM| DATE| DAMAGED QTY| DAMAGED QTY VALUE| RETURN QTY| RETURN VALUE

 

While I've kind of worked out how to calculate the opening stock quantity and the sales data details, which seems to be working fine, I'm not sure how to go about the calculation of closing stock. What must I look out for, which tables should I access... sample coding, ... any suggestions?

Re: Incorrect Value in the Dynamic Table

$
0
0

You don't actually need a hierarchy ALV list, better look for

  • REUSE_ALV_BLOCK_LIST_INIT
  • REUSE_ALV_BLOCK_LIST_APPEND
  • REUSE_ALV_BLOCK_LIST_DISPLAY

 

Regards,

Raymond

Viewing all 10425 articles
Browse latest View live


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