Quantcast
Channel: SCN: Message List
Viewing all 9071 articles
Browse latest View live

Re: Reversal of Post goods Issue

$
0
0

Hi,

 

Below change code is working ok plz check. I have only commented i_mblnr

 

CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
     EXPORTING
       I_VBELN                         = DEL_DOC
       I_BUDAT                         = SY-DATLO
*       I_COUNT                         =
*     I_MBLNR                         = WA_MKPF-MBLNR
      I_TCODE                         = 'VL09'
       I_VBTYP                         LV_VBTYP
*       I_MBLPO                         =
*       I_MJAHR                         =
*       I_POSNR                         =
*       I_SIMULATE                      = ' '
*       I_SPE_BUDAT_UHR                 =
*       I_SPE_BUDAT_ZONE                =
*       I_SPE_MDNUM_EWM                 =
*       I_SPE_LOGSYS                    =
*       I_SPE_CONFIRM_CENTRAL           = ' '
*     IMPORTING
*       ES_EMKPF                        =
     TABLES
       T_MESG                          = IT_MESG
    EXCEPTIONS
      ERROR_REVERSE_GOODS_ISSUE       = 1
      "OTHERS                          = 2

    IF SY-SUBRC = 0.
      "---commit
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'X'.

 

with regards

 

vikas pandey


Re: Exception massage after MRP

$
0
0

Hi Sandeep,

 

Could you please share the OPPQ and MD04 screen shots to help you out.

 

 

BR

Sudhakar

Re: Getting dump TSV_TNEW_PAGE_ALLOC_FAILED while executing /SAPSLL/SPL_AUDITTRAIL_BP_LO

$
0
0

Hello Guruprasad

 

You could try to reduce  the data size by selection criterion or you could ask your basis to increase memory ad per note

 

1563641 - TSV_NEW_PAGE_ALLOC_FAILED dump occurs

 

Best Regards,

Yong Luo

Re: Setting the SessionID and EndPoint for SForceService in PB 12.5

$
0
0

This is a copy from the nntp newsgroups, originally posted by Thomas Rundo.

