Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all 8768 articles
Browse latest View live

Problem when uploading huge data in MM01 using LSMW Direct Input method

$
0
0

Hello Experts,

 

I am facing problem when uploading huge data to create a material using LSMW Direct input method. I got too many logical errors (in terms of business processes) maximum was 100.

 

How to avoid this error?


ME_GUI_PO_CUST - How to implement custom header fields

$
0
0

I created an implementation for the badi ME_GUI_PO_CUST.

 

I see my custom fields in the custom tab that I created. I am not able to save custom fields data to the database ( EKKO ).

 

I used the method SET_DATA of IF_PURCHASE_ORDER_MM to save the custom fields but nothing is saved.

 

Any help is greatly appreciated.

 

Thanks,

 

Vijay

a way to archive data from a database table?

$
0
0

Hi all,

 

i read data from a database table into an internal table for some evaluation. Each time after the evaluation I had a line to the table. There is a counter ( i.e a row type i) and when it has a certain value I need to empty the database table and start counting from 1. I would like to archive the data in another table after emptying the original table every time. Is it a good way to do this? Which table type should I use to archive. The data will increase each time. It is about 10000 data to save every time i empty the table.

 

Thanks for your help.

BAPI_PO_CREATE1 Extensions warming message

$
0
0

Dear all,

 

Please help me with such issue.

 

I'm creating a Purchase order using BAPI_PO_CREATE1. My problem  is that at the end of process I"m getting warning message:

 

Error transferring ExtensionIn data for enhancement CI_EKPODB. How can I avoid output of this message and why I at all have it, because I'm not transferring any extensions to the BAPI_PO_CREATE1.

 

CALL FUNCTION 'BAPI_PO_CREATE1'

     EXPORTING

       poheader                     = poheader

       poheaderx                    = poheaderx

    IMPORTING

      exppurchaseorder              = exppurchaseorder

      TABLES

        return                      = lt_return

        poitem                      = lt_poitem

        poitemx                     = lt_poitemx

        poschedule                  = lt_poschedule

        poschedulex                 = lt_poschedulex.

Experience with UPX Squeezed RFC Library

$
0
0

Hello community,

 

to minimize transport volume I want to compress the SAP NetWeaver RFC Libraries with Ultimate Packer fox Executables (UPX).

Has anyone had experience with this? Myfirsttests wereallvery good and Idid not detectdivergent behavior.

 

Thanks for hints.

 

Cheers

Stefan

Not Commit trans with BAPI bapi_exchangerate_create

$
0
0

Hi,

I'm designingan interface with theexchange rate,performed thetransactionbutdoes not recordthe record,when I runthe test fromSM37"BAPI_EXCHANGERATE_CREATE" and "BAPI_TRANSACTION_COMMIT"

 

 

Datos to Entry:

-<messages>

-<BAPI_EXCHANGERATE_UPDATE_invoke_InputVariable>

-<part name="parameters" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-<BAPI_EXCHANGERATE_UPDATE_invoke xmlns="http://srv.ctc.soa.sap.apps.cya.com/">

<SERIE xmlns="">

SF43718

</SERIE>

<VALID_FROM xmlns="">

2013-08-05T00:00:00.000-05:00

</VALID_FROM>

<EXCH_RATE xmlns="">

12.6759

</EXCH_RATE>

</BAPI_EXCHANGERATE_UPDATE_invoke>

</part>

</BAPI_EXCHANGERATE_UPDATE_invoke_InputVariable>

 

 

Datos de Retorno de SAP:

-<BAPI_EXCHANGERATE_UPDATE_invoke_OutputVariable>

-<part name="parameters" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-<BAPI_EXCHANGERATE_UPDATE_invokeResponse xmlns="http://srv.ctc.soa.sap.apps.cya.com/">

-<BAPI_EXCHANGERATE_UPDATE_response xmlns="" xmlns:ns0="http://www.cyamoda.com">

<ns0:field/>

<ns0:fromCurrency>

USD

</ns0:fromCurrency>

<ns0:id>

E!                       <-- Is the same message from GUI SAP

</ns0:id>

<ns0:logMsgNo>

0

</ns0:logMsgNo>

<ns0:logNo/>

<ns0:message>

Registrationis provided atablefor updating  <-- and message it's too

</ns0:message>

<ns0:messageV1/>

<ns0:messageV2/>

<ns0:messageV3/>

<ns0:messageV4/>

<ns0:number>

5

</ns0:number>

<ns0:rateType>

M

</ns0:rateType>

<ns0:row>

