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

Re: CRAETE OPERATION USING BAPI_ALM_ORDER_MAINTAIN

$
0
0

Yes, i am not professional  using standard BAPI and how they work.

any way this is error message  for my code.

 

1    E    CP    404    Enter another operation number

2    E    IWO_BAPI2    113    Error  during processing of BAPI methods

 

DATA wa_header_up TYPE bapi_alm_order_headers_up.
 DATA itab_header_up TYPE TABLE OF bapi_alm_order_headers_up.
 DATA wa_operation_up TYPE bapi_alm_order_operation_up.
 DATA it_operation_up TYPE TABLE OF bapi_alm_order_operation_up.
 data:        IT_PLANT TYPE STANDARD TABLE OF  BAPI_ALM_ORDER_HEADERS_I-PLANPLANT, "HADY PLANT        WA_PLANT LIKE LINE OF IT_PLANT,
 it_methods type standard table of bapi_alm_order_method,
 wa_methods like line of it_methods,
 it_header type standard table of bapi_alm_order_headers_i,
 wa_header like line of it_header,
 it_header_up type standard table of bapi_alm_order_headers_up,
 it_header_srv type standard table of bapi_alm_order_srvdat_e,
 it_header_srv_up type standard table of bapi_alm_order_srvdat_up,
 it_userstatus type standard table of bapi_alm_order_usrstat,
 it_partner type standard table of bapi_alm_order_partn_mul,
 wa_partner like line of it_partner,
 it_partner_up type standard table of bapi_alm_order_partn_mul_up,
 it_operation type standard table of bapi_alm_order_operation,
 wa_operation like line of it_operation,
 *it_operation_up type standard table of bapi_alm_order_operation_up,
 it_relation type standard table of bapi_alm_order_relation ,
 it_relation_up type standard table of bapi_alm_order_relation_up ,
 it_component type standard table of bapi_alm_order_component,
 wa_component like LINE OF it_component,
 it_component_up type standard table of bapi_alm_order_component_up,
 it_text type standard table of bapi_alm_text,
 it_text_lines type standard table of bapi_alm_text_lines,
 extension_in type standard table of bapiparex,
 return type standard table of bapiret2,
 wa_return like line of return,
 et_numbers type standard table of bapi_alm_numbers,
 wa_numbers like line of et_numbers.
 wa_methods-refnumber = 1.
 wa_methods-objecttype = 'OPERATION'.
 wa_methods-method = 'CREATE'.
 wa_methods-objectkey = ORDERNO..
 APPEND wa_methods TO it_methods.  wa_methods-refnumber = 1.  wa_methods-objecttype = ' '.  wa_methods-method = 'SAVE'.  wa_methods-objectkey = ORDERNO.  APPEND wa_methods TO IT_methods.  wa_header-orderid = ORDERNO.  wa_header-order_type = 'ZSM2'.  wa_header-mn_wk_ctr = 'HAHV'.
 * WA_HEADER-EQUIPMENT = '000000000010008442'.  WA_HEADER-EQUIPMENT = '000000000010007275'.  wa_header-start_date = '20150218'.  wa_header-FINISH_DATE = '20150218'.  wa_header-short_text = 'HEADER'.  wa_header-NOTIF_NO = '300002927'.  APPEND wa_header TO IT_header.  wa_header_up-mn_wk_ctr = 'X'.  WA_HEADER_up-EQUIPMENT = 'X'.  wa_header_up-start_date = 'X'.  wa_header_up-short_text = 'X'.  APPEND wa_header_up TO itab_header_up.  wa_operation-activity = '0010'.  WA_OPERATION-WORK_CNTR = 'HAHV'.  wa_operation-control_key = 'SM01'.  wa_operation-plant = 'BC20'.  WA_OPERATION-DESCRIPTION = 'OPERATION DESCRIPTION'.  APPEND wa_operation TO IT_operation.  wa_operation_UP-activity = 'X'.  WA_OPERATION_UP-WORK_CNTR = 'X'.  wa_operation_UP-control_key = 'X'.  wa_operation_UP-plant = 'X'.  wa_operation_UP-description = 'X'.  APPEND wa_operation_up TO IT_operation_up.     wa_methods-refnumber = '000001'.     wa_methods-objecttype = ''.     wa_methods-method = 'SAVE'.     wa_methods-objectkey =  ORDERNO.     append wa_methods to it_methods.     clear wa_methods.
 *-- Header Mapping
 *    clear wa_header.     wa_methods-refnumber  = '000001'.                    " Component - 1     wa_methods-objecttype = 'COMPONENT'.     wa_methods-method     = 'CREATE'.     wa_methods-objectkey  = ORDERNO.     append wa_methods to it_methods.     clear wa_methods.     wa_component-ACTIVITY                      = '0010'.     wa_component-material                      = 'TY-120'.     Wa_component-item_cat                      = 'L'.     wa_component-unload_pt                     = 'XXX'.     wa_component-requirement_quantity          = '4'.     wa_component-planT          = 'BC20'.     append wa_component to it_component.     clear wa_component.     refresh return.
 BREAK ABAPTEAM.     refresh return.     call function 'BAPI_ALM_ORDER_MAINTAIN'       TABLES         it_methods       = it_methods         it_header        = it_header         it_header_up     = it_header_up         it_header_srv    = it_header_srv         it_header_srv_up = it_header_srv_up         it_userstatus    = it_userstatus         it_partner       = it_partner         it_partner_up    = it_partner_up         it_operation     = it_operation         it_operation_up  = it_operation_up         it_relation      = it_relation         it_relation_up   = it_relation_up         it_component     = it_component         it_component_up  = it_component_up         it_text          = it_text         it_text_lines    = it_text_lines         extension_in     = extension_in         return           = return         et_numbers       = et_numbers.  DATA : XX TYPE I VALUE 0.     loop at return into wa_return.       IF WA_RETURN-TYPE = 'S'.         FLAG = 1.         ELSE.         FLAG = ''.         write:/   WA_RETURN-MESSAGE.       ENDIF.     endloop.     call function 'BAPI_TRANSACTION_COMMIT'       EXPORTING         wait = 'X'.     CALL FUNCTION 'DEQUEUE_ALL'       EXPORTING         _SYNCHRON = 'X'.     commit work and wait.

