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

Re: delete data from missed change log

$
0
0

Hi Babu,

 

you suggest decision which is suitable only for normal situations, but it's not my case)

 

All difficulty is that actual table for change log of DSO is /BIC/B0015730000 and it's different from /BIC/B0000804000, which I meant in my message. DSO is empty and /BIC/B0015730000 is empty too.

 

I can't get access to change log which table is /BIC/B0000804000 by standart tools. I can only open table /BIC/B0000804000 in SE16.


This is erroneous change log in my opinion. Last request is from 2009 year. And in 2009 we had migrated our BW system.

 


Re: Shipment : Assign Purchase Order Type Configuration/User Exit

$
0
0

Hi Trevor,

 

check oss note 506605 you´ll find the report and function modules used. Check with an abaper.

 

Regards,

JM

Re: Tcode for loggin

Re: Phase out settings at a higher level such as brand or major customer

$
0
0

Hi Stephen,

Life cycle planning works only at the detail level (each CVC), the option of aggregate planning is helpful if you want to phase in or out a certain CVC when you are forecasting at the aggregate level.

One option is that you should have all products in the "profile assignment for life cycle " section which falls under that brand and customer. you can maintain a file and then automate the upload process in to the "assignment"

or

you can try to use the copy functionality in the realignment (/SAPAPO/RLGCOPY) , where you maintain copy factor as NIL and when the stat fcst is generated, you can use this as the next step to zero out -but you would need to maintain them manually.

or

easiest and safest wayy would be create a selection for those combination and do not include them in the planning job for stat fcst.

or

you can build a customised program to access the PA, PB, Data view and input the selection to zero out the stat fcst KF for that particular selection after the stat fcst run. here you would need to check if the diaggregated values are good enough.

 

hope it helps.

SAP BCM How to set up IVR to call any extension number

$
0
0

Hi Experts,

 

How to set up IVR to call any extension number .

For example , audiomessage in IVR says : "if you know the personal employee number, press * and enter the number" , then customer

enter phone number and this call is redirected to this extension number .

 

If you offer an example, I will be very grateful .

Re: Is it possible to see User define field in marketing document rows at the journal entry or at the General ledger report?

$
0
0

Hi,

 

Please post 3 Screenshot(Invoice UDF,Journel Entry UDF,Reference Field Links Screen).

 

Thanks,

Nithi

MD61 Upload program using bapi

$
0
0

Hi Abapers ,

                  I have created a upload program for MD61 using BAPI .

But the problem is it is uploading only the last record in the MD61 application .

Code is below as follows

 

 

 

REPORT zpp_md61_upload NOSTANDARDPAGE HEADING.


TYPE-POOLS : truxs .


TYPES : BEGINOF t_excel_data ,    " structure for excel

           planno    TYPE pbdnr ,    " req Plan no
           werks     TYPE werks_d ,   " Plant
           date_type TYPE entlu ,   " Period(date type)
           matnr     TYPE matnr ,    " material
           pquan     TYPE plnmg ,   " planned quantity
           req_type  TYPE bedae ,   " Requirement type
           date      TYPE edatu ,    " date
           version   TYPE versb ,    " vrsion

         ENDOF t_excel_data .


DATA : gs_req_item TYPE bapisitemr ,
        gs_items    TYPE bapisshdin ,
        gt_req_item TYPETABLEOF bapisitemr ,
        gt_items    TYPETABLEOF bapisshdin .

DATA : gt_return LIKE bapiret1 OCCURS0WITHHEADERLINE.

DATA: gs_excel_data TYPE t_excel_data, " work area for  excel data
       gt_excel_data TYPETABLEOF t_excel_data, " internal dataa for excel data
       gt_raw_data   TYPE truxs_t_text_data .   " raw data .

DATA: gs_excel_data1 TYPE t_excel_data, " work area for  excel data
       gt_excel_data1 TYPETABLEOF t_excel_data. " internal dataa for excel data
"SELECTION-SCREEN
SELECTION-SCREEN : BEGINOFBLOCK b1 WITHFRAMETITLEtext-001 .
PARAMETERS : p_file TYPE rlgrap-filename OBLIGATORY.  " file name
SELECTION-SCREEN : ENDOFBLOCK b1 .

" f4 help event

AT SELECTION-SCREENONVALUE-REQUEST FOR p_file .
   PERFORM f4_filename . "subroutine to perform f4 help


START-OF-SELECTION .

   PERFORM upload_excel . "subroutine to uplaod excel file .
   PERFORM req_create .   " subroutine for using bapi to update md61 .



*&---------------------------------------------------------------------*
*&      Form  F4_FILENAME
*&---------------------------------------------------------------------*

FORM f4_filename .

   CALLFUNCTION'F4_FILENAME'  " function module to perform f4 help
     IMPORTING
       file_name = p_file.
   .


ENDFORM.                    " F4_FILENAME

*&---------------------------------------------------------------------*
*&      Form  UPLOAD_EXCEL
*&---------------------------------------------------------------------*

FORM upload_excel .
   REFRESH gt_excel_data .
   IFNOT p_file ISINITIAL .
     CALLFUNCTION'TEXT_CONVERT_XLS_TO_SAP'   " Function module to upload excel data into internal table
       EXPORTING
