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

Customize the Calender dates

$
0
0

Hi Guys, In my report i need to show the calendar dates like 01/01/2015 to 25/01/2015 as 15-jan, 26/01/2015 to 22/02/2015 as Feb-2015, Please answer to this asap.


Re: Create Popup Window while creating AR Invoice

$
0
0

FMS can bring the ISO value to transaction form on a certain field(could be a UDF), but it will not show a popup window.

 

The requirement u r asking for can NOT be achieved in standard B1. Need add-on to do this.

 

Frank

tomcat disappear after upgrade

$
0
0

HI All,

 

we have upgraded our system from BO4.0 sp6 to sp11 fp6. afte upgrading Tomcat services has disappeared.

it was happened on web tier.

 

Can you please let me know any suggestions.

 

Thanks,

Venkat

Re: Calling xsjs service from xsodata

$
0
0

Hi Shanmuka,

 

I am not sure if the question is clear - if I understand what you are trying to ask is if you could insert a record via odata? or any other possible way to do inserts into HANA?

 

yes, odata accepts CRUD operations, however, you will need to expose a HANA table in order to do your insert, delete, update... otherwise if you are simply reading you could use the table itself or a view. per Odata rules, you will need to specify a key.

 

on the other hand, if you are wanting to call an XSJS service to insert some records into the DB. this approach is also possible. You may want to do a PUT or POST depending in your requirement to insert/update data in the HANA DB. let's assume you do a POST and you send a JSON object, then in the XSJS layer, you need to parse it and either do your embedded SQL (not recommended) or call a stored procedure (preferable over embedded SQL) and provide the input parameters - keep in mind to avoid SQL injection, you want to parametize these inputs.

 

hope this is easy to understand and follow - for more information on different scenarios, please check out the developer guide(s).

Re: Option for User to give range of date in compose tab other than what Preview provides

$
0
0

Compose tab is for building a story; not sure why the user wants to filter there?  What is the business reason behind that?

Add suggestion within control

$
0
0

Hi

 

I've this following example and one of the autocomplite event is suggest & value and I want to add the code of  it inside the new control and not to put

it in the constructor , how can I do that ?

 

I mean instead of using value like following call the value method inside the control and not in the constructor it like following