(http://nntp-archive.sybase.com/nntp-archive/action/article/%3C4faa7c73@forums-1-dub%3E)

 

It sounds as this is also the solution for your problem.

 

Kudos to Thomas!

 

----------------------------------------------------------------------------------------------------

 

With some effort from our team we finally were able to get connected and get

data back from Salesforce

 

Here is the solution:

 

SoapConnection soapconn_login , soapconn_query

sf_sforceservice sf_login_proxy, sf_query_proxy

sf_loginresult loginresult

 

long error_code

boolean error_boolean

 

// Create Login SOAP object

soapconn_login = create SoapConnection

 

error_code = soapconn_login.CreateInstance(sf_login_proxy,

"sf_sforceservice")

 

try

loginresult = sf_login_proxy.login( "<user login id>", "<the

password>")

catch ( SoapException eCreateLogin )

 

end try

 

//Create the Session Header

sf_sessionheader new_sessionheader, old_sessionheader

new_sessionheader = CREATE sf_sessionheader

new_sessionheader.sessionid = loginresult.sessionid

 

error_boolean = sf_login_proxy.setsessionheadervalue(new_sessionheader)

old_sessionheader = sf_login_proxy.getsessionheadervalue( ) // Now

working!!!

 

 

// Create Query SOAP object

soapconn_query= create SoapConnection

 

error_code = soapconn_query.CreateInstance(sf_query_proxy,

"sf_sforceservice", loginresult.serverurl)  // New URL location

 

//The new_sessionheader fields need to have something in it <<<<<<<<<<  This

was the problem for the Invalid Session ID errors

try

loginresult = sf_query_proxy.login( "<user login id>", "<the

password>")

new_sessionheader.sessionid = loginresult.sessionid

new_sessionheader.didunderstand = true

new_sessionheader.mustunderstand = false

new_sessionheader.relay = true

new_sessionheader.actor = "dummy"

new_sessionheader.encodedmustunderstand = "true"

new_sessionheader.encodedmustunderstand12 = "true"

new_sessionheader.encodedrelay = "true"

new_sessionheader.role = "true"

error_boolean = sf_query_proxy.setsessionheadervalue(new_sessionheader)

catch ( SoapException eCreateQuery )

 

end try

 

error_boolean = sf_query_proxy.setsessionheadervalue(new_sessionheader)

 

 

 

// Query SalesForce

try

 

sf_getuserinforesult getuserinforesult

sf_query_proxy.getuserinfo( )

 

sf_queryresult queryresult

queryresult = sf_query_proxy.query("SELECT FirstName, LastName FROM

Contact")

 

// Invoke service

messagebox("","")

 

catch ( SoapException eQuerySalesForce )

messagebox ("Error", "Cannot invoke Web service")

 

end try

 

destroy soapconn_login

Re: Help needed - Error message: open document failed the engine failed to start/restart the application

$
0
0

Hello Kunal,

 

unfortunately no - nothing else I did.

 

Jens

Re: Filter in DM Package Prompts - Raise a Message

$
0
0

Hi Gersh,

 

Yes you are right, it's possible to manually enter number of comma separated values in the combobox field, but in our practice nobody have done it during 3 years of production system usage

 

B.R. Vadim

Re: Get Related Entities

$
0
0

Hi Yordan,

 

I have run the same code in ABAP Report and there I am able to get related entities.

Try with core->LOAD_COMPONENT_SET( 'BP_APPL' ) instead of core->start_up( 'BP_APPL' ) if it helps.

Otherwise you need to debug and find out why you are not able to get the relationships.

 

Thanks

Kumar Gaurav.

Re: what is blue print ?

$
0
0

Hi Kiran,

 

"Blue print" is one of the phase in  SAP implementaion. It is 2nd phase of ASAP methodology.

The road map is composed of five well-known consecutive phases:

•        Phase 1 Project Preparation

•        Phase 2 Business Blueprint

•        Phase 3 Realization

•        Phase 4 Final Preparation

•        Phase 5 Go-Live and support

 

BLUE PRINT:

Blueprint are in the form of questionnaires that are designed to probe for information that uncovers how your company does business. As such, they also serve to document the implementation.

Each business blueprint document essentially outlines your future business processes and business requirements.

SAP has defined a business blueprint phase to help extract pertinent information about your company that is necessary for implementation.

During Blue Print phase you will receive AS IS doc from client- their busines process, based on that you will design TO BE doc., in that you will design how business will be maped into SAP.

Next activities is GAP analysis. What are the GAPs in between SAP System and Business.

Now how to write Business Blue Print(BBP) for your module- In the Blue Print what master data you will use for your module, all business how you map into SAP for your module. If there is any development require write those.

Get singed it from your client. Then you can start configuration(Realization Phase).

Thanks,

Biplob


Re: how to pass decimal values to a idoc_data-sdata at 170th place

$
0
0

Hi,

 

You are trying to update segment E1EDL24.

 

Dont use offset postions for this. It is too complex. Instead do the following: -

 

DATA: ST_E1EDL24 type E1EDL24.

 

ST_E1EDL24 = IIDOC_DATA-SDATA.

 

ST_E1EDL24-FIELD = 'blah blah blah'.

 

IDOC_DATA-SDATA = ST_E1EDL24.

 

Thanks

 

Martin

Re: Purchase Register

$
0
0

hi,

 

me80fn can help you.

 

did you try my info set for query ?

 

M.Ozgur Unal

Re: N

$
0
0

Hello Rao,

Its already closed. I have posted it on 25 July but from today only its visible.

 

http://scn.sap.com/thread/3396489

kindly follow mentioned thread i have replied some ans for the same question.

 

 

Thanks and Best Regards

Chandra Ag..

Re: RG23A part -1 is not visible under excise item tab in MIGO

$
0
0

Hi Jitendra,

 

Since the entry is correctly updated in table J_1ipart1 you will not face any issues with

this EI. The note will help you to avoid such problems in future.

 

Regards,

Rajasree R

Re: Issue in the Dump & Load task while importing data

$
0
0

Hi Dayalan,

can you please share the input and the transformation files?

 

Kind regards

     Roberto

Re: problems with SET_VARIANT of class CL_GUI_ALV_GRID

$
0
0

Hi Itziar,

 

I had a tad different requirement to meet. The user didn't want to go back and forth, nor did they want a radio button to use particular layout and then re run with a different radio button to get the different layout.

 

Using the pointer in this thread, I could achieve the 'toggle' behaviour. I thought I should put it here for the benefit of fellow members.

 

What I did was this: The report computed the report and then merged the output in a large internal table that had fields of each of the individual layouts. Next, I used the REUSE_ALV_GRID_DISPLAY to display the layout. The FM has its benefits. The developer has to put very little effort to render the report, the output is optimised for the screen size, etc.

 

Coming to details, I had used the callback i_callback_pf_status_set of the aforesaid FM, to set up the custom GUI Status. That allowed me to have custom buttons. I put two custom buttons to toggle the output. I also used the callback i_callback_user_command of the FM to get the control on user actions. So, when a user would click the custom button, I would get the control. The code for user_commond is here:

 

FORM user_command USING r_ucomm     TYPE syucomm            "#EC CALLED

                         ls_selfield TYPE slis_selfield.     "#EC NEEDED


DATA: lit_cat    TYPE slis_t_fieldcat_alv,

         lt_cat     TYPE lvc_t_fcat,

         lit_sort   TYPE slis_t_sortinfo_alv,

         lt_filter  TYPE lvc_t_filt.

 

   DATA: ls_variant TYPE disvariant,

         ls_layout  TYPE lvc_s_layo,

         v_curmod        TYPE numc1.

 

   DATA: lo_grid    TYPE REF TO cl_gui_alv_grid.

 

   ls_variant-report = sy-repid.

   CASE r_ucomm.

     WHEN 'WBS'.                                        "First custom button

       ls_variant-variant = '/WBSELEM'.

       v_curmod = c_wbselem.

     WHEN 'MO'.                                          "Second custom button

       ls_variant-variant = '/MAINORD'.

       v_curmod = c_mainord.

     WHEN OTHERS.

       RETURN.

   ENDCASE.

 

   PERFORM prepare_layout USING    v_curmod

                          CHANGING lit_cat lit_sort.

 

   CLEAR: sy-subrc.

   CALL FUNCTION 'LVC_TRANSFER_FROM_SLIS'                     "To convert the SLIS based catalog to LVC based one

     EXPORTING

       it_fieldcat_alv = lit_cat

     IMPORTING

       et_fieldcat_lvc = lt_cat

     TABLES

       it_data         = lt_output

     EXCEPTIONS

       it_data_missing = 1

       OTHERS          = 2.

   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: sy-subrc.

   CALL FUNCTION 'LVC_VARIANT_SELECT'                    "To setup the variant

     EXPORTING

       i_dialog            = ' '

       i_user_specific     = ' '

       i_default           = ' '

       it_default_fieldcat = lt_cat

     IMPORTING

       es_layout           = ls_layout

       et_filter           = lt_filter

     TABLES

       it_data             = lt_output

     CHANGING

       cs_variant          = ls_variant

     EXCEPTIONS

       wrong_input         = 1

       fc_not_complete     = 2

       not_found           = 3

       program_error       = 4

       data_missing        = 5

       OTHERS              = 6.

   IF sy-subrc <> 0.

     MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

   ENDIF.

 

   CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'                    "To get the reference of grid

     IMPORTING

       e_grid = lo_grid.

 

   lo_grid->set_frontend_fieldcatalog( EXPORTING it_fieldcatalog = lt_cat ).     "Setup the new catalog

 

   lo_grid->set_filter_criteria( EXPORTING it_filter = lt_filter ).                          "Setup the new filter

 

   ls_selfield-refresh = 'X'.                                                                            "To refresh the frontend display


ENDFORM.                    "USER_COMMAND

 

I got a good help from http://scn.sap.com/thread/3186847 regarding converting the SLIS format to LVC.

How to show the date description in Crystal Reports 2011?

$
0
0

Hi Prajwal,

 

You need to open the report locally and edit the date prompt text and then save it to platform.


Re: sharing the same transport directory

$
0
0

Hi Nelson,

 

Can you check the sharing on the sapmnt\trans directory.  It should be shared with the correct groups:

SAP_LocalAdmin

SAP_SAP_GlobalAdmin

 

as per your installation guide.

 

Regards,

Graham

Re: History Space Gray Out in DB02

$
0
0

Hi Husin,

 

Please apply SAP note 1456402 in the system via transaction SNOTE:

 

1456402 DB6: DBA Cockpit Correction Collection SAP Basis 7.02 / 7.30

 

Afterwards please set up the Data Collector Framework as described in note:


1630506  DB6: History management of monitoring data

 

and chapter 2.2 Enabling the Database for the Data Collection Framework of the Database Admin Using the DBA Cockpit guide

http://service.sap.com/operationsnw70
-> Operations
    ->Database Admin Using the DBA Cockpit - IBM DB2 for LUW

 

Regards,

Hugo

Re: Hide Approval view in CATS approval view table CATS_APPR_PERSP

$
0
0

Hi Shreelakshmi ,

 

you must assign the CVR parameter in user profile than only employee able to login the ESS without this he can't.

 

CVR = "CATS PROFILE" -- this is mandate and IT105 subtypes are sapid and email is mandtory.

 

I worked very recent similar requirement in ESS, Once the employee raise a travel request in ESS , than manager approvals , once the mgr approved the employee does not eligible to change the approved trip, for this i took with security team and hide the "Change option" in ESS.

 

Regards

Siva

ME 6.1 Install - Process for SAP ME Scripts Installation task stops at 95%

$
0
0

Hi Alex,

 

tried all your hints, but doesen´t work.

 

BR, Matthias

Re: Refresh planned costs in PM order

$
0
0

Hello

 

It's possible to update cost before saving of work order.Just need write the proper abap code.But Table PMCO will update after saving event only.

 

BR

Rakesh

Viewing all 9071 articles
Browse latest View live


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