*       I_FIELD_SEPERATOR    =
         i_line_header        = 'X'
         i_tab_raw_data       = gt_raw_data
         i_filename           = p_file
       TABLES
         i_tab_converted_data = gt_excel_data
       EXCEPTIONS
         conversion_failed    = 1
         OTHERS               = 2.
     IF sy-subrc <> 0.
       MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
     ENDIF.
   ENDIF.

ENDFORM.                    " upload_excel

*&---------------------------------------------------------------------*
*&      Form  REQ_CREATE
*&---------------------------------------------------------------------*

FORM req_create .

* Constants for period indicator
   CONSTANTS  : c_c TYPEcVALUE'C'" Calender Format
                c_k TYPEcVALUE'K'" Calender Format
                c_p TYPEcVALUE'P'" Period Format
                c_d TYPEcVALUE'D'" day
                c_m TYPEcVALUE'M' . " month
   CONSTANTS : c_1 TYPEcVALUE'1'" Day
               c_2 TYPEcVALUE'2'" Week
               c_3 TYPEcVALUE'3'" Month
               c_4 TYPEcVALUE'4'" Posting period
               c_5 TYPEcVALUE'5'" Planning Calender Period

   REFRESH : gt_items , gt_excel_data1 .

   gt_excel_data1[] = gt_excel_data[].
   SORT gt_excel_data1 BY  planno werks date_type matnr.

   DELETEADJACENTDUPLICATESFROM gt_excel_data1 COMPARING planno werks date_type matnr .

*  LOOP AT gt_excel_data1 INTO gs_excel_data1.

     LOOPAT gt_excel_data INTO gs_excel_data
                                             .


       CASE gs_excel_data-date_type.

         WHEN c_c OR c_k OR c_p.
           gs_excel_data-date_type = c_5.
         WHEN c_d .
           gs_excel_data-date_type = c_1.
         WHEN c_m.
           gs_excel_data-date_type = c_3.
         WHENOTHERS.
           gs_excel_data-date_type = c_2.
       ENDCASE.

* Req Items

       gs_req_item-material = gs_excel_data-matnr .     " Passing MAterial to req items in Bapi from excel IT
       gs_req_item-plant = gs_excel_data-werks .        " Passing MAterial to req items in Bapi from excel IT
*    gs_req_item-version = gs_excel_data-version .
       gs_req_item-req_number = gs_excel_data-planno .  " Passing requirement Plan no to req items in Bapi from excel IT
       gs_req_item-requ_type  = gs_excel_data-req_type . " Passing requirement type to req items in Bapi from excel IT
       gs_req_item-version   = '00' .                    " Version is always 00 .


* line items
       gs_items-date_type = gs_excel_data-date_type .   " Passing date type to requirements_schedule_in in Bapi from excel IT
*    gs_items-req_date = '20150113' .
*    gs_items-unit    =   gs_excel_data-meins .
       gs_items-req_qty =   gs_excel_data-pquan .      " Passing quantity to requirements_schedule_in in Bapi from excel IT
       gs_items-req_date =  gs_excel_data-date .       " Passing date  to requirements_schedule_in in Bapi from excel IT

       APPEND gs_items TO gt_items .


PERFORM create_change .  " Perform to create and change data in MD61 & MD62
CLEAR :  gs_items , gs_excel_data , gt_items .
   CLEAR : gs_req_item , gt_items .
     ENDLOOP .

*    CLEAR : gs_excel_data1 .

*  ENDLOOP.
   PERFORM messages .   " Perform to display messages



ENDFORM.                    " REQ_CREATE


*&---------------------------------------------------------------------*
*&      Form  CREATE_CHANGE
*&---------------------------------------------------------------------*


FORM create_change .

   CALLFUNCTION'BAPI_REQUIREMENTS_CREATE'  " Bapi to Create Planned Independent Reqmts
     EXPORTING
       requirements_item        = gs_req_item
*     REQUIREMENT_PARAM        =
       do_commit                = 'X'
       update_mode              = 'X'
*     REFER_TYPE               = ' '
*     PROFILID                 = ' '
*   IMPORTING
*     MATERIAL                 =
*     PLANT                    =
*     REQUIREMENTSTYPE         =
*     VERSION                  =
*     REQMTSPLANNUMBER         =
*     MRP_AREA                 =
*     MATERIAL_EVG             =
*     REQ_PLAN_ID_EXT          =
*     REQ_SEGMENT              =
     TABLES
       requirements_schedule_in = gt_items