ChaRM configuration in solman 7.1

$
0
0

Dear Experts,

 

I am configuring solman 7.1, I have completed up to technical monitoring.Now i am in ChaRM configuration i completed 2 steps. But i am not getting how to perform the other steps(copy transaction types, TMS configuration etc...), I checked in google but it is not clear. Any one please share the ChaRM configuration documents. I am struggling from last one month for this.

 

Please send the documents to my mail ID pthavaheer@gmail.com

 

Thanks in advance.

 

Regards,

Patan Thavaheer.

Appraisal template standard buttons not working via ESS/MSS

$
0
0

Hi experts,

 

While viewing appraisal template's web layout in t-code PHAP_CATALOG_PA.

I am facing following script error.

This error reappears when I click on any standard button For eg SAVE

Because of this error I am not able to navigate when I click any standard button on ESS/MSS.

Kindly let me know how can I resolve this error.

 

appraisal template pushbutton error.JPG

 

Thanks in advance

Re: using single Datasource to connect multiple charts with different dimension

$
0
0

Hi Gurus,

 

It was very helpful to have all the experts share their views,  so as of now If I  want to use two charts with  different dimension having same connection then I have to create two connections.

 

recently we are checking these options in Design studio 1.4 , I came across the functionality of using setDimension() in the below link

 

http://visualbi.com/blogs/design-studio/sap-design-studio-1-4-whats-new-apis/

 

pls share your views can I use this for my requirement.

 

Regards

Bala

Re: Suppressing the field in DMEE which is blank

$
0
0

I would also not use an ABAPer than go as mentioned by or generally with the DME workbench maintenance tools. There is a lot possible. Maybe when special solution or requirement by bank you create a customer namespace copy and remove the field (maybe ABAPer work but practical also config type of).

Re: Fragments with their own controller - Initiated by a XML VIew

$
0
0

I must admit I have never tried calling a Fragment with a separate controller (i.e. other that the controller of the view the fragment is called from)

 

But for nesting views, you could use this:

 

 

<mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" controllerName="ViewController">    <Page>        <content>        <mvc:XMLView id="nestedView" viewName="com.biz.views.NestedView"></mvc:JSView>        </content>    </Page></mvc:View>

Or, alternatively (if you need a different controller for the nested view):

 

 

<mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" controllerName="ViewController">    <Page>        <content>        <mvc:XMLView id="nestedView" viewName="com.biz.views.NestedView" controller="someOtherController"></mvc:JSView>        </content>    </Page></mvc:View>

Re: Issues not being addressed

Re: Como migrar partidas em aberto com imposto retido (acumulado) no pagamento via FI?

$
0
0

Bom dia, Soraria.

 

Quando vc faz a carga pela transação  FB01(bacth input) o campo BASE IRF( AWT_BS1 ) tem que ser preenchidos para SAP calcular os impostos. Se esse campo estive com (zero) não será descontado imposto no pagamento.

 

Campo BASE IRF( AWT_BS1 )  preenchido deduz impostos.

 

