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

DTP routine issues- Incorrect initial value for characteristic 0FISCPER in i_t_range

$
0
0

Hi Experts,

 

I've written code in DTP routines, for calculating last year period 1 to current year last period

 

so its 2013001 to 2014016 in field fiscper.

 

When I'm debugging the code its generating right values but when I executing this then i'm getting error as :-

 

Incorrect initial value for characteristic 0FISCPER in i_t_range

Message no. DBMAN889

Diagnosis

The specified characteristic is of type NUMC (number as character), DATS (date), or TIMS (time). The initial value of ' ' is incorrect for these data types.

 

System Response

The call is terminated.

 

Procedure

Use the correct initial value for the type in the selection condition.

 

 

Any help would be appreciated DTP is failing.

 

code I've written is :-

 

 

 

    data: l_idx like sy-tabix.

  read table l_t_range with key

       fieldname = 'fiscper'.

  l_idx = sy-tabix.

*break-point.

 

 

  Data: v_today type sy-datum,

  v_fscpr type t009b-poper,

  v_fscyr type t009b-bdatj,

*  v_year type n length 4,

  v_fiscper_plast_cy type /BI0/OIFISCPER,

v_fiscperp1_ly type /BI0/OIFISCPER.

 

 

constants: c_p1_ly type t009b-poper value '001',

c_pl_cy type t009b-poper value '016'.

 

 

clear:v_fscpr,v_fscyr,v_fiscper_plast_cy,v_fiscperp1_ly.

 

 

Refresh:l_t_range.

 

 

  v_today = sy-datum.

 

 

CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'

  EXPORTING

    I_DATE               = v_today

*   I_MONMIT             = 00

    I_PERIV              = 'z1'

IMPORTING

   E_BUPER              = v_fscpr

   E_GJAHR              = v_fscyr.

* EXCEPTIONS

*   INPUT_FALSE          = 1

*   T009_NOTFOUND        = 2

*   T009B_NOTFOUND       = 3

*   OTHERS               = 4.

 

 

IF SY-SUBRC <> 0.

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

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

ENDIF.

 

 

  concatenate v_fscyr c_pl_cy into v_fiscper_plast_cy.

 

 

 

 

  v_fscyr = v_fscyr - 1.

 

 

 

 

concatenate v_fscyr c_p1_ly into v_fiscperp1_ly.

 

 

 

 

l_t_range-sign = 'I'.

l_t_range-fieldname = 'fiscper'.

l_t_range-iobjnm = '0fiscper'.

l_t_range-option = 'EQ'.

l_t_range-low = v_fiscperp1_ly.

l_t_range-high = v_fiscper_plast_cy.

 

 

 

 

      if l_idx <> 0.

  modify l_t_range index l_idx.

else.

  append l_t_range.

endif.

p_subrc = 0.


Re: Adding Prompts to workbook

$
0
0

Prompts from the BEx query will limit the amount of data coming to your workbook and will improve speed; plus you can reuse the calculated key figures / restricted key figures

 

Additionally the use of BEx authorization variables from the query is most important

 

I recommend searching SCN as SAP's Ingo Hilgefort has discussed this several times.

User Exit After Clicking Save button in TCODE MD11

$
0
0

Hi Experts,

 

Can you please tell me user exit when clicking save button in Transaction CODE MD11?

 

My requirement is when i am trying to create the planned order using MD11 after entering the data Conversion indicator checkbox is set.after saving when i am trying to display created planned order in MD11 then conversion indicator checkbox is not set.

 

please help me.

 

 

Thanks in advance.

How to apply character format in Control Command line in SAPSCRIPT

$
0
0

Hi experts,

 

I want to bold the address title being displayed in the form.

Currently I am using the following code, but the title is not getting displayed as bold.

 

/:  ADDRESS PARAGRAPH AS

 

/:  TITLE       <B>&DKADR-ANRED&</>

 

Kindly help me on how to get the address title displayed as bold.

 

Regards,

Lucy

Common part for multi subcontractor

$
0
0

Dear Experts,

Here is the scenario,

We purchased common part A from vendor X by schedule agreement, and delivery material A to venodr Y and vendor Z for subcontracting.

Vendor Y, semifinish good B:A, BOM: 1:1;

Vendor Z, another semifinish good C:A, BOM: 1:2

 

Let's make an example for my requirement,

requirement for semi B, 1 PC while 2 PC for semi C,

The total requirement for A should be 5 PC, the material A is packed as 3 PC per box from vendor X, and in our plant we will not do any unpacking for this material, we directly ship it to subcontractor.

