Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all 3125 articles
Browse latest View live

Re: Modifications after Unicode conversion (ASP)

$
0
0

Hello Ulrich,

 

Thanks for your reply. As for your question,

1. The error is weird. When there are no parameters, the RFC call is perfect and successful. However, when there are parameters, it is unable to read them properly, e.g., SUBRC is read as UBRC and therefore the structure of the parameter is not fetched and the addItem function fails.

I hope you understand why I am trying to explain here. Even I am fairly new to this.

2. What worked out for me is, installing SAPGUI on the server ( a quick hack ). This seemed to have installed proper dll files at their desired locations and the RFC started to function properly. Since we had to meet deadline, we used this method but I am still researching about what exactly could have happened. The server initially did not have the librfc32u.dll file at all.

 

I hope I answered your queries.

 

Please feel free if you have more suggestions or questions.


Regards

Shubhendu


Re: Modifications after Unicode conversion (ASP)

$
0
0

Hello Shubhendu,

 

I assume with "parameter" you mean a structured parameter with several fields? In that case the symptom you describe is quite common: some field offsets (the byte position inside the structure, where a certain field starts) are calculated incorrectly (e.g. a missing alignment byte or wrong fields lengths of some previous fields) and so the field is truncated.

 

However, I don't believe that an application that has been using librfc32.dll before, suddenly starts using librfc32u.dll, only because you install it on the server... As I said, in order to replace librfc32.dll with librfc32u.dll, code changes in the application (and consequently a re-compilation) are necessary.

 

Much more likely the reason is the following: your ASP application already has the correct parameters for communicating with the backend system in Non-Unicode mode. (As the backend has been Non-Unicode so far, this is quite likely.) But up to now there was a very old version of librfc32.dll on that server, that still had bugs in the Non-Unicode communication with a Unicode backend. (I think I remember that some of the older librfc32.dll versions had various problems when communicating with a Unicode backend.) By installing a recent SAPGui version, that buggy librfc32.dll got replaced with a newer version of librfc32.dll, where these bugs are now fixed! The explanation may be as simple as that...

 

Best Regards, Ulrich

Re: Issue on Inbound Idoc IDOC_INPUT_HRMD

$
0
0

Hi Raghunath.

 

    I am facing similar issue now. Do you have any update on this? Were you able to resolve the issue? Kindly reply.

Re: BAPI for creating Work Centre Master

$
0
0

Rajesh,

 

  I am having the same issue.  Did you solve this?  I want to avoid having to create a change lsmw recording to populate this tab.

 

Thanks,

 

Jacob Levinson

Re: BAPI for creating Work Centre Master

$
0
0

NM.  Valid from date needed to be passed.  It is weird that it didnt return that as an error though

Re: Probelm in BDC Recording - ticking on check box..

$
0
0

Hi Deepthi...I have similar issue, Could you please post the solution?

Thanks in advance.

Re: EDI inbound 850 with SDQ segments and subsequent 856

$
0
0

Sample of 850 sent by SPS/Nexcom

 

ISA*00*          *00*          *ZZ*TST1NEXCOM     *01*103077954      *160513*1620*U*00401*100000012*0*P*}

GS*PO*TST1NEXCOM*103077954*20160513*1621*1012*X*004010VICS

ST*850*1012

BEG*00*SA*987444**20160513

REF*DP*638

REF*IA*103077954

ITD*******7*****Terms Net 30 DATE OF INVOICE MUST NOT PRECEDE DATE OF SHIPMENT

DTM*037*20160520

DTM*038*20160603

TD5**92*Website https://nextms.nexweb.org/ for ORDERS ROUTED/CONFIRMED.

TD5**92*Email issues to NEX_Traffic_Management_Group@nexweb.org

CTB*AA*PO TERMS&COND at www.mynavyexchange.com/command/contractor_vendor/cv-index.htmlx

N1*ST*West Coast Distribution CTR*92*995

N3*4250 Eucalyptus Ave

N4*Chino*CA*917109704

N1*BT**92*001

N2*NAVY EXCHANGE SERVICE COMMAND