ARTUR2.png

 

 

Campo BASE IRF( AWT_BS1 )  zerado não deduz impostos.

ARTUR1.png

 

Existem alguns pré-requisitos para a retenção no pagamento.

  1. Os fornecedores estarem com flag de impostos marcados.
  2. As configurações de impostos configurados SPRO para reter no pagamento
  3. Conceitos de Impostos Retidos na Fonte (MP135 e LC116) http://scn.sap.com/docs/DOC-25761

 

Um Abraço

Artur


Re: Service Desk Management

Re: File to IDOC scenario queury

$
0
0

Hi Shubhani the links which you provided where I need to perform those in ECC system or PI system.

 

Configuring SAP for Inbound and Outbound Processing

 

Thanks

G V Anil

Is it good to do MBA after some experience as an SAP ABAP consultant ?

$
0
0

My aim is to become a project manager (preferably in SAP ABAP) one day so, If I have 2 years of experience as an SAP ABAP consultant is it better to go for MBA ? or should I go for a technical course like MCA or MS to achieve my goal ?

Re: Replace Cost Center in Goods Receipt

$
0
0

How can a receiver in the warehouse know the cost center?

Why don't you change it in the place where the cost center is entered: the purchase order?

Re: Unable to generate the output for S_ALR_87012048

$
0
0


Hello Mahmoud EL Nady ,

 

I have gone through the links provided in your reply. I will check if there are any authorization related issue.

 

If we don't found any authorization related issue, we need to suggest the reporting date.

 

Since period 1 (last day is 25th Jan 2015) was already closed in the system, So do I need to suggest the user to run this report with last day of 2nd period (22nd Feb 2015) or last day in the fiscal year (31st Dec 2015).

 

Thanks in advance

Prasad

Re: User Group Customization override in Web Intelligence.?

$
0
0

Hi Sofie ,

In BO always Grant +Denied =Denied .

You need to change security at group level itself .Why the user is present in 2 groups ? If it is because data security and access security ,have  2 custom access levels and assign them accordingly.

Or

uncheck the group inheritance at user level.

Re: Navigate to Package from Code Inspection results

$
0
0

Take a look at

CL_CI_RESULT_ABAP_COMPLEXITY and

CL_CI_TEST_ABAP_COMPLEXITY

 

In the test class the method GET_RESULT_NODE binds it to the RESULT class. Then the NAVIGATE method is implemented in the RESULT class. Use the parameters to transfer additional information to the result class.


Re: UpdateFromXML() not able to update Business Partner Data

$
0
0

Hi Saurav,

what you are trying won't work like that. The problem is that you need to send the whole bp xml in order to update  - it is not incremental. Imho the "easiest" in your case would be to use first GetByKey and GetAsXML methods of bp object and change/manipulate the xml accordingly -> UpdateFromXML.

 

 

regards,

Maik

Re: what is control sap and master sap?

$
0
0

Hi Krishnendu,

I think this concept will get in pp-pi. Linking with PI Sheet concept. I have searched in google and not getting clarity on the topic. i need brief introduction regarding the control sap. So Based on that i can go more on this.

 

 

Regards,

Peddi.

Re: which module should i select

$
0
0

If you are  Abap developer why don't you try to get in SAP HANA Module. I hear any Abap have more oportunity for a job.

Re: SAP BI - OLAP variable in DTP unable to read from input ready variable in query

$
0
0

Hello Anjalee,

I'm afraid it won't work since reading variable Y in Customer Exit (CE) is user-specific and DTP is run under a system-user (BWREMOTE or so). Thus, CE is trying to get values of a var Y entered by your system-user and consequently, gets no value. If you can organize your Var-value to be stored in access for all users (Z-table or Info-object MD for instance) this can work. Otherwise you'll have to use ABAP-coding instead of OLAP Vars OR try to make use of Info-Package (the pre-Netweaver type R3TR ISIP) in dialog mode  instead of DTP.

Regards,

Nastya

Re: I am filling the data on excel but i want it to open rather download, how can i do that?

$
0
0

hi yash,

 

you can try to use OLE method to open excel file

 

An example can be as follows:

 

create object xlapp 'EXCEL.APPLICATION'.

call method of xlapp 'Workbooks' = xlbook.

call method of xlbook 'Open' exporting #1 = (filen_name).

call method of xlapp 'Worksheets' = xlsheet exporting #1 = (sheet_name).

call method of xlsheet 'Activate'.

call method of xlsheet 'Cells' = scell exporting #1 = zrow

                                                                     #2 = zcolumn.

get property of scell 'Value' = val. " this is the value.

free object scell.

Viewing all 8927 articles
Browse latest View live


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