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

Re: corrupted pdf attachment. while retrieving from mail...?

$
0
0

I also faced similar issue using 'SO_DOCUMENT_SEND_ATT_API1'. When I removed code for email body, attachment was fine. Also try using cl_bcs class for sending email, rather than using this FM.

Check SAP example programs:   "bcs_example_1" to "bcs_example_7".


MB90 related problem

$
0
0

Hi all,

i have a need to stop printing my smartform, according to the criteria that for a particular Ref. Doc., i have to see the list of Material Document.

If the last value of Material Document have a movement type "102", then it wouldn't get printed.

I have written this code but not getting desired result, please anyone correct my code(after seeing the screenshot).

 

DATA : ls_mseg type mseg,

        it_mseg type mseg,

        it_mseg1 type mseg,

        it_mseg2 type mseg.

 

LOOP AT RG_MBLNR.

clear: ls_mseg.

select single * from mseg into ls_mseg

   where mblnr in RG_MBLNR.

select single lfbnr from mseg into it_mseg where lfbnr = mseg-belnr.

select * from mseg into it_mseg1 where lfbnr = mseg-lfbnr.

select max( belnr ) from mseg into it_mseg2 where belnr = RG_MBLNR.

ENDSELECT.      

   IF sy-subrc eq 0.

     DELETE RG_MBLNR.

   ENDIF.

ENDLOOP.

Re: Debit/Credit indicator

$
0
0

Those are indicators for debit and credit. You have posting keys to identify the debit and credit. By default in FB50, debit is PK 40 and credit is 50.

 

 

Thanks

Re: Confirmation popup in webdynpro

$
0
0

Dear Ankit,

 

Call the same window which you have been used for displaying the view( s ). It works fine.

 

 

lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
ls_string = 'Are you sure you want to delete the record?'.
append ls_string to lt_string.

CALL METHOD lo_window_manager->create_popup_to_confirm
   EXPORTING
     text                 = lt_string
     button_kind          = 4
*    message_type         =
*    close_button         = ABAP_TRUE
*    window_title         =
     window_left_position = '3'
     window_top_position  = '3'
     window_position      = '10'
     window_width         = '50'
     window_height        = '50'
*    default_button       =
   RECEIVING
     RESULT               = lo_window
     .

  lo_window->open( ).

 

 

 

Re: How to over-ride the hook method WDDOEXIT of a component controller?

$
0
0

While enhancing the web dynpro you will get 3 methods. Pre, post and overwrite methods.

If you want to over write the existing method use 'overwrite'.

Re: Concatenated object does not give the desired result on sorting

$
0
0

Hi Agree with Mani, that its the default behavior of sorting when dealing with alphanumeric objects.

 

Display object in block would be the concatenated one with "-" in it.However, you can use below variable in the block as first column, sort the data, Hide the column by making the data text color same as background color,remove the right border of the column and shrink the column to width of 2 or 4 pixels.

 

[Var1]=To Number([Year]+[Month])

 

ensure that Year in YYYY format and Month is in MM format (01,02 etc), so that your sort results in data as below

 

201001

201002

201101

201102

201201

 

Thanks

Mallik

Re: Refurbishment Orders are Not Supported

$
0
0

Hi,

 

in the transaction code VORP, check whether you have the settings as similar to below screenshot

 

VORP.PNG

 

make the settings and try to process

and this repair process under the item category IRRS and try

 

regards,

santosh

Re: How to set value for dropdown by key?

$
0
0

DDBK will always gives the key value pair. If you want to set the value manually do as per the above method or if you want to display the fixed vales give the domain name and if you are having values more than 30 then its better going for DDBI as DDBK will not display that.


Re: How to call model of visual composer in Development studio for debugging

$
0
0

Hello Faiz,

 

Could you please clarify when exactly do you get this error message?

 

Does your model run when you deploy it in VC Browser version?

 

Did you configured RFC Destination in NWA -> Configuration -> Destinations?