0

</ns0:row>

<ns0:system>

CYADE6_100

</ns0:system>

<ns0:toCurrency>

MXP

</ns0:toCurrency>

<ns0:type>

I

</ns0:type>

</BAPI_EXCHANGERATE_UPDATE_response>

</BAPI_EXCHANGERATE_UPDATE_invokeResponse>

</part>

</BAPI_EXCHANGERATE_UPDATE_invoke_OutputVariable>

</messages>

Run time error CALL_FUNCTION_NOT_FOUND in AW01N

$
0
0

Hi All,

 

While running AW01N we are getting this dump CALL_FUNCTION_NOT_FOUND.

 

In description in ST22 it is showing that function module FI_AA_VALUES_CALCULATE was called but can not be found in library.

 

I also checked in SE37 and function module exists.

 

Can you please help . Let me know if someone else has got the same dump.

 

I also checked with the roles of user, Everything is fine from Authorization perspective.

 

 

Regards,

Shyam Goyal

BOM Costing on the Sales Order

$
0
0

Hello Experts,

 

We have an issue with costing a configurable product via sales order entry.  We create a quote or order (VA21/VA01) for a configurable product which contains lower level configurable parts.  When we save the order, the order is costed correctly – it contains all items.  We can see this when you run VA23 or VA03 to view the costing.  If you are in change mode (VA22 or VA02) and want to re-launch costing, the lower level configurable parts are not considered – they do not show up on the screen.  If we run CK51N for the same quote or order to create costing, all items are being considered.  Is there some type of configuration for sales order costing that we are missing?  Why do the lower level items show up in display mode or when running CK51N directly and not when we are in change mode?

 

Thanks in advance for the help.

 

Laura


Vendor Master Contact Creation BAPI

$
0
0

Hi All

 

I am trying to create a vendor contact upload program but I am having trouble with the BAPI I have. It seems like it works for update but I want to create a new contact.

 

 

 

BAPI_ADDRESSCONTPART_GETDETAIL and BAPI_ADDRESSCONTPART_CHANGE is complaining because I haven't filled out the importing parameter obj_id_p which requires the partner number (which obviously doesn't exist yet)

 

Does anyone know of the correct BAPI to use to insert new contacts for Vendor? Am I using this BAPI wrong?

 

I receive this error:

           E AM                   165

Specify person object type and key

 

COde:

 

  ls_bapi_ct-objtype_p = 'BUS1006001'.
  ls_bapi_ct-objkey_p = t_vend-parnr.
  ls_bapi_ct-objtype_c = 'LFA1'.
  ls_bapi_ct-objkey_c = t_vend-lifnr.
  ls_bapi_ct-context = '5'.

  CALL FUNCTION 'BAPI_ADDRESSCONTPART_CHANGE'
    EXPORTING
      obj_type_p     = ls_bapi_ct-objtype_p
      obj_id_p       = ls_bapi_ct-objkey_p
      obj_type_c     = ls_bapi_ct-objtype_c
      obj_id_c       = ls_bapi_ct-objkey_c
      obj_id_ext     = ' '
      context        = ls_bapi_ct-context
      accept_error   = ' '
    IMPORTING
      address_number = ls_bapi_ct-addr_no
      person_number  = ls_bapi_ct-pers_no
    TABLES
      bapiad3vl      = t_bapiad3vl
*     bapiadtel      = t_bapiadtel
*     bapiadfax      = t_bapiadfax
      bapiadsmtp     = t_bapiadsmtp
*     bapiaduri      = t_bapiaduri
      bapicomrem     = t_bapicomrem
      bapiad3vl_x    = tx_bapiad3vlx
*     bapiadtel_x    = tx_bapiadtelx
*     bapiadfax_x    = tx_bapiadfaxx
      bapiadsmt_x    = tx_bapiadsmtx
*     bapiaduri_x    = tx_bapiadurix
      bapicomre_x    = tx_bapicomrex
      return         = t_ret.

Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED

$
0
0

Hi,

 

When I am trying to edit the address for accounts in SAP CRM.

I am getting the below error.

 

Category               ABAP Programming Error

Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED

ABAP Program           CL_BP_ADDR_ACCOUNTADDRES1_IMPLCP

Application Component  CRM-MD-BP

 

Short text
    Access via 'NULL' object reference not possible.

 

 

In class CL_BP_ADDR_ACCOUNTADDRES1_IMPLCP inside the method  the address_property value is filled empty. Its a standard code.

 

 

METHOD eh_oncheck_popup_closed.

 

 

