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

Re: Problem in Copying module pool program

$
0
0

Hi,

 

Go to SE80 workbench, Give your program name.

Right click on program name--->copy.

 

Provide your include names, then click OK.

 

Try to activate the program, it will work,

 

OR

 

If you still facing any problem then seach for the include name "GLOBALLY", then replace them

with your include names, It will surely work.

 

 

Reward if helpful.


HANA - Address of Business Partner can not be updated by DI-API-Object

$
0
0

Hello, everybody,

 

I do need help very urgent. My customer goes live with Business One HANA in two days and I got severe problems in importing master data by DI-API.

I managed to import all Business Partners. Now I would like to import the addresses by using the object oBusinessPartners and object Addresses.

 

When I test my code (vba) with SQL-Server everything is fine. All data are imported, no error-message. So the code has to be correct (it is not the first time, that I do such thing).

 

Using the code for HANA everything is fine only in the first step. That is to say, the objects got their correct values and I can update the Businesspartner without any error-message. The new address is created in the bp-masterdata.

 

The only thing is, that despite of the address-name all other data are not saved. The fields are simply empty.

Is there any difference between SQL-Server and HANA when using the di-api-objects?

 

I really do hope for fast and helpful answers.

Thank you very much in advance!!!

 

with kind regards,

Toby

 

