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

BAPI_OUTB_DELIVERY_CHANGE x WS_DELIVERY_UPDATE x intercompany

$
0
0

Hi!

   We have a intercompany process and it is not workinkg the picking with the BAPs I "BAPI_OUTB_DELIVERY_CHANGE" and "WS_DELIVERY_UPDATE".

 

    Do you know if there is any field to be filled?

Thanks.

    I'm using theBAPIas shown below.

 

,,,

      WA_TECHN_CONTROL-UPD_IND = 'U'.

      CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'

        EXPORTING

          header_data                   = WA_HEADER_DATA

          header_control                = WA_HEADER_CONTROL

          delivery                      = V_DELIVERY

          TECHN_CONTROL                 = WA_TECHN_CONTROL

        tables

         HEADER_DEADLINES              =

          ITEM_DATA                     = T_ITEM_DATA

          ITEM_CONTROL                  = T_ITEM_CONTROL

          return                        = T_RETURN

          NEW_ITEM_DATA                 = T_NEW_ITEM_DATA

          NEW_ITEM_ORG                  = T_NEW_ITEM_ORG.

 

...

 

 

....

          CALL FUNCTION 'WS_DELIVERY_UPDATE'

            EXPORTING

              VBKOK_WA = WA_VBKOK

              DELIVERY = WA_VBKOK-VBELN_VL

              UPDATE_PICKING = 'X'         "Update Picking data

           IMPORTING

              EF_ERROR_ANY_0 = V_ERROR1

              EF_ERROR_IN_ITEM_DELETION_0 = V_ERROR2

              EF_ERROR_IN_POD_UPDATE_0 = V_ERROR3

              EF_ERROR_IN_INTERFACE_0 = V_ERROR4

              EF_ERROR_IN_GOODS_ISSUE_0 = V_ERROR5

              EF_ERROR_IN_FINAL_CHECK_0 = V_ERROR6

              EF_ERROR_PARTNER_UPDATE = V_ERROR7

               EF_ERROR_SERNR_UPDATE = V_ERROR8

            TABLES

              VBPOK_TAB = T_VBPOK

              PROT      = T_PROTT        

            EXCEPTIONS

                error_message   = 99.


Adding field to Extension IDOC

$
0
0

There is an extension IDOC already defined for Orders  which has one Z*segment type defined. The release flag is not set on this segment . I would like to add another field to this segment. I added the field in WE31(Z1EDk02-->Z2EDK02) but when I checked in Se11, the field was not added in Z1EDK02 structure. It was avl only in Z2EDK02. So I manually added the field in SE11. Could you please advise if this is correct process or should I create a  new segment type ? Thanks in advance for your help!

PPE_PRM IDOC Message

$
0
0

Hi Can somebody tell me if anybody worked on this IDOC type?

Requirement : We have build IPPE Product Models (PPE Tcode) in one Dev and would like to replicate to QA

 

I have tried below

1. Setup Partner Profile from DEV to QA with process code ED08

2. Changed one of the structure in PPE

3. Ran BD21 for PPE_PRM

4. Activated change pointers for message type PPE_PRM

 

Issue : Include program LIPPEBAPI_PRMF01dumping in below statement

APPEND LINES OF .......in line 108

 

well In debug I correct it and I see successful IDOC

 

Target system:

IDOC is in 62 status and it never creats IPPE structure it says "IDOC Inbound procg: Work Item 00000458164 started"

 

can you tell me how can I reslove this? also please tell me if there is any std program like BD10 for Material?

 

Thanks

Sarath

Bom components with alternate bom does not display properly

$
0
0

HI...i am fresher i have a problem

 

I have created a zbom report ,but the problem is that it shows all components of all alternate bom in single alternate bom number.

what i need is it has to show components according to alternate bom number,,,,

 

 

 

 

 

 

 

 

and here is my code please help for this issue,

 

*&---------------------------------------------------------------------*
*& Report  ZNEW_BOM                                                 *
*&                                                                     *
*&---------------------------------------------------------------------*
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*

REPORT  ZNEW_BOM                             .
TYPE-POOLS: SLIS.

TYPES : BEGIN OF ty_mast,
           matnr TYPE mast-matnr, "Main Material (Parent)
           werks TYPE mast-werks"plant
           stlan TYPE mast-stlan"bom usage
           stlnr TYPE mast-stlnr"bom
           stlal TYPE mast-stlal"altbom
        END OF ty_mast.