N3*530 INDEPENDENCE PARKWAY  SUITE 500

N4*CHESAPEAKE*VA*23320

PO1**10*EA*5*WE*UP*121111111111*VA*575001*IT*BPN001

CTP**RES*5.55

PID*F*08***TLI Cool Item1

PO4*1

SDQ*EA*92*164*5*227*5

PO1**20*EA*6.22*WE*UP*122222222222*VA*575002*IT*BPN002

CTP**RES*9.2

PID*F*08***TLI Cool Item2

PO4*1

SDQ*EA*92*164*10*227*10

PO1**30*EA*7.3*WE*UP*123333333333*VA*575003*IT*BPN003

CTP**RES*12.47

PID*F*08***TLI Cool Item3

PO4*1

SDQ*EA*92*164*15*227*15

CTT*3

SE*34*1012

GE*1*1012

IEA*1*100000012

 

Sample 856 Cross Dock to 850 Cross Dock above that was passed by SPS Commerce/Nexcom

 

ISA*00*          *00*          *01*103077954      *ZZ*TST1NEXCOM     *160518*1031*U*00401*000000261*0*T*>~GS*IN*103077954*TST1NEXCOM*20160518*1031*000000261*X*004010VICS~ST*856*0001~BSN*00*27978*20160519*0000*0001~HL*1**S~TD1*PLT*60****G*.00*LB~TD5**2*Rocky Road Products**Vendor Shipping Method~REF*BM*27978~DTM*011*20160519~DTM*067*20160519~N1*ST*West Coast Distribution CTR*92*995~HL*2*1*O~PRF*987444***20160519~TD1*PLT*30****G*.00*LB~REF*IA*103077954~N1*BY*Navy Exchange*92*227~HL*3*2*P~MAN*GM*00100353390000000503~HL*4*3*I~LIN**UK*12111111111111*VA*575001~SN1**5*CA~HL*5*3*I~LIN**UK*12222222222222*VA*575002~SN1**10*CA~HL*6*3*I~LIN**UK*12333333333333*VA*575003~SN1**15*CA~HL*7*1*O~PRF*987444***20160519~TD1*PLT*30****G*00*LB~REF*IA*103077954~N1*BY*Navy Exchange*92*164~HL*8*7*P~MAN*GM*00100353390000000504~HL*9*8*I~LIN**UK*12111111111111*VA*575001~SN1**5*CA~HL*10*8*I~LIN**UK*12222222222222*VA*575002~SN1**10*CA~HL*11*8*I~LIN**UK*12333333333333*VA*575003~SN1**15*CA~SE*42*0001~GE*1*000000261~IEA*1*000000261~

Read a file from UNC path through ABAP program and write it to Application server

$
0
0

Hi Friends,

 

I have a requirement to read a file from a windows network drive (UNC file path) and to move it to Application server (Unix) through ABAP programming. I cannot open this file using OPEN DATASET. Kindly let me know about the configurations and the programming taht would go in to achieve this.

 

Thanks.,

Aastha


Re: Read a file from UNC path through ABAP program and write it to Application server

$
0
0

Did you perform some search on shared folders, FTP, NFS or similar tools?

 

Regards,

Raymond

Re: Required to Enhance CAT7 Transaction

$
0
0

Hey Anindita ,

 

Did this scenario work for you ?  were you able to acheive the desired result ?

 

We are looking for an exit in CAT7 for a similar kind of scenario.

 

thanks and regards,

Kishore.

Re: Create/change sales deal using IDOC

$
0
0

Hi Jason,

 

Can  you specific with requirement

SAP ABAP - $TMP CleanUp

$
0
0

Hi Experts,

 

I would like to ask what are the tables that I need to check to collect all the objects that are in $TMP.

currently I just selected all $tmp in table TADIR, but I'm not sure if that is all.

and what tables that I need to delete entry if I do $TMP Cleanup.

 

Thank you.

Darwin

Re: Read a file from UNC path through ABAP program and write it to Application server

$
0
0

Hi Raymond,

 