lr_address_property = me->typed_context->address->collection_wrapper->get_current( ). is empty.

 

.

 

Please help me to resolve this issue.

 

Thanks,

Anu

Number of entries in a list box in modulepool?

$
0
0

Hi Experts,

 

 

I have created a field and its domain with 243 fixed values.I am using this field in modulepool programming for list box.But it is not showing any value.

Another field having less than hundred entries is showing the values.Kindly anyone tell me is there any limition for no of items in listbox.

 

 

Thanks in Advace.

 

Anusha.B

How to find out the first run of the Program

$
0
0

Hello Experts,

 

I have a requirement to add the date condition wherein :

1) Consider LE sy-datum for the first run

2) Consider EQ sy-datum for rest of the runs/execution of the program.

 

Please help me on how to find out the First Run of the Program?

I searched SCN but didnt find any relevant posts.

 

Appreciate your help.

 

Thanks & Regards,
Sowmya

ACH Nacha File Creation for US Bank

$
0
0

Hi All Experts,

 

 

Do any one know how to develop ACH Nacha file for US Bank with the specification the bank provided.

I know there is a program RFFOUS_T which is used for ACH Nacha file creation. Can any one direct me how to configure it or where to specify the bank specific details in the above program or which user exit may be used to achieve ACH Nacha file.

 

 

Thanks

Ravi

BAPI_SALESORDER_CHANGE update conditions doesn't modify pricing

$
0
0

Hello Experts,

 

I've trying to use BAPI_SALESORDER_CHANGE to update pricing information on sales orders. However, I keep getting the following error.

 

I V1               739 Field 'FAKSK' cannot be changed, VBAKKOM 7370429265  ready for input
E V4               219 Sales document 7370429265 was not changed

 

For reference here is the data I'm passing to BAPI.

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

*Fill headers

  lv_vbeln = '7370429265'.

  order_header-bill_block = 'Y3'.

  order_header-ref_doc_l = '7370429265'.

  order_header-currency  = 'CAD'.

    append order_header.

  order_header_idx-updateflag = 'U'.

  order_header_idx-bill_block = 'X'.

    append order_header_idx.

 

*Fill Item

  order_item-itm_number = '000001'.

  order_item-po_itm_no = '1'

  order_item-material   =  '202'.

  append order_item.

 

*Fill Partners

  order_partners-partn_role = 'SP'.

  order_partners-partn_numb = '6402174'.

  order_partners-itm_number = '000001'

    append order_partners.  

 

*Fill Conditions. 

  order_pricing_condition-itm_number = '000001'.

  order_pricing_condition-cond_type  = 'JRC5'.   "

  order_pricing_condition-cond_value = '20.00'.

  order_pricing_condition-currency   = 'CAD'.

    append order_pricing_condition.

  order_pricing_condition_idx-itm_number = '000001'.

  order_pricing_condition_idx-cond_type  = 'JRC5'.

  order_pricing_condition_idx-updateflg = 'U'

  order_pricing_condition_idx-cond_value = 'X'.

  order_pricing_condition_idx-currency   = 'X'.

    append order_pricing_condition_idx.

 

  call function 'BAPI_SALESORDER_CHANGE'

    exporting

      salesdocument              = lv_vbeln

      order_header_in             = order_header

      order_header_inx           = order_header_idx

      SIMULATION                 = 'X'

*     BEHAVE_WHEN_ERROR           = ' '

*     INT_NUMBER_ASSIGNMENT       = ' '

*     LOGIC_SWITCH                =

*     NO_STATUS_BUF_INIT          = ' '

    tables

      return                      = it_return

      order_item_             = order_item

*     ORDER_ITEM_INX              =

     partners                    =  order_partners

*     PARTNERCHANGES              =

*     PARTNERADDRESSES            =

*     ORDER_CFGS_REF              =

*     ORDER_CFGS_INST             =

*     ORDER_CFGS_PART_OF          =

*     ORDER_CFGS_VALUE            =

*     ORDER_CFGS_BLOB             =

*     ORDER_CFGS_VK               =

*     ORDER_CFGS_REFINST          =

*     SCHEDULE_LINES              =

*     SCHEDULE_LINESX             =

*     ORDER_TEXT                  =

*     ORDER_KEYS                  =

     condition_in               = order_pricing_condition

     conditions_inx           = order_pricing_condition_idx

*     EXTENSIONIN                 =.

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

 

Can anybody see If I'm making any mistake or something is missing and rectify it, please?

 

Many thanks in advance.