Here is the question, according to the MRP result, we will get 6PC(2 Box) once we setup min lot size 3PC; but it will be a problem, since the requirement for vendor Y is 1 pc, 1 box needed, vendor Z, 4PC, 2 box is needed.

 

Any solution for this?

Thanks in advance.

KM File Description Issue

$
0
0

Hi Everyone,

 

I am facing a strange problem.

When i Upload a PDF file in to km repository the Description column displays the Total content of the File .

Please help in resolving the issue.

 

Thanks,

Krishna

Activities Note fetch in Erecruitment

$
0
0

Hi

 

Please tell me how to read the Note content under the activities of recruitment, the text we are entering using portal under recruit tab , now i need to read the same in custom report.

Re: Moving from SAP Basis to programming career & back

$
0
0

HI Mohamed

 

In your first post you ended with

 

I guess my Basis Knowledge will help if I wanna move to SAP again after several years.

 

But now you say

That's because i'm 1 year old in SAP. It's not about keeping the door open but will my Basis (technical) experience help in later time - I hope it will or I have to forget about it

Okay, what is your actual motivation here: your don't want a career in SAP or you want a more-fulfilling/future proofing career that gives you longevity and good prospects?

 

You mention that you would "forget about it" if you Basis experience no longer counts? Do you mean no longer counts for non-SAP development work or for a chance to re-enter SAP?

 

Things to consider in the SAP space (and by no means these should be reasons for you to stay)

  • It is very hard to get a level entry position in SAP. You may have experienced a hard recruitment process with lots of competition amongst you peers. If you were fortunate to find a job immediately, considered yourself fortunate compared to some of the posts and questions we get from members in Careers, Training and Certification spaces
  • First year in any job (SAP or other) will be "low hanging", repetitious work. It's all about learning and slowly stepping up to the difficult tasks. It is the same as you must crawl before your you walk and walk before you run. I suspect the same will be with development.
  • SAP (as mentioned by others) does have an area of development and it is a growth market. HANA is a platform is and being marketed to be used with Non-SAP systems so it opens up a heap of other develop opportunities. Having a 1 year Basis could assist transition into SAP development as you understand system architecture and landscape. Also, monitoring performance logs and so on might help you appreciate why/how clean code should be written
  • Leaving SAP market for a few years and returning later may be a bit difficult.Your training may become outdated and you will have competition. I am speculating here. You never know, your newly obtained skills may be complementary to a job back here (again, goes back to original question if you really want to work in SAP)
  • SAP is changing quickly with new products all the time. Development is undergoing an overhaul and Integration of systems (including to non-sap) is challenging work. Basis is part of that.

 

But at the end of the day, if you do not want to work in SAP then your Basis experience is really work experience. You might be able to transition basis to other system administration roles in non-SAP products. However, if you truly want to become a developer then the focus should be on what language(s) you learn.

 

Why do you think SAP is "closed fenced" and what do you mean by this?

 

Regards

Colleen


how to read the Note content under the activities of recruitment,

$
0
0


Hi,


Please tell me how to read the Note content under the activities of recruitment, the text we are entering using portal under recruit tab , now i need to read the same in custom report.

installation of sapcryptolib in AIX 6.1.0.0 issues

$
0
0

Hello all,

 

I am facing one issue in upgrading of sapcryptolib from 5.5.5c p132 to 5.5.5C p138.

 

The procedure i followed went successful 1 one of the systems wherin both sapgenpse command from OS level and as well as ICM trace file from SMICM reflected the new sapcrypto version

 

But in another system, sapgenpse shows the new version that i installed , but ICM trace file shows the earlier version only.

 

Plz note : I have restarted the ICM in both systems, but reflects the new version only in 1 system.

 

Both are AIX 6.1.0.0 systems.

 

I have checked all the paramaters, all are same in both the systems.

 

Can someone please help.

 

Regards,

Vishwanath B

how to read the Note content under the activities of recruitment

$
0
0

Hi,


Please tell me how to read the Note content under the activities of recruitment, the text we are entering using portal under recruit tab , now i need to read the same in custom report.

SWCV from SLD create new version

$
0
0

Dear Experts,

 

I want to confirm something about SWCV, as I read from this link:

http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/6857ad46fb6d13e10000000a1553f6/content.htm

 

It is stated that local SWCV is only for testing purpose. Does it mean that it cannot be transported to production? If I want to create a SWCV that is for production use, should I create the SWCV from SLD and import it?

 

 