Thanks about reaching out! Well, FTP is not an option here and the client is not interested in using any tools. If there is any way through access and  ABAP programming that we could achieve this?

 

Thanks,

Aastha

Re: SAP ABAP - $TMP CleanUp

$
0
0

Hi Darwin,

 

this question has nothing to do with "Connectivity" (= RFC and HTTP communication)... You better try the ABAP Development Forum.

 

Best Regards, Ulrich

Re: Mail Merge

$
0
0

Hi,

Here I want to explain problem with merge fields in word for getting list of merge fields used in given document using method I_OI_MAIL_MERGE-get_fields

 

Merge fields Tags (with Problem)

Merge fields Tags(correct)

{MERGEFIELD "TAG1"}

{MERGEFIELD TAG1}

{MERGEFIELD TAG_H1}

{MERGEFIELD TAGH1}

 

*******

     CLEAR RETCODE. CLEAR ERROR.

     CALL METHOD MM_INTERFACE->GET_FIELDS

       EXPORTING

         NO_FLUSH   = ' '

       IMPORTING

         DESCR_LIST = LIST

         ERROR      = ERROR

         RETCODE    = RETCODE.


   LOOP AT TDD03L.

     LOOP AT LIST INTO WLIST WHERE ITEM_NAME = TDD03L-FIELDNAME.

       WFIELD-TABNAME = TDD03L-TABNAME.

       WFIELD-FIELDNAME = TDD03L-FIELDNAME.

       WFIELD-POSITION = TDD03L-POSITION.

       WFIELD-INTLENGTH = TDD03L-LENG.

       WFIELD-EXID = TDD03L-INTTYPE.

       WFIELD-OFFSET = T_OFFSET.

       APPEND WFIELD TO TFIELD.

     ENDLOOP.

     T_OFFSET = T_OFFSET + TDD03L-LENG.

   ENDLOOP.


*****

   CLEAR ERROR.

   CALL METHOD MM_INTERFACE->SET_DATA_SOURCE

**    EXPORTING

**      DDIC_NAME    = 'ZXXX'

****     no_flush     = 'X'

     IMPORTING

       RETCODE      = RETCODE

       ERROR        = ERROR

     CHANGING

       DATA_TABLE   = TDATA

       FIELDS_TABLE = TFIELD.


   IF RETCODE EQ C_OI_ERRORS=>RET_OK.

     " Document opened successfully

   ELSE.

     CALL METHOD C_OI_ERRORS=>RAISE_MESSAGE

       EXPORTING TYPE = 'I'.

   ENDIF.


Re: How to increase the duration of trace in SRT_UTIL

$
0
0

Hi Sakthikrishnan,

Trace will be active only for two hours. It has been set by class CL_SOAP_UTIL_DB via constant CO_TRACE_VALIDATION.


It has value 7200( in seconds which equal 2 hours).

Re: How to increase the duration of trace in SRT_UTIL

$
0
0

Hi Soni ,

 

Thanks for your reply .

 

Is it possible to Increase the Duration of the trace  ?

My requirement is to Increase the Trace for minimum 4 Hours .

 

Thanks ,

Sakthikrishnan S .

Idoc PORDCR1,Payment term field change for segment E1BPMEPOHEADER

$
0
0

Hi All,

 

I am stuck in this situation and need guidance.

 

I have an inbound idoc PORDCR1 which is taking value of payment term from legacy.Since the value was invalid I had to replace the value from table on the basis of vendor mentioned.

 

Now by making change in z include of custom exit I am getting the value changed. But value in segment data remains same.

 

Please suggest a way to change value in segment data FOR SEGMENT E1BPMEPOHEADER.

 

Thanks in advance.

Customer Creation through RFC

$
0
0

Hi Expertise ,

 

I am new about RFC and client requirment is create the customer through RFC  so please any body can give me the example of customer creation through RFC in ABAP or tell me is it possible customer creation through RFC.

Re: Customer Creation through RFC

$
0
0

Hi Yogesh,

 

you are probably looking for BAPI_CUSTOMER_CREATE.

 

Regards, Ulrich

Viewing all 3125 articles
Browse latest View live