var aC = new sap.ui.commons.AutoComplete({
maxPopupItems: 15,
displaySecondaryValues: true,
value: {
path: "/path",
mode: sap.ui.model.BindingMode.OneWay,
formatter: function(path) {
.....

Joerg

 

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.commons.AutoComplete

 

 

 

JS Bin - Collaborative JavaScript Debugging

Re: HR P&F: Display Table in FPM and value from Z Generic class

$
0
0

It really is quite easy as mentioned above.

 

On your config side, you will have a form field defined for EACH "column" of your table. Let's say we have one called "FRUIT_LIN" (I always use "_LIN" in my field names so I know right off that it is a "line" of a table) and it's is just a character data element...."CHAR25".

 

Now, let's say you generic service has the same field (easier to make names match), so your config in HRASR_DT for your service looks like....

 

FRUIT_LIN  <---------> FRUIT_LIN   (mapping for form field to service field)

 

In your generic service, you are going to do something to read all the "fruits" from the database and put them in an internal table....lets call it LT_FRUITS. After having your values, we now want to move them over to our form fields (dataset). This is just as easy as looping through our internal table, attempting to read our dataset for a matching value and either update our value (if found) or create a new one. Something like....

 

l_count = 1. "let us pretend we do not have any existing entries yet....though we check fro them.

LOOP AT lt_fruits.

     READ TABLE service_dataset ASSIGNING <ds_fields> WITH KEY fieldvalue = lt_fruits-fruitname.

     IF sy-subrc = 0. "we have a match!

          <ds_fields>-fieldvalue = lt_fruits-fruitname. "redundant but just to show...could do something else

     ELSE.

          ls_dataset-fieldname = 'FRUIT_LIN'.

          ls_dataset-fieldvalue = lt_fruits-fruitname.

          ls_dataset-index = l_count.     "we would have gotten/set this earlier

 

          APPEND ls_dataset TO service_dataset. "now add it to our form fields!

          CLEAR ls_dataset.

 

          l_count = l_count + 1. "increment our index value

     ENDIF.

ENDLOOP.

 

 

So now your form field will look like this....

 

Form Field Name          Form Field Value          Index

FRUIT_LIN                    Apple                             1

FRUIT_LIN                    Orange                           2

FRUIT_LIN                    Banana                          3

FRUIT_LIN                    Mango                            4

 

....and since you "bound" your field FRUIT_LIN in your FPM List configuration, it will then appear on the form as .....

 

Fruit

Apple

Orange

Banana

Mango

 

Now let's make it a bit more complicated. What constitutes a "row" of our table? Well, it is simply all the form fields that have the SAME index. So let's say we add two more columns....count (FRUIT_COUNT_LIN) and price (FRUIT_PRICE_LIN) with values as....

 

Form Field Name          Form Field Value          Index

FRUIT_LIN                    Apple                             1

FRUIT_LIN                    Orange                           2

FRUIT_LIN                    Banana                          3

FRUIT_LIN                    Mango                            4

FRUIT_COUNT_LIN          1                                 1

FRUIT_COUNT_LIN          5                                  2

FRUIT_COUNT_LIN          10                                3

FRUIT_COUNT_LIN          0                                  4

FRUIT_PRICE_LIN          $0.99                             1

FRUIT_PRICE_LIN          $0.33                             2

FRUIT_PRICE_LIN          $1.00                             3

FRUIT_PRICE_LIN          $0.50                             4

 

....so now our table should appear as....

 

Fruit          Count               Price

Apple            1                    $0.99

Orange          5                    $0.33

Banana        10                    $1.00

Mango          0                    $0.50

 

Makes sense now? haha I know that was a long answer.

Re: MIGO Goods Receipt w/o PO using just an Order Number?

$
0
0

You may consider the following solution :

 

MIGO Movement Type 531 ( Receipt of By Products for Order ). This function  may fit your requirement. You can intake the stock with reference to a order.

 

Accounting Entries will be :

BSX Debit

GBB ZOB Credit

 

Using reversal movement types like 262 will always work but they act as surprise accounting movements. System considers them as a reversal of some earlier consumption movements ( Ex: 261). Generally, such movement types should be avoided for logistics intake of goods which are not "per say" reversal movements.

 

Kindly explore the option and revert if any queries.


Re: Bug: property of a complex type is processed wrongly by a worklist template.

Re: Add suggestion within control

$
0
0

not in constructor but insde? hm, create another method and do it there?

DASHBOARD

$
0
0

Have installed dashboard correctly on the server and can view them but when i try to view dashboard from the Client Machine, i get an error that cannotconnect to integration framework services.Any idea how i can sort that out?

Re: Add suggestion within control

$
0
0

Can you provide please example?

I want to put it inside the new control but to use the same functionality for example for

value I've formatter which I need...

Re: BPC NW 10 Logic Script: Conditional Statement

$
0
0

Something like this:

 

*LOOKUP RATE

*DIM R_ACCT=ACCOUNT.RATETYPE //or some fixed value like AVG...

*DIM R_ENTITY="GLOBAL"

*DIM RATEENT:INPUTCURRENCY=ENTITY.CURRENCY

*DIM RATEEMP:INPUTCURRENCY=EMPLOYEE.CURRENCY

*ENDLOOKUP

 

*XDIM_MEMBERSET ACCOUNT=1100111

*XDIM_MEMBERSET VERSION=Plan_1

*XDIM_MEMBERSET CURRENCY=LC

*XDIM_MEMBERSET TIME=$TIMEID$

 

//All Employees will be calculated

*WHEN EMPLOYEE

*IS * //All

*REC(EXPRESSION=%VALUE%*LOOKUP(RATEEMP)/LOOKUP(RATEENT),ACCOUNT=1100112,VERSION=Plan_2)

*ENDWHEN

 

//To improve accuracy for the case ENTITY.CURRENCY=EMPLOYEE.CURRENCY

//Overwrite the result with the original value

*WHEN EMPLOYEE.CURRENCY

*IS ENTITY.CURRENCY

*REC(EXPRESSION=%VALUE%,ACCOUNT=1100112,VERSION=Plan_2)

*ENDWHEN

 

Please read the discussion under: How to write dynamic BPC Script Logic - part 6

 

Vadim

PSM-FM activation per client?

$
0
0

Dear all,

 

Would you please guide me on this issue resolution? 

 

Should PSM-FM activation (Public Sector Management => Funds Management Goverment => Basic Setting => Activate Global Funds Management Function (PSM-FM)) be performed under each cliente individually?

 

I have created a CR in the Golden client and among the instance (DEV sandbox and DEV test environments) the CR import works fine. But after releasing this CR and going to QAS environment the content is not updated. I have tried the Table View => Transport option but it also did not work.

 

Thanks in advance for your help.

 

Regards,

 

Adriana   

Re: Server Name in Crystal Reports 2008 SP7


Condition to find the distinct values in a column.

$
0
0

Hello All,

 

I have scenario like there is a sales order which has two line items in it.

 

For eg.

 

Sales_order     sales_guid     flag1        flag2

36000101          1234             0          Complete

36000101          5678             1          In-Progress

 

I have flag for the cases like,

 

if (flag1 > 0),'In-Progress','Complete' -> calculated column flag2

 

from the above calculated column I can filter out

flag2                    and                flag2

Complete                                   In-Progress

Complete                                   In-Progress


But now I need the flag for the below combination.


when there is a combination in              flag2              then        flag3          else     flag3

                                                       Complete                          x                            y

                                                      In-Progress                        x                            y


Kindly suggest me solutions how we can achieve it.  I am using graphical calculation view.


Regards,

Vicky.

Re: Reimprimir un Cheque

$
0
0

Que version de SAP B1 tienes?

 

 

Intenta en vez de mandar a imprimir el cheque, generar un PDF el cual no incrementa el numero de cheque, y desde el mismo PDF puedes imprimir tantas copias como necesites

 

Espero te funcione, ya que yo lo he probado y funciona.

Re: Barcode on smartforms

$
0
0

Thanks Romit,

 

I'm not sure that barcode by itself prints the number below. So I have created a text below that and populated the number on it.

Barcode.png

Re: PLKOD-DATUB

Re: Report using wrong database name in fully qualified table names

$
0
0

Hi Aaron,

 

MS doing odd stuff with their DB clients. The MDAC driver SQLOLEDB.dll is not completely supported with newer DB Servers but CR seems to have issue when updating the client to the newer version. You are not the first to run into this types of problems. Some reports work and some don't.

Updating the reports can "fix" the DB info in the rpt file though.

 

Also, you may want to update all of your reports to ODBC, MS is dropping OLE DB support to their servers.

 

Don

Viewing all 8713 articles
Browse latest View live




Latest Images