Another thing is that, I already have this SWCV MyCompany v1, and there are already interfaces built in that SWCV. Now for the next release, I want to craete MyCompany v2. Will the interfaces in MyCompany v1 can still operating? Or it will overwrite/bring all the interfaces from v1 to v2?

 

 

 

Thank you,

Suwandi C.

Delete all entities of a collection in one statement

$
0
0

Hi All,

 

I have created a web service to create/Update product.

 

Product - Root entity

Features - Child entity ( 0..n)

 

In this I have  to delete all child entities of relation Features and create new entities.

 

lv_feat =  lv_product->get_related_entities ( relation_name = Features ).

               while lv_feat is bound.

                         lv_feat->delete( ).

                         lv_feat = lv_features->get_next( ).

               endwhile.

               lv_bol_core->modify( ).

 

 

loop it_feat into wa_feat.

    lv_product->create_related_entity( relation_name = Features ).

endloop.

 

 

There are more than 200 entities for deletion. And more than 300 entries for creation. This is taking lot of time( more than 10 sec ). How can I improve its performance?

Is there a way to delete all entities in one method call? I am aware of method CLEAR. I think I can't use this in web service. When I used CLEAR method, after executing the LOOP statement I could see both previous and newly created entries in the relation.

 

 

Please provide some suggestions.

 

 

Thanks,

Pallavi

Re: SAP SD Shipment Process

$
0
0

Dear SAM,

 

you can go through the below links which is available in Google . before you post you put some effort and search in google you can get lot of documents which is related to your Quire

 

http://www.slideshare.net/keyurmistry/transportation-chain-shipping-cost-calculation-for-multi-leg-with-different-vendors

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

http://wiki.scn.sap.com/wiki/display/ERPLO/Transportation+Configuration+and+Process+Flow

 

coming to your point you can understand if you go through the document  and you have to configuration setting according to that , here FI integration is must for assigning GL for account key and also MM configuration required for creating PO against transport vendor and service sheet and MIGO is created according to the shipment cost against vendor .

 

before going to configuration you have to finalize the business scenario weather cost is adding to the customer account or it is paying by business like this ?

 

I hope this information can help for you Quire .

 

Regards,

C.B Reddy.

Re: issue with attachment in soap protocol

$
0
0

Hi,

 

Can you try having an entry on the Part column?

test.png

 

Regards,

Mark


Not able to create View Based Generic data source as Base Table field referring other Tables field (Currency/Quantity)

$
0
0

Hi SAP Gurus,

 

I am trying to create a Data source on a View (single database table - RESB) but some of the fields of the table RESB are reference to other tables field likewise RESB field ROANZ is referring to RC29P table's field ROAME.

 

I have created View with only one table i.e. RESB. But as these some of the fields (Referring fields) are not available in Base table RESB, I am not able to create generic data source over this view. I am getting error as below:

 

error 1.JPG

error 2.JPG

 

If anyone has got such issue please guide further and provide solution for the same.

 

Thanks in advance.

 

Best Regards,

Demish Maniyar

How to do sum of inner table when debug

$
0
0

Hi all,

 

     In my SAP ststem, there is no function to do sum for a inner table when debug. I kown thad it can convert inner table data to a ALV report, and do sum in it.

     How to add this function.

     Look at the pic, in other SAP system.

     QQ图片20141219141942.jpg

     in my SAP system,

     1.png

2.png

Re: .isResultSetEmpty function in Design Studio

$
0
0

Hi Karol,

 

Thanks for your response.Perhaps, I have placed the function in this format only - DataSource->onResultSetChanged().

 

Please see the snapshot below.This script is on On select event  of Dropdown "Country".

 

Can it be this 'or' condition that's creating this confusion?

 

IMGScript.png

Synchronization between FI-AA & PM ( Adding Asset Super Number)

$
0
0

Hi All,

 

I have requirement to  move value to Asset Super Class through Eqipment. But all other fields are Sync properly. But ANLUE(Assept super number) not sync . I have created custom include  and i have added ANLUE and same i have configured in SPRO.

 

Can please let me know how can sync and how to pass value to Asset super number via aseet creating through equipment.

Also please let me know how to add code in user exit : EXIT_SAPLAAPM_001 and EXIT_SAPLAAPM_002.

 

This is the right user exit or autamtic sync we need to add some where esle.

 

 

Thanks


Re: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: startIndex

$
0
0

Hi,

 

Please find the respective SAP Note:-

1813537 - EPM General Error - Index was out of range

 

Regards,

Bishwajit

Viewing all 8713 articles
Browse latest View live




Latest Images