my code is:

  Set GP = sapComp.GetBusinessObject(oBusinessPartners)
  blnupdate = GP.GetByKey(MyWsh.Cells(zeile, FieldColumn(HdrRange, "CardCode")))
  If blnupdate Then
 
   Set GPAdr = GP.Addresses
 
   Dim AdrCount As Long
   Dim AdrCurrLine As Long
   AdrCount = 0
   AdrCurrLine = -1
 
   For AdrCount = 0 To GP.Addresses.Count - 1
    GPAdr.SetCurrentLine (AdrCount)
    If GPAdr.AddressName = MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName")) Then
     AdrCurrLine = AdrCount
    End If
   Next AdrCount
  
   If Not AdrCurrLine = -1 Then  
    GPAdr.SetCurrentLine (AdrCurrLine)
   End If
 
   With GPAdr
    If Not AdrCurrLine = -1 Then .Add
    .AddressName = ADR_AddressName(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName")))
    .Street = ADR_Street(MyWsh.Cells(zeile, FieldColumn(HdrRange, "Street")))
    .Block = ADR_Block(MyWsh.Cells(zeile, FieldColumn(HdrRange, "Block")))
    .ZipCode = ADR_ZipCode(MyWsh.Cells(zeile, FieldColumn(HdrRange, "ZipCode")))
    .City = ADR_City(MyWsh.Cells(zeile, FieldColumn(HdrRange, "City")))
    .County = ADR_County(MyWsh.Cells(zeile, FieldColumn(HdrRange, "County")))
    .Country = ADR_Country(MyWsh.Cells(zeile, FieldColumn(HdrRange, "Country")))
    .State = ADR_State(MyWsh.Cells(zeile, FieldColumn(HdrRange, "State")))
    .FederalTaxID = ADR_FederalTaxID(MyWsh.Cells(zeile, FieldColumn(HdrRange, "FederalTaxID")))
    .TaxCode = ADR_TaxCode(MyWsh.Cells(zeile, FieldColumn(HdrRange, "TaxCode")))
    .BuildingFloorRoom = ADR_BuildingFloorRoom(MyWsh.Cells(zeile, FieldColumn(HdrRange, "BuildingFloorRoom")))
    .AddressType = ADR_AddressType(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressType")))
    .AddressName2 = ADR_AddressName2(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName2")))
    .AddressName3 = ADR_AddressName3(MyWsh.Cells(zeile, FieldColumn(HdrRange, "AddressName3")))
    .TypeOfAddress = ADR_TypeOfAddress(MyWsh.Cells(zeile, FieldColumn(HdrRange, "TypeOfAddress")))
    .StreetNo = ADR_StreetNo(MyWsh.Cells(zeile, FieldColumn(HdrRange, "StreetNo")))
   End With
 
  UDF:
  If GPAdr.UserFields.Fields.Count > 0 Then
   For uf = 0 To GPAdr.UserFields.Fields.Count - 1
    GPAdr.UserFields.Fields(uf).Value = UDF(GPAdr.UserFields.Fields(uf), MyWsh.Cells(zeile, FieldColumn(HdrRange, GPAdr.UserFields.Fields(uf).Name)))
   Next uf
  End If

 

   If MyWsh.Cells(zeile, FieldColumn(HdrRange, "Standard")) = "Y" Then
    With GP
     If GPAdr.AddressType = bo_BillTo Then
      GP.BilltoDefault = GPAdr.AddressName
     Else
      GP.ShipToDefault = GPAdr.AddressName
     End If
    End With
   End If
 
   lngRst = GP.Update
 
   If Not lngRst = 0 Then
    MyWsh.Cells(zeile, FieldColumn(HdrRange, "")) = SAPErrorHdl(False)
    ErrCount = ErrCount + 1
   End If
 
  End If

Re: UWL - add columns and value

$
0
0

Hi Vinay,

Well there's a lot of "it depends" in that - especially depending what is already in your landscape.  Your best approach is to contact your SAP Total Quality Manager if you have on, or go to your local SAP sales team if you don't, explain your scenario and get them to check for you.

 

And yes it is possible to add/remove/move columns and attributes in both the BPM and Gateway Unified inboxes - on the organizing and personalizing your work items front I would rate it as a somewhat better than the UWL... there's a bit more power in using the UI5 than the old UWL XML.

Hope that helps

Jocelyn

Re: To Append Records at the begining of Excel.

$
0
0

Hello Priyesh,

 

The flag that you set doen't really works as per the SAP function module documantation.

Try to do following stpes :

 

  •     Create one more table of the same type,(say itab2)

            that contains your data to be downloaded.

  •     Append/Insert your header information that you need to be displayed at the begining.

            Fill itab with the header.

  •     Do as follow to append your previous table to new one.

    

           APPEND LINES OF itab1 TO itab2.


  • Now do pass itab2 to the FM, it will surely work.

 

 

 

 

 

 

Reward if helpful.

Re: Paragraph line breaks not showing

$
0
0

Thanks for getting back to me

SAP Crystal Reports Developer Version for Visual Studio 2012

HTML as below

<p>

Electrical services represent  Blah Blah

</p>

<p>

Text

</p>

Re: Create A/R credit memo based on paid (closed) A/R invoice.

$
0
0

Hi,

 

Your option is to create a stand alone Credit Memo without base. Make sure the sales quantity & price much the invoice.

 

Thanks,

Gordon

Re: SAP B1 Approval Procedure

$
0
0

Hi Dennis,

 

In order to solve this delimma, you must combine both conditions with one user defined query for approval. Only one approval for one document can avoid the problem you are facing.

 

Thanks,

Gordon

Re: SAP Business One Goods Issue Problem

$
0
0

Hi Folajimi,

 

This is not wrong. It is by system design. If you are not using LC as SC, the exchange rate can only be by the posting date. There is no option to lock the rate to a historical date.

 

Thanks,

Gordon


Re: Batch Creating Error but Program running Fine

$
0
0

Hi Guys,

 

Please find the screenshots of the data as requested. Please provide your valuable inputs for the same.

 

Thanks.

Anand.

Re: Retrofit, Solman 7.1

$
0
0

Hello,

 

Any suggestions ?

 

Thanks,

Ankit

Re: Remove Auto Log Off for a specific user

$
0
0

What is the user type of this 1 user?

Re: Exception Handling - Picking

$
0
0

Hi Shravan


I hope best way to enhance the action which you have used for blocking.

Before blocking ,program will check open pick wt for same storage bin and cancel WT.


I hope this will work.


At the same time if you send screen shot of all exception  code we can check and get goof details.


regards

Suraj

Re: Space released during Orcale DB reorg..??

$
0
0

Hi Amit,


We donot have any data which we archieve. Thanks a lot for your response.

I am working on what you and Reagan has shared. Will come back in case

of any clarifications..thanks again..

 

Regards,

Re: SAP Business One Goods Issue Problem

$
0
0

Thanks for your update Gordon,

 

Please can you elaborate on why this is normal because i think if you buy goods at a certain price for example last month, the system should also issue the goods out at the same cost the following month.

 

Regards,

Folajimi

Re: Pass table(or array) to SAP web service from c# .net as input parameter


Re: CRM_ORDER_MAINTAIN Performance Tuning

$
0
0

Hi Luis ,

You got it right. I did..but I had to break up data into packets. per free server available..it works very good if a server is avalable..but was getting hanged when a server is temporarily not available.

I have ..for the time being cahnged the sequesncing..i.e Run 2 , run 1 and then run 3..since run 2 has max data..thats working for me..not sure how this will work in higher data volumes though.

Re: Maintenance Order based on Measuring Points & Counters

Link to download SAPUI5 Toolkit?

$
0
0

Hi,

 

I am new to SAP applications. I want to know the link to download complete SAPUI5 Kit. UI Development Toolkit for HTML5 Developer Center provides the links to download evaluation and demo version. However, I am looking for the official SAPUI5 toolkit download. Please help me to figure it out.

 

Thanks

Senthil

Re: Revalorización de inventario

$
0
0

Gracias por tu aporte Felipe

 

saludos

Re: Unable to use extractor 2LIS_11_VAHDR with Data Services

$
0
0

Hi Abhishek,

 

What version of ECC are you on? Do you know if Data Services will function with the business content extractors on ECC 6 lower versions ? R/3 4.6/4.7?

 

Thanks.

 

Roy

Viewing all 8713 articles
Browse latest View live




Latest Images