TYPES : BEGIN OF ty_stko,
           stlnr TYPE stko-stlnr,
           stlal TYPE stko-stlal,
           datuv TYPE stko-datuv,
           bmein TYPE stko-bmein,
           bmeng TYPE stko-bmeng,
         END OF ty_stko.
TYPES : BEGIN OF ty_stpo,
           stlnr TYPE stpo-stlnr,
           datuv TYPE stpo-datuv,
           idnrk TYPE stpo-idnrk, "BOM Component (Child)
           posnr TYPE stpo-posnr,
           meins TYPE stpo-meins,
           menge TYPE stpo-menge, "Bom Material Req Qty.
         END OF ty_stpo.
TYPES : BEGIN OF ty_mara,
           matnr TYPE mara-matnr,
           brgew TYPE mara-brgew,
         END OF ty_mara.

* Output Data
TYPES: BEGIN OF type_output,

     werks TYPE mast-werks,             " Plant
     matnr TYPE mast-matnr,             " Material Number
     brgew TYPE mara-brgew,
     stlnr TYPE mast-stlnr,             " Bill of material
     stlan TYPE mast-stlan,             " BOM Usage
     stlal TYPE mast-stlal,             " Alternative BOM
     datuv TYPE stko-datuv,
     bmein TYPE stko-bmein,
     bmeng TYPE stko-bmeng,
     idnrk TYPE stpo-idnrk, "Material Component (Child)
     posnr TYPE stpo-posnr,
     meins TYPE stpo-meins,
     menge TYPE stpo-menge, "Bom Material Req Qty.
    END OF type_output.

*&---------------------------------------------------------------------*
*&  DATA DECLARATION
*&---------------------------------------------------------------------*
DATA : it_mast TYPE TABLE OF ty_mast,
        wa_mast LIKE LINE OF it_mast.

DATA : it_mara TYPE TABLE OF ty_mara,
        wa_mara LIKE LINE OF it_mara.

DATA : it_stko TYPE TABLE OF ty_stko,
        wa_stko LIKE LINE OF it_stko.

DATA : it_stpo TYPE TABLE OF ty_stpo,
        wa_stpo LIKE LINE OF it_stpo.
* Output table
DATAit_output        TYPE STANDARD TABLE OF type_output,
        wa_output       TYPE type_output.

* Field Catalog table
  DATAit_fcat      TYPE TABLE OF slis_fieldcat_alv,         " Internal table for field catal
         wa_fcat      TYPE slis_fieldcat_alv.                  " Work area for field catalog

*&---------------------------------------------------------------------*
*&  LAYOUT
*&---------------------------------------------------------------------*

PARAMETERS : p_matnr TYPE mara-matnr,
              p_werks TYPE mseg-werks,
              P_stlan type mast-stlan.

*&---------------------------------------------------------------------*
*&  MAIN PROGRAM
*&---------------------------------------------------------------------*
perform fetch.
perform fieldcat.



*&---------------------------------------------------------------------*
*&      Form  fetch
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  -->  p1        text
*  <--  p2        text
*----------------------------------------------------------------------*
FORM fetch .


SELECT matnr werks stlan stlnr stlal
        FROM mast INTO TABLE it_mast
        WHERE matnr = p_matnr and
              werks = p_werks and
              stlan = p_stlan.

IF it_mast IS NOT INITIAL.
   SELECT stlnr stlal datuv bmein bmeng
          FROM stko INTO TABLE it_stko
          FOR ALL ENTRIES IN it_mast
          WHERE stlnr = it_mast-stlnr AND
                stlal = it_mast-stlal.
ENDIF.
IF it_stko IS NOT INITIAL.
   SELECT  stlnr datuv idnrk posnr meins menge
          FROM stpo INTO TABLE it_stpo
          FOR ALL ENTRIES IN it_mast
          WHERE stlnr = it_mast-stlnr.