How to calculate Landed Cost for a Material in PO

$
0
0

Hi,

 

I have developed module pool programming for generating GRN,in that i displayed Net price of a material,but now i want to replace net price with landed cost,how to calculate landed cost for a material in Purchase Order(ME23N) instead of displaying Net price in my Module Pool Programming.Please help me.

 

 

 

 

 

Thanks


predective analysis issue in hana

$
0
0

Hi,

Whenever a user try to create a new report through new document tab in hana, it is throwing below attached  error -

 

Please advice regarding this , how to troubleshoot it.

LIV cancellation through IDoc with tcode MR8M?

$
0
0

Hi All,

 

Currently i have configured the EDI-IDoc set up for LIV creation and cancellation from Respective billing documents.

 

Below are the details of IDoc:

IDoc Type        :  INVOIC01
Message Type :  INVOIC MM

Process code  :  INVL

 

The LIV documents are creating properly.

 

But the document generated for cancellation is not clearing the LIV document, instead it is posting a reversal entry.

i.e, it is creating a new LIV document using MIRO instead of cancelling the previous document through MR8M.

 

Now the requirement is the cancellation document need to cancel the original LIV document through MIRO?


Is there any way we can achieve this with standard SAP or using Enhancements?

 

Thanks,
Vamshi

Customer/Vendor Ledger Reports

$
0
0

Hi Experts,

 

The client wants the customer and vendor ledger reports. The FBL1N and FBL5N shows the correct balance. But the problem is that it does not show the DR and CR balance separately. Is it possible in standard itself to divide the 'Amount in local currency' in two different balances as debit and credit.

 

I would request the experts to guide me as how can I show the total debit and credit balance of a particular customer/vendor in a particular date? Or should I have to create a customized one from the scratch?


 

 

Regards

Mani

Hierarchy drilldown U&E Coverage check in the compliance workbench - SAP EHS

$
0
0

Hi all,

 

I've got a problem and that is when executing the REACH Use Coverage check, the uses from the final product needs to be copied to the relevant components.

The standard SAP program will check if everything is the same. i.e. Main User Group, ERC, PROC but now I must change this standard comparison so that the program will look if everything is the same EXCEPT for the PROC, here I must do a new check and that is a check where we look if the PROC is in a group and the component is in the same group but a level higher, we must NOT copy the use.

This is the global problem, but I think i need to make an enhancement spot or something but I can't find where the SAP program does the original comparison?

I've found a FM in that check which may be usefull: - /TDAG/CP_CK3N_CHECK_REACH_UCOV

Also, I debugged the program and found this: - the USE from the final product is read in the "read toplevel use" and where the copying finds place is :

/TDAG/CP_CK3N_UCOV -> L_DRILLDOWN_USES (line 528)

 

So, can anyone help me finding where the comparison is done, or what I can do because I can't make any further progress now....

 

Kind regards,

Jonas


    

plz give me correct solution

$
0
0

hi experts  ,

 

i want to read the application server file into internal table

so what i use code like that

DATA: WA_STRING(255) TYPE C.

 

DATA : DEL TYPE C VALUE '#'.

TYPES: BEGIN OF T_UPLOADTXT,

          EBELN(10) ,

          EBELP(5)  ,

          KSCHL(4)  ,

          KWERT(13)  ,

         WAERS(5)  ,

  END OF T_UPLOADTXT.

TYPES: BEGIN OF T_RECORD,

        EBELN LIKE  EKPO-EBELN ,

        EBELP LIKE  EKPO-EBELP ,

        KSCHL LIKE  KONV-KSCHL ,

        KWERT LIKE  KONV-KWERT ,

        WAERS LIKE  KONV-WAERS ,

     END OF T_RECORD.

 

 

*****************************

 

 

 

 

 

OPEN DATASET P_FILE  FOR INPUT IN TEXT MODE ENCODING DEFAULT.

   DO.

     READ DATASET P_FILE  INTO WA_STRING.

     IF SY-SUBRC NE 0.

       EXIT.

     ELSE.

 

       SPLIT WA_STRING AT '#' INTO TABLE IT_UPLOADTXT  IN CHARACTER MODE.

 

       move-corresponding it_uploadtxt  to  wa_record .

         APPEND WA_RECORD TO IT_RECORD.

       CLEAR WA_RECORD .

   ENDIF.

   ENDDO.

 

   CLOSE DATASET P_FILE.

 

but in debug mode  string contain unnessary # element i attach debug mode string

 

so plz guide me .......

Viewing all 8768 articles
Browse latest View live


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