*     REQUIREMENTS_CHAR_IN     =
       return                   = gt_return.





   READTABLE gt_return INTO gt_return WITHKEYtype = 'E'id = '6P'number = '011'.   " in case if the data already
   "exists

   IF sy-subrc ISINITIAL.

     CALLFUNCTION'BAPI_REQUIREMENTS_CHANGE'
       EXPORTING
         material                 = gs_req_item-material
         plant                    = gs_req_item-plant
         requirementstype         = gs_req_item-requ_type
         version                  = gs_req_item-version
         reqmtsplannumber         = gs_req_item-req_number
         vers_activ               = 'X'
       TABLES
         requirements_schedule_in = gt_items
         return                   = gt_return.



     READTABLE gt_return INTO gt_return WITHKEYtype = 'E'id = '6P'number = '012'" in case if the requirement is blocked

     IF sy-subrc ISINITIAL.

       WAITUPTO5 SECONDS.

       CALLFUNCTION'BAPI_REQUIREMENTS_CHANGE'
         EXPORTING
           material                 = gs_req_item-material
           plant                    = gs_req_item-plant
           requirementstype         = gs_req_item-requ_type
           version                  = gs_req_item-version
           reqmtsplannumber         = gs_req_item-req_number
           vers_activ               = 'X'
         TABLES
           requirements_schedule_in = gt_items
           return                   = gt_return.




     ENDIF.
   ENDIF .
       CALLFUNCTION'BAPI_TRANSACTION_COMMIT'.


ENDFORM.                    " CREATE_CHANGE

*&---------------------------------------------------------------------*
*&      Form  MESSAGES
*&---------------------------------------------------------------------*

FORM messages .

   IF gt_return IS  INITIAL .                   " For Success message

     MESSAGE'Forecast is created or updated Successfully'TYPE'S' .

   ENDIF .

   IF gt_return ISNOTINITIAL .
     LOOPAT gt_return .                     " For error message to be displayed
       WRITE : /  gt_return-id ,
               10 gt_return-number ,
               20  gt_return-type ,
               30  gt_return-message .
     ENDLOOP .
   ENDIF.

ENDFORM.                    " MESSAGES




Expecting answer ASAP , Kindly suggest some answers ......


Regards ,

Rocky

Re: SARA: Measurement Documents cannot be deleted.

$
0
0

Hi Liza

 

Kindly do all the steps.

 

Since you have executed the first program, check in IK13 the document should be set with deleted status.

 

Regards

Terence


Re: TCODE - IE02 - F4 for Field on Standard SAP Screen

$
0
0

Hi Ravi,

 

I have the same kind of requirement where I need to impart F4 help in EKPO-IDNLF(Vendor Matnr) in ME31K. Would you please spill some light?

 

Thanks,

Ahamed Yashif

Re: SAP EAM - Automatic equipment creation

$
0
0

Hello

Please create the serial Number profile as below in TC OIS2

 

Capture.JPG

 

Then do follow below settings

Capture.JPG

Capture.JPG

 

Also i would like to take help of MM consultant in this case

 

Br

Rakesh

Re: Annual Sales Plan for Customer

$
0
0

Not possible to maintain material wise sales data in customer master.  You can only input total sales made by that customer in Marketing tab.

 

If you want to provide break-up of customer-wise / material-wise sales figure, create a zee tcode, fetch the data from Info Structure (Table) S001 and share this tcode to the users.

 

 

G. Lakshmipathi

Re: Supplementary Invoice Creation

$
0
0

Dear S.Himavanth,

 

I want to refer each & every invoice.

Also wants to print copy of difference of amount to send to customer.

Kindly guide.

 

Thanks.

Function Module to convert Days into Months or years

$
0
0

Hello...

 

Could any one please help me to convert  no of days into month or year format using

funciton module. i have read blog there are  many date function modules are there which

consider two reference date as importing parameters. as per my requirement i need FM which has

Days as importing parameter and month and year are  exporting parameters.

 

Awaiting for your suggestion.

Nishi

Re: HCI-DS: Cannot view data for target datastore

$
0
0

Hi,

 

We created DF for loading data into KF Staging table. Data is getting loaded in Staging tables, but we are unable to find / load data in core table. Also, we cant see core table for KF while importing table in DataStore. Any idea on how to proceed with these transaction data??

 

Thanks,

Purav

Re: program error in class SAPMSSY1 METHOD:UNCAUGHT EXCEPTON

$
0
0

Hi Phani,

 

Can you please provide more information? I would like to know how your variable is configured and also the data declaration in the exit, probably in the top include.

Also please let me know on what BW release and SP level you are.

 

Thanks,

Sander


Re: Using the Import Statement in SQL procedure in SAP HANA

$
0
0

Hi Dipendra,


Thanks for you reply.I will surely try with it.


Thanks and Regards

Madhav J

Re: Import process for trading materials in INDIA

$
0
0

Hi Karunanithi

 

Thanx for such a quick reply.

 

You mean to say there is no difference if raw materials are procured for manufacturing or trading materials are procured and then sold.

 

Regards

Blue

Re: DSO Activation failure with flat file source system

$
0
0

Hi,

 

Can you please share the long text of the highlighted error message (by clicking on the question mark)?

 

Thanks,

Sander

Hi, I am a security analyst, but I am interested in SAP BI/AW and HANA can i take up this and look for a SAP jobs.

$
0
0

Hi, I am a security analyst, but I am interested in SAP BI/BW and HANA can i take up this and look for a SAP jobs.

Re: SAP Carrier

$
0
0

by the way, this is a SAP carrier:

sapcarrier.png

Viewing all 8379 articles
Browse latest View live


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