ENDIF.
IF it_stpo IS NOT INITIAL.
   SELECT matnr brgew
          FROM mara INTO TABLE it_mara
          FOR ALL ENTRIES IN it_stpo
          WHERE matnr = it_stpo-idnrk.""""""""""""""""

ENDIF.

loop at it_mast into wa_mast.
   MOVE: wa_mast-werks TO wa_output-werks,
         wa_mast-matnr TO wa_output-matnr,
         wa_mast-stlnr TO wa_output-stlnr,
         wa_mast-stlan TO wa_output-stlan,
         wa_mast-stlal TO wa_output-stlal.


   READ TABLE it_stko INTO wa_stko WITH KEY stlnr = wa_mast-stlnr.
   movewa_stko-datuv TO wa_output-datuv,
          wa_stko-bmeng TO wa_output-bmeng,
          wa_stko-bmein to wa_output-bmein,
          wa_stko-stlnr to wa_output-stlnr.
         clear wa_stko.

loop at it_stpo INTO wa_stpo where stlnr = wa_mast-stlnr.
     move: wa_stpo-idnrk TO wa_output-idnrk,
           wa_stpo-posnr TO wa_output-posnr,
           wa_stpo-menge TO wa_output-menge,
           wa_stpo-meins to wa_output-meins.
   APPEND wa_output TO it_output.
      clear wa_stpo.
Endloop.

       READ TABLE it_mara INTO wa_mara WITH KEY MATNR = wa_mast-stlnr.
MOVE:    wa_mara-matnr TO wa_output-matnr,
          wa_mara-brgew to wa_output-brgew.
       CLEAR WA_MARA.

     APPEND wa_output TO it_output.
     ENDLOOP.



ENDFORM.                    " fetch

*&---------------------------------------------------------------------*
*&      Form  fieldcat
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*  -->  p1        text
*  <--  p2        text
*----------------------------------------------------------------------*
FORM fieldcat .

      WA_FCAT-COL_POS   = '1'.
      WA_FCAT-FIELDNAME = 'MATNR'.
      WA_FCAT-TABNAME   = 'IT_OUTPUT'.
      WA_FCAT-SELTEXT_L = 'MATERIAL'.
      WA_FCAT-OUTPUTLEN = '9'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

  WA_FCAT-COL_POS   = '2'.
WA_FCAT-FIELDNAME = 'WERKS'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'PLANT'.
WA_FCAT-OUTPUTLEN = '8'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

  WA_FCAT-COL_POS   = '3'.
WA_FCAT-FIELDNAME = 'STLAN'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'BOM USAGE'.
WA_FCAT-OUTPUTLEN = '9'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

  WA_FCAT-COL_POS   = '4'.
WA_FCAT-FIELDNAME = 'STLAL'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'ALTBOM'.
WA_FCAT-OUTPUTLEN = '9'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

WA_FCAT-COL_POS   = '5'.
WA_FCAT-FIELDNAME = 'STLNR'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'BOM'.
WA_FCAT-OUTPUTLEN = '9'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

WA_FCAT-COL_POS   = '6'.
WA_FCAT-FIELDNAME = 'IDNRK'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'BOM COMPONENT'.
WA_FCAT-OUTPUTLEN = '20'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

WA_FCAT-COL_POS   = '7'.
WA_FCAT-FIELDNAME = 'BMENG'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'BASE QUANTITY'.
WA_FCAT-OUTPUTLEN = '6'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

WA_FCAT-COL_POS   = '8'.
WA_FCAT-FIELDNAME = 'BRGEW'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'GROSS WEIGHT'.
WA_FCAT-OUTPUTLEN = '6'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

WA_FCAT-COL_POS   = '9'.
WA_FCAT-FIELDNAME = 'MEINS'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'BASE UNIT OF MEASURE'.
WA_FCAT-OUTPUTLEN = '6'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

WA_FCAT-COL_POS   = '10'.
WA_FCAT-FIELDNAME = 'MENGE'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'COMPONENT QUANTITY'.
WA_FCAT-OUTPUTLEN = '10'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.

WA_FCAT-COL_POS   = '11'.
WA_FCAT-FIELDNAME = 'MEINS'.
WA_FCAT-TABNAME   = 'IT_OUTPUT'.
WA_FCAT-SELTEXT_L = 'BASE UNIT'.
WA_FCAT-OUTPUTLEN = '6'.
APPEND WA_FCAT TO IT_FCAT.
CLEAR WA_FCAT.




CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
  EXPORTING
*   I_INTERFACE_CHECK                 = ' '
*   I_BYPASSING_BUFFER                = ' '
*   I_BUFFER_ACTIVE                   = ' '
    I_CALLBACK_PROGRAM                = SY-CPROG
*   I_CALLBACK_PF_STATUS_SET          = ' '
*   I_CALLBACK_USER_COMMAND           = ' '
*   I_CALLBACK_TOP_OF_PAGE            = ' '
*   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
*   I_CALLBACK_HTML_END_OF_LIST       = ' '
*  I_STRUCTURE_NAME                  = WA_OUTPUT
*   I_BACKGROUND_ID                   = ' '
*   I_GRID_TITLE                      =
*   I_GRID_SETTINGS                   =
*   IS_LAYOUT                         =
    IT_FIELDCAT                       = IT_FCAT
*   IT_EXCLUDING                      =
*   IT_SPECIAL_GROUPS                 =
*   IT_SORT                           =
*   IT_FILTER                         =
*   IS_SEL_HIDE                       =
*   I_DEFAULT                         = 'X'
*   I_SAVE                            = ' '
*   IS_VARIANT                        =
*   IT_EVENTS                         =
*   IT_EVENT_EXIT                     =
*   IS_PRINT                          =
*   IS_REPREP_ID                      =
*   I_SCREEN_START_COLUMN             = 0
*   I_SCREEN_START_LINE               = 0
*   I_SCREEN_END_COLUMN               = 0
*   I_SCREEN_END_LINE                 = 0
*   IT_ALV_GRAPHICS                   =
*   IT_HYPERLINK                      =
*   IT_ADD_FIELDCAT                   =
*   IT_EXCEPT_QINFO                   =
*   I_HTML_HEIGHT_TOP                 =
*   I_HTML_HEIGHT_END                 =
* IMPORTING
*   E_EXIT_CAUSED_BY_CALLER           =
*   ES_EXIT_CAUSED_BY_USER            =
   TABLES
     T_OUTTAB                          = IT_OUTPUT
* EXCEPTIONS
*   PROGRAM_ERROR                     = 1
*   OTHERS                            = 2
           .
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.                    " fieldcat

Issue at system connectivity

$
0
0

Hello community,

my name is Patric and I need some help.

 

I installed ABAP in Eclipse and also I have an test system called S56.

 

Now I have a connection problem :-) and i don't understand the text in the logfile of eclipse.

 

Maybee you have an idea?

 

1.) What do I need to setup in the backend (in system S56)? Maybee some service in the SICF?

2.) Is it possible, that something infront of the backend is canceling my connection?

 

 

Logilfe:

Error:  >Mon Jul 01 13:51:34,454<    RfcException: [null]
    message: Connect to message server host failed
Connection parameters: TYPE=B DEST=adt.tmp_1372679489571 MSHOST= XXX GROUP=SAP_LS R3NAME=S56 SNC_MODE=1 SNC_QOP=3 SNC_MYNAME=" " SNC_PARTNERNAME="XXX" PCS=1

ERROR       service 'sapmsS56' unknown
TIME        Mon Jul 01 13:51:34 2013
RELEASE     721
COMPONENT   NI (network interface)
VERSION     40
RC          -3
MODULE      nixxsl.cpp
LINE        184
DETAIL      NiSrvLGetServNo: service name cached as unknown
COUNTER     2

    Return code: RFC_FAILURE(1)
    error group: 102
    key: RFC_ERROR_COMMUNICATION

 

 

Thank you for your help.

 

 

Best regards,

 

 

Patric (without an "k") :-)

problem while data retrieving

$
0
0

Hi,

 

I am unable to retrieve exnum1.

 

SELECT SINGLE docyr exnum INTO (itab-docyr,itab-exnum) FROM j_1iexchdr WHERE rdoc = itab-vbeln.
  IF itab-docyr IS NOT INITIAL AND itab-exnum IS NOT INITIAL.
SELECT SINGLE exnum INTO itab-exnum1 FROM  j_1iexcdtl WHERE trntyp = 'ARE1' AND docyr = itab-docyr AND werks = itab-werks AND
     rdoc2 = itab-exnum.

ENDIF.
MODIFY itab TRANSPORTING docyr exnum exnum1.

 

Regards

Kalpana

Unpack quantity from HU but not able to see in lower pane of PACK HU Tab

$
0
0

Hi Team,

 

I have requirement to unpack quantity from Handling Unit,I am using Function modules HU_GET_HUS, HU_PACKING_AND_UNPACKING and HU_POST with this I am able to unpack the quantity from HU but not able see the quantity in lower pane of tab PACK HU.

 

Please help me to find out the issue.

 

Thanks,

Shakeer

Alternate note for 1081640 - Parcel Tracking in VL02N

$
0
0

Hi Experts,

 

          Currently we are upgrading ECC 5.0 to ECC 6.0 . We are facing the the problem with this note for the VL02N transaction.

 

          Actual problem is Parcel Tracking's  changes not updating to the DB because of the above mentioned Note(1081640).

 

Thanks,

Deepu


RFC transfer of structure data with source structure different from target structure

$
0
0

Hi,

 

since today morning we have a weird phenomenon:

 

We use an RFC call from one SAP system (ECC600) to another SAP system (46C) to validate customer-supplied addresses. All worked fine but now the validation wreaks havoc:

 

In the source system, we fill some fields of structure JYTADRCODE with validation data. In debug mode, we see that data in the target system looks shifted to the left one byte starting after field 30.

 

I found out that the source system uses a newer version of this structure (24.02.2005 12:01:42 SAP) than the target system (11.10.2004 18:33:06 SAP). The new version has some more fields, i.e. a new 1-char-field at position 30.

 

It looks like in the past, the field contents were copied field-to-field so that everything was fine. Now the structure contents are copied directly so that everything after the new field is shifted by one character.

 

We don not use any intermediate system like XI.

 

May this be caused by a Kernel update?

 

We have no idea yet.

 

Thank you for help.

 

Regards Clemens

How to read the properties of PDF in SAP?

$
0
0

Hi all,

 

Is there any function module or class to read the physical height and width of a PDF by giving stored path of PDF in frontend.

 

Regards,

Bharathkumar.MG

Are there any new techniques to copy file in background

$
0
0

I need to be able to copy a file in the background on the application server.  I have seen several suggestions but can make only one (FTP) work.  As many have said, I was hoping for a FM or OO Method. 

 

Oh, I forgot, Open | Read |Close |Open |Write |Close.  I can also make that work.  But there is fear that the file will not be binary identical.

 

Other options I've seen:

 

  • RSBDCOS0 - won't work because there is no way to know if it succeeded or not.
  • ARCHIVFILE_SERVER_TO_SERVER - I can't make this FM run.  If anyone is using it, I'd love to see your code.
  • PFL_COPY_OS_FILE - Has been deleted by SAP!
  • SXPG_CALL_SYSTEM - may be a remote possibility, but I don't know how to construct the command for iSeries IBM App Server.

 

So I hope that no one will fuss that I haven't done my homework before posting.  I will be pleased to read anyone's thoughts on this mater and of course, you might note that I'm doing something wrong, so those comments are welcome too.

 

Neal

Call Transaction behaviour

$
0
0

In my program I am passing on some values to Call Transaction 'CJ9C' using bdc_data. The objective is the called transaction should show result to the user and then the control should be returned to the calling program once user presses back button. However its not happeneing and the called transaction does NOT show anything to user but the control immediately returns to the calling program.

I tried sevaral options from ctu_param but its not happeneing.

Any clues would be helpful.

 

Thanks in advance

DB Error in SAP

$
0
0

Hi All,

 

I have getting one dump.... please suggest needul....

 

Database error text........: "The current transaction cannot be committed and                 |

|     cannot support operations that write to the log file. Roll back the                          |

|     transaction."                                                                                |

|    Database error code........: 3930                                                             |

|    Triggering SQL statement...: "EXECUTE PROCEDURE dbo.ProcessSapData"  

 

 

I HAVE ATTACHED ONE FILE PLEASE CHECK AND SUGGEST....

 

i have used this link  but it gives some other solution... http://scn.sap.com/thread/3323217

 

Thanks

Simple tree add node and items not updating if new item or node added

$
0
0

Hi Team ,

I am using this method to cretae the tree on a screen say 100. and this method logic is in PBO so taht before screen get displayed  teh logic executes and help enable tree disply.

 

CALL METHOD tree->add_nodes_and_items

     EXPORTING  node_table                = node_table
                item_table                = item_table
                item_table_structure_name = item_table_structure_name
     EXCEPTIONS failed                         = 1
                cntl_system_error              = 2
                error_in_tables                = 3
                dp_error                       = 4
                table_structure_name_not_found = 5.

 

My problem is when ever I call this screen again and updates node_table , item_table to new set up values ,  it does not get updated , rather last value gets displayed.

 

Can anybody please help on this.

 

 

Thanks,

Sourya Prakash.

Change the title of "Transport-Departure" Field in VL02N

$
0
0

Hi!

 

   I need to change the title "Transport-Departure"   (RL50E-BEZEI_KZABE) in the delivery (VL02N) ( Goto->Header->Foreign Trade/Customs)

   May you help me?

 

Thanks.

 

-----> Technical Information

Program Name       SAPLV50E
Screen Number      0500


Program Name       SAPMV50A
Status             W0


Table Name         RL50E
Table category     Struct.
Field Name         BEZEI_KZABE
Data Element       BEZEI20


Screen Field       RL50E-BEZEI_KZABE
Program Name       SAPMV50A
Screen Number      2000


Save chart as a pdf file in sap

$
0
0

Hi ,

 

I created a reported and generated chart using cl_gui_chart. after generating the chart i need to save the graph as a pdf file .

I fetched the customize graph data as a xml format and try to convert using function module convert_otf as a pdf file .

But not able to generated the xml data into chart. Please help me in this situation .

 

Thanks

Rajeev

Transfer of buffered data to a file

$
0
0

Hi guys,

 

I would like to transfer data to a file but the result is not correct. I am doing something wrong. Please correct me. I need to have a variable length that is why I need the string.

 

I am collecting a block of char in a string and then transfering the string to  filename.

 

while xxxx

jjjjjj

charvar = blablablaxxx

concatenate  stringvar charvar into stringvar

endwhile.

Transfer stringvar to filename lenght L.

 

the length of the stringvar is stored in L. L is of type p.  The stringvar  is a CSTRING{1536} so L = 8

 

The content of the file is always wrong. What am I doing wrong?

 

Thanks for your help.

CATS timesheet data transfer from HR system to ECC system

$
0
0

Hi,

 

 

Background:

We have a distributed HR system. Which means our HR system sits separately to our ERP( ECC) system. We want to implement CATS for recording working time. In this kind of distributed systems SAP recommends to implement CATS in ERP system and transfer the HR mini master from the HR system into the ERP system where we have all the cost objects.

 

Since we are on a lower version of SAP system we are unable to implement CATS on our ERP( as we cannot implement ESS/MSS on our version ) system as suggested by SAP. Instead we now need to implement CATS on the HR system.

 

My Question:

Can we transfer the time-sheet data from HR system to ERP system? SAP provides standard transaction CATA and CAT6 to transfer the data from ERP to HR. However i am not sure if SAP supports the reverse. That is transfer timesheet data from HR to ERP system. Has anyone have come across a similar issue and if so how did you manage to transfer the timesheet data to ECC system?

 

Any idea how we can achieve this without writing complex data transfer ALE programs?

 

Any suggestions or pointer would be great help.

 

Cheers

RV

Entries stuck in SM13 queue in 'INIT' status

$
0
0

I have been trying to figure out why some entries are stuck in SM13 with status 'init'... user made changes to delivery using VL02N and it resulted in entries stuck in SM13 in 'INIT' status for more than 20 hours..After a while the update task is completed. This is happening randomly and it is difficult to figure out the action taken that caused this issue.

 

Any ideas?

Multiple lines more than 10 pages not printing for Terms and Conditions - Smartforms

$
0
0

Hi,

 

  I have a requirement to print Terms and Conditions after the Item Table details end. For the same I am printing the Terms and Conditions in the Footer section of the Item Table. Issue is suppose i hard code the T&Cs - say around 1000-2000 lines. I then trigger the output type calling this smartform. If the text given is limited - I can see max 10 pages. If more than 10 pages - output fails. Basically I see the SSFCOMP_WRITE_TEXT function module failing with exception = 2 for more than 10 pages data.

 

  Can someone please suggest why few lines upto 10 pages are being printed but more than 10 pages are not being printed.

 

Thanks and Regards,

  Vanessa

Viewing all 8768 articles
Browse latest View live


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