If your model runs when you deploy it in your VC Browser version and RFC destinations are defined well in NWA -> Configuration -> Destinations of the server, it will work also when you run the model on the same server via IDE (and you don't need to configure RFC destination in IDE in this case)

You need configure RFC destination in IDE only of you want to consume the RFC in Visual Composer model (search and drag and drop it to the model).

Since your model is already created in VC Browser version (including the RFC's), you don't need to configure RFC in IDE in order to run this model via IDE.

 

Thanks,

Talia

Re: SAP Business By Design Studio and SAP Solution OnDemand Studio 1305

$
0
0

Hi Mithun,

 

If your customer is having SAP Customer OnDemand 1305, you are perfectly fine with the SAP Solutions OnDemand studio 1305.
Please note that the name of the studio changed over time. In the beginning, SAP Business ByDesign gave its name to the studio. You will only need the SAP Business ByDesign studio today if your customer is still on SAP Business ByDesign FP 4.0.
Later on, the studio name changed because the studioo could also be used to enhance other SAP cloud solutions, for example SAP Customer OnDemand (and SAP Business ByDesign as of 1302!). It was then renamed to SAP Solutions OnDemand Studio and covers the versions 1302 and 1305.

As of version 1308, the studio will again change its name to reflect the name change of the cloud solutions, for exampe, SAP Cloud for Customer. The new name of the studio is SAP Cloud Applications studio.

 

I hope this answers your question.

 

Best regards
Ulrike

 

SAP Cloud Knowledge Management

Documents for ABAPer for SAP HANA

$
0
0

Hi.

 

We are replacing DB2 with SAP HANA in our project.

 

So as a technical ABAP developer what would be the best material I would refer to learn things required for me in this new HANA environment.

 

What are the things I should learn in order to work in SAP HANA from ABAP or CRM ABAP perspective.

 

Thanks

Pradeep

Re: Positive /neg field in VTAA

$
0
0

venu,

 

For this field please read the F1 help, clear examples are given for different scenarios.

 

Further, for OR > LF, the value of this field should be set as +. (not - or blank)

 

E.g.

Order created for 100EA

Delivery created for 85EA

The "open" quantity in the order (for the creation of deliveries) is 15EA (not more than that).

 

This calculation is done by the system with the help of this field "Pos/neg quantity".

 

Note: In VTAA, IN > QT, item category AFN > AGN, field "Pos/neg quantity" = +

Re: Positive /neg field in VTAA

$
0
0

Hi,

 

This field will have either POSITIVE, NEGATIVE or NO EFFECT on the source document

for example

if the order is created for 10 quantity and delivery is created for only 3 quantity then the sales order will have positive effect on the source document in which the sales order can only delivery 7 more quantity further

 

If you set this field as 0, then you can delivery as many documents as you can in which system will not restrict you to create deliveries even with 10 quantities, a good example to consider is proforma, you can create as many proforma invoices as you can from delivery document

 

regards,

santosh    

Re: Need code to show "No Data found" in MAKIT chart when no data available

$
0
0

Hi Sudipta,

 

I think you need to integrate custom code to show the message "No Data Found" during data unavailability in the MAKIT chart. So, doing this first you need to focus on your Model and analyze your model whether its contain data or not. Then accordingly show / hide the message.

 

Please see below example, hope this will help you to fulfill the requirement.

 

Example Code :-

testUI5.png

testUI5.png

testUI5.png

testUI5.png

 

Result Page:-

 

testUI5.png

 

 

 

 

Best Regards,

Bibhas Das

 

Edited By: Bibhas Das

Re: Remove the mandatory fileds from the standard report

$
0
0

Hi Venkata,

 

Looks like its not a standard report. It could be a copy of a standard screen. So just go to the screen & in layout just unchecked the required option on this field & check if obligatory is mentioned in declaration. There must be something mentioned like this.

And if this doesn't work then  put this code in this report.

 

Loop at screen.

If screen-name eq 'Your field name'.

screen-required = 0.

modify screen.

endif.

endloop.

 

This will definitely solve ur problem.

Reward if useful.

 

Thanks,

Sachin


Re: on-premise data consumption Methods

Re: Bank statement post processing - Vendor clearing with account type 'D'

$
0
0

Hi Amitash,

 

Please look at my reply to Erwin if it is enough for you.

 

Céline

Re: Bank statement post processing - Vendor clearing with account type 'D'

$
0
0

Hi Erwin,

 

I did not run directly any transaction. The posting with clearing transaction is run automatically when you run the post-processing of the bank statement, the transaction FEBAN. When in FEBAN there is an item in error and not posted, you can rerun the posting by clicking on "Save". Then the system open directly on a windows for the account selection, but it is always with Account Type 'D', even if the bank statement rule for posting is defined for vendor (posting type 7).

 

Is it better clear now ?

 

Céline

Re: No account assignment exist for service line.

Re: Err "No a/c assignment exists for service line" when SC created for limit

Viewing all 8676 articles
Browse latest View live




Latest Images