BAPI to Upload Sold to Party on Project Definition in Data Migration
Hello All,
I want to migrate around 900 project definitions from legacy system to SAP
I have activated partner determination procedure for our project profile and also want to upload Sold-to-party (customer number) on project fefinition
I am using BAPI "BAPI_PROJECTDEF_CREATE" to upload project definitions where I could not find field for Sold-to-party
Is there any other BAPI for project defnition which can upload this field or otherwise how to upload this particular data
Request you to kindly provide your valuable inputs
Thanks in advance
BR / Mayur
Hi Mayur,
You can make use of the CNEX0006 PS customer specific fields project definition and add Customer Number (Sold to Party) as a field. Then use the BAPI_PROJECTDEF_CREATE and update the customer number accordingly at Proj. Defn level.
Mark this answer as helpful, if it helps answering your question. Wait for other expert comments as well.
Regards
Varun Rudrabhatla
Similar Messages
-
How to stop Third Party Order PR creation in Data Migration
Dear All,
We are having an issue with Purchase Requisition's which are getting created automatically when Third party sales Orders Transaction data is uploaded into the new client. The Third Party Orders already have PR's from MM side in Database. Kindly guide me a known practice to stop this Redundancy.
Regards
VKDear All,
We are having an issue with Purchase Requisition's which are getting created automatically when Third party sales Orders Transaction data is uploaded into the new client. The Third Party Orders already have PR's from MM side in Database. Kindly guide me a known practice to stop this Redundancy.
Regards
In the query, I think the above underlined sentence might gave you a different perception. what i mean is in the source database i.e in The table EBAN we have PR's for the Third party Orders. its my bad if it made you misread.
Regards -
Sold to Party and Ship to Party Function module or BAPI
Hi Experts,
1) I need to create customer data,So i need to Function module or BAPI.
2) Address create data Function module or BAPI.
3) Sold to Party and Ship to Party Function module or BAPI relation ship.
Thank you ,
Dinesh Reddy
Moderator message: anything else? please search for available information before asking.
Edited by: Thomas Zloch on Oct 14, 2011 3:19 PMHi,
Try these Bapis
BAPI_BUS2001_PARTNER_GETDETAIL Get Detail Data for Partner Data
BAPI_BUS2001_PARTNER_GETLIST Get Overview List for Partner Data
Regards,
Prashant -
"sold-to party" role "sales area"
Hi,
I'm working at VAR Solution Manager 7.0 SP17.
When I create a support message from satelllite system or workcenter this support message is created successfully but when I open it at crm_dno_monitor I get two errors:
Pricing data for partner 323 could not be read.
Enter a Currency
About detail error:
Diagnosis
The attempt to read the pricing data for the current, valid business partner from the customer master was unsuccessful.
The access was carried out with sales organization 'O 50000721', distribution channel '' and division ''
If you have maintained a sales area conversion in R/3 that must be loaded per download into the CRM System (tables SMOTVTA and SMOTVKOS), this sales area is converted before the actual access.
System Response
The document is incorrect until the pricing data can be determined.
Procedure
The pricing view is probably missing for your business partner in the customer master. Maintain this data. To do this, you can call up transaction BP for maintaining the business partner. In the locator select your business partner and load it by double-clicking. Choose the "sold-to party" role. Press the "sales area" button and choose the sales area given above. Maintain the incorrect data in the billing data screen.
I know the error reason but I don't know how to solve it. About errors:
BP 323 is the sold-to party so if I go to TA bp->323->sold-to party role->button "sales area data" -> Sales area->Sales Organization any value appears. The same to Distribution Channel field
I know that this error is generated by ppoma_crm configuration so at this TA my conf is:
GRUPOTEC(organizational unit)
tab function->checkbox sales->checked Sales Organization
tab function->checkbox service->checked Service Organization
tab attributes->checked Obj. Permitted in Determination
tab attributes->country->ES
Check consistency->green
GENERAL(organizational unit)
tab function->service->local->checked service team
tab attributes-> sales -> NO checked Obj. Permitted in Determination
tab attributes-> service -> checked Obj. Permitted in Determination
Check consistency->green
GENERAL(manager)
tab attributes-> service -> checked Obj. Permitted in Determination
Check consistency->green
Please could you help me?
Thanks and Regards.
RaulHi Prakhar,
I've checked this parameters and it contains values
spro->CRM->master data->org management->Division Settings->Define Divisions:
Division Description
00 Product Division 00
01 Product Division 01
10 Product Division 10
20 Product Division 20
spro->CRM->master data->org management->Organizational Data for Sales Scenario->Define Distribution Channels
Dist. Chan. Description
01 Distribution channel 01
spro->CRM->master data->org management->Organizational Data for Sales Scenario->Define Combination of Distribution Channel and Division
01 Distribution channel 01 01 Product Division 01
Regards
Raul -
Project Definition Satr and end date
Hello
I have cretaed project with WBSE and Network Activities . Designed for Forward scheduling . The steps are as follows :-
1.After creating the Project Definition , system will provide start date i.e today's date.
2. After Creating Network activities with duration and providing relationships between the activities , then schedule the Project .
3. After scheduling the Project , end date of the project can be seen in the Project definition .
Issue is as follows :-
after confirming the activity , and reschedule the project , system is changing Project Definition start date as well as end date .
required start date should be fixed and end date should be changed according to confirmation of avctivity .
Can u pls suggest what settings are needed .
Regards
DMRHi DMRAO,
Please verify the value that is maintained for field 'Plan.meth/basic' on the control tab of the project definition (Planning Dates). It should be Top Down (using this method whenever a project is saved the system automatically checks the dates within the project structure, if time scheduling is not consistent then the project cannot be saved).
Regards,
Ammar -
Which is the field for Sold-to-party and ship-to-pary in BAPI
i am using BAPI_SALESORDER_CREATEFROMDAT1 This BAPI for sales order creation
but i want to pass sold-to-party and ship-to-party in Header Data
but i can't find that field in BAPI
so please suggest meUse BAPI BAPI_SALESORDER_CREATEFROMDAT2, instead of the above BAPI.
Check this sample. Replace all the values with your test data and check it.
report z_salesorder_create.
data:
order_header_in type bapisdhd1,
return type table of bapiret2,
order_partners type table of bapiparnr,
order_part type bapiparnr,
order_items_in type table of bapisditm,
order_items type bapisditm,
order_items_inx type table of bapisditmx,
order_items_x type bapisditmx,
salesdocument type bapivbeln-vbeln,
order_header_inx type bapisdhd1x.
order_header_inx-doc_type = 'X'.
order_header_inx-sales_org = 'X'.
order_header_inx-distr_chan = 'X'.
order_header_inx-division = 'X'.
order_header_inx-req_date_h = 'X'.
order_header_inx-purch_date = 'X'.
order_header_inx-doc_date = 'X'.
order_header_inx-currency = 'X'.
order_header_inx-sd_doc_cat = 'X'.
order_header_in-doc_type = 'TA'.
order_header_in-sales_org = '1000'.
order_header_in-distr_chan = '12'.
order_header_in-division = '00'.
order_header_in-req_date_h = sy-datum + 7.
order_header_in-purch_date = sy-datum.
order_header_in-doc_date = sy-datum.
order_header_in-currency = 'EUR'.
order_header_in-sd_doc_cat = 'C'.
order_items-itm_number = '000000'.
order_items-material = 'C-1030'. "replace with your material and plant
order_items-plant = '1200'.
order_items-target_qty = '10'.
order_items-target_qu = 'M'.
order_items-sales_unit = 'M'.
append order_items to order_items_in.
order_items_x-itm_number = '000000'.
order_items_x-material = 'X'.
order_items_x-plant = 'X'.
order_items_x-target_qty = 'X'.
order_items_x-target_qu = 'X'.
order_items_x-sales_unit = 'X'.
append order_items_x to order_items_inx.
"Sold to party
order_part-partn_role = 'AG'.
order_part-partn_numb = '0000001033'.
order_part-itm_number = '000000'.
append order_part to order_partners.
"Ship-to party
order_part-partn_role = 'WE'.
order_part-partn_numb = '0000001033'.
order_part-itm_number = '000000'. "<-----For header you need to mention the like this..
append order_part to order_partners.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
order_header_in = order_header_in
order_header_inx = order_header_inx
importing
salesdocument = salesdocument
tables
return = return
order_items_in = order_items_in
order_items_inx = order_items_inx
order_partners = order_partners.
"Read the return with type 'S' if success then commit.
call function 'BAPI_TRANSACTION_COMMIT' -
How to associate Ship-To-Party to a Sold-To-Party using BAPI
I am looking for a BAPI that will allow me to associate existing Ship-To-Party to an existing Sold-To-Party. I tried to search for the BAPI that might do this job but could not find one. Any help is greatly appreciated.
System: SAP R/3 4.7
Edited by: Jignesh Jethva on Nov 19, 2009 12:11 AMHi,
Check table CRMM_BUT_LNK0141 to obtain the sales area of a BP (by BP Guid).
If you need the sales office and sales group, read GuidSet of that table and check table CRMM_BUT_SET0140 to list the sales office and sales group by that Guid set.
There are some function modules too:
CMS_BUPA_ORGDATA_GET_BL among others.
Regards,
Susana Messias -
BAPI to retrieve ship to party for a given sold to party
Hi All,
I have a requirement to get the ship to party details for a sold to party. The scenario is that we are using an excel sheet for order loading at the client's place.
The CSR enters the sold to party in the excel sheet and there is a funcationality developed which will call RFC and connect to SAP. Now for the sold to party entered in the excel sheet, I need to have all the ship to party details for the sold to party entered. Now I need to know if there is a standard BAPI to retrieve all the ship to party.
Kindly let me know if anybody is aware of the standard BAPI for the above requirement.Hi,
I am not sure of any BAPI here.But I will give you the ogic to retrieve all Ship-to-parties for your customer.
Goto T.Code SE11/SE16/SE16n T.Code.
Enter the table name as KNVP.
Enter your sold-to-party here for customer field.Execute or press F8.
Retrieve all the partners and get the ship-to-parties having the partner function "WE".
If you click on display by selecting that line all details will appaear here.
Hope this helps you.
Regards,
Krishna. -
Program terminated error after entering sold to party no. in sales order
hello friends,
can any help me, i was doing the topic of user exit for pre-defined sold to party using v45a0002 in cmod and i wrote a program for include 'if sy-uname= 'sapuser'.
message e000(0) with ' you are not authorised to create so'
endif
while activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite error
after i tried create a order
program terminated error after entering sold to party no. in sales order
so i have deactivated the project created in cmod & deleted the project inspite i am getting the program terminated error
i am sending total error plz reply quickly urgent friends
Runtime Errors SYNTAX_ERROR
Date and Time 19.04.2008 17:51:58
ShrtText
Syntax error in program "SAPLXVVA ".
What happened?
Error in ABAP application program.
The current ABAP program "SAPLVKMP" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "SAPLXVVA ", the following syntax error occurred
in the Include "ZXVVAU04 " in line 5:
"The last statement is not complete (period missing)."
Author and last person to change the Include are:
Author "SAPUSER "
Last changed by "SAPUSER "
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLXVVA ".
You can also perform the syntax check from the ABAP/4 Editor.
If the problem persists, proceed as follows:
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
In program "SAPLXVVA ", the following syntax error occurred:
"The last statement is not complete (period missing)."
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "mtpl7"
Network address.......... "192.100.10.1"
Operating system......... "Windows NT"
Release.................. "5.1"
Hardware type............ "2x Intel 801586"
Character length......... 8 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "MTPL7"
Database type............ "ORACLE"
Database name............ "ERP"
Database owner........... "SAPERP"
Character set............ "English_United State"
SAP kernel............... "640"
Created on............... "Nov 4 2004 23:26:03"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "OCI_920_SHARE "
Patch level.............. "43"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.1.7.., ORACLE 9.2.0.."
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory usage.............
Roll..................... 8112
EM....................... 8362368
Heap..................... 0
Page..................... 122880
MM Used.................. 4229224
MM Free.................. 995472
SAP Release.............. "640"
User and Transaction
Client.............. 800
User................ "SAPUSER"
Language key........ "E"
Transaction......... "VA01 "
Program............. "SAPLVKMP"
Screen.............. "SAPMV45A 4701"
Screen line......... 16
Information on where terminated
The termination occurred in the ABAP program "SAPLVKMP" in
"SD_DETERMINE_KKBER".
The main program was "SAPMV45A ".
The termination occurred in line 0 of the source code of the (Include)
program " "
of the source code of program " " (when calling the editor 00).
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
0
SY-TABIX
1
SY-DBCNT
1
SY-FDPOS
4
SY-LSIND
0
SY-PAGNO
1
SY-LINNO
8
SY-COLNO
1
SY-PFKEY
U
SY-UCOMM
SY-TITLE
Create Standard Order kb: Overview
SY-MSGTY
E
SY-MSGID
VP
SY-MSGNO
106
SY-MSGV1
BUS2032
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
13 FUNCTION SAPLVKMP LVKMPU41 91
SD_DETERMINE_KKBER
12 FUNCTION SAPLVKMP LVKMPU41 91
SD_DETERMINE_KKBER
11 FUNCTION SAPLV09B LV09BU30 148
SD_PCHECK_PAYER_IN_CREDITAREA
10 FUNCTION SAPLV09B LV09BU26 296
SD_PARTNER_EXECUTE_CHECKS
9 FUNCTION SAPLV09B LV09BU25 57
SD_PARTNER_CHECK_BEFORE
8 FUNCTION SAPLV09A LV09AU26 342
SD_PARTNER_SINGLE_MODIFY
7 FORM SAPLV09A LV09AF39 176
PARTNER_SELECTION
6 FUNCTION SAPLV09A LV09AU29 820
SD_PARTNER_DETERMINATION
5 FUNCTION SAPLV05E LV05EU01 654
VIEW_KUAGV
4 FORM SAPMV45A MV45AF0K_KUAGV_SELECT 40
KUAGV_SELECT
3 FORM SAPMV45A MV45AF0A_AUFTRAGGEBER_PRUEFEN 46
AUFTRAGGEBER_PRUEFEN
2 FORM SAPMV45A MV45AF0K_KUNDEN_PRUEFEN 454
KUNDEN_PRUEFEN
1 MODULE (PAI) SAPMV45A MV45AI0K_KUNDEN_PRUEFEN 15
KUNDEN_PRUEFEN
Chosen variables
Name
Val.
No. 13 Ty. FUNCTION
Name SD_DETERMINE_KKBER
I_KKBER_KNVV
2222
0000
I_KKBER_T001
8888
3333
8888
I_KKBER_TVTA
2222
0000
I_KUNNR
7000000000
3333333333
7000000000
I_SPART
SM
54
3D
I_VKORG
T000
5333
4000
I_VTWEG
S4
53
34
XVBAK
00000000000000 000000000000000000000000 00000000
2222222222222333333333333332222222222223333333333333333333333332222222223333333322222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
E_KNVV_FLG
2
0
RC
0
0000
0000
XVBKD[]
Table[initial]
XVBPA[]
Table IT_1743[2x542]
FUNCTION=SD_PCHECK_PAYER_IN_CREDITAREADATA=LVT_CREDIT_XVBPA
Table reference: 275
TABH+ 0(20) = 70A2883B388BC43B0000000013010000CF060000
TABH+ 20(20) = 020000001E020000FFFFFFFF04910100D82F0000
TABH+ 40( 8) = 02000000C1248400
store = 0x70A2883B
ext1 = 0x388BC43B
shmId = 0 (0x00000000)
id = 275 (0x13010000)
label = 1743 (0xCF060000)
fill = 2 (0x02000000)
leng = 542 (0x1E020000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000209
occu = 2 (0x02000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x28C1883B
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 1 (0x01000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 2 (0x02000000)
lineAlloc = 2 (0x02000000)
store_id = 690 (0xB2020000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = 0x00000000
hsdir = 0x00000000
ext2 = 0x28A4883B
>>>>> 2nd level extension part <<<<<
tabhBack = 0x109C883B
delta_head = 000000000000000000000000000000000000000000000000000000000000000000000000
pb_func = 0x00000000
pb_handle = 0x00000000
I_KKBER
2222
0000
FCODE_KOMM_LIEF_MENGE_SICH
MOD2
44432222222222222222
DF420000000000000000
SYST-REPID
SAPLVKMP
5454544522222222222222222222222222222222
310C6BD000000000000000000000000000000000
%_SPACE
2
0
FCODE_KONFIGURATION1
POKO
54442222222222222222
0FBF0000000000000000
CREDIT_CHECK
2222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000
SY-REPID
SAPLVKMP
5454544522222222222222222222222222222222
310C6BD000000000000000000000000000000000
SAV_BUKRS
SS00
5533
3300
CHAR_
2
0
%_DUMMY$$
2222
0000
AUTOMO_VOLVO
08
33
08
SPACE
2
0
FCODE_ABRUF_GENERIEREN
PABG
54442222222222222222
01270000000000000000
XVBRK
00000000 0000000
2222222222222222222222222222222222222222222222223333333322222222223333333222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
KOPGR_LIEFERPLAN
LL
4422
CC00
FCODE_ZUSAETZE_FAB
PFZU
54552222222222222222
06A50000000000000000
FCODE_REPARATUR
PREP
55452222222222222222
02500000000000000000
XVBKD
000000 #####0000000000 ####
2222222222222333333222222222222222222222222222222222222222222222222200000333333333322222220000
000000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000
FCODE_GEFAHRGUT
KGGP
44452222222222222222
B7700000000000000000
I_KKBER_HELP
2222
0000
T001
800SS00SRIYA TEXTILES HYDERABAD IN INR EINT 10K41 0000050495DE1
3335533554542545544452222222222245445444422222222222222224424452244452334332222223333333333443
800330032991045849C530000000000089452121400000000000000009E09E20059E4010B410000000000050495451
FCODE_STOFFBERICHTE
IEHS
44452222222222222222
95830000000000000000
T001-BUKRS
SS00
5533
3300
No. 12 Ty. FUNCTION
Name SD_DETERMINE_KKBER
I_KKBER_KNVV
2222
0000
I_KKBER_T001
8888
3333
8888
I_KKBER_TVTA
2222
0000
I_KUNNR
7000000000
3333333333
7000000000
I_SPART
SM
54
3D
I_VKORG
T000
5333
4000
I_VTWEG
S4
53
34
XVBAK
00000000000000 000000000000000000000000 00000000
2222222222222333333333333332222222222223333333333333333333333332222222223333333322222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
E_KNVV_FLG
2
0
RC
0
0000
0000
XVBKD[]
Table[initial]
XVBPA[]
Table IT_1743[2x542]
I_KKBER
2222
0000
XVBKD
000000 #####0000000000 ####
2222222222222333333222222222222222222222222222222222222222222222222200000333333333322222220000
000000000000000000000000000000000000000000000000000000000000000000000000C000000000000000000000
I_KKBER_HELP
2222
0000
No. 11 Ty. FUNCTION
Name SD_PCHECK_PAYER_IN_CREDITAREA
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_CHECKTYPE
I
4
9
FIF_MSGTYPE
E
4
5
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LVF_KKBER2
2222
0000
LVF_KUNNR
7000000000
3333333333
7000000000
SYST-REPID
SAPLV09B
5454533422222222222222222222222222222222
310C609200000000000000000000000000000000
LVF_KURGV2
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
SY-MSGV4
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
SY-MSGV2
22222222222222222222222222222222222222222222222222
00000000000000000000000000000000000000000000000000
FIS_SDORGDATA-SPART
SM
54
3D
FIS_SDORGDATA-VKORG
T000
5333
4000
FIS_SDORGDATA-VTWEG
S4
53
34
%_O_SD_PARTNER_CONTEXT-HEX_0004
1
0
LVT_CREDIT_XVBPA
Table IT_1743[2x542]
LVF_KKBER1
2222
0000
GCS_HERTAB
ABCDEFG
24444444
01234567
%_DUMMY$$
2222
0000
SY-SUBRC
0
0000
0000
LVF_BEFORE_PARVW
2222
0000
No. 10 Ty. FUNCTION
Name SD_PARTNER_EXECUTE_CHECKS
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BEFORE
2
0
FIF_CHECKTYPE
I
4
9
FIF_DIALOG
2
0
FIF_MSGTYPE_TO_EXEC
E
4222
5000
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LVF_ALL_PREDECESSORS_SUCCEEDED
X
5
8
FALSE
2
0
GS_MARKED_PARTNERS
222222222222
000000000000
LVT_CHECKCALLSTACK
Table IT_1515[21x52]
FUNCTION=SD_PARTNER_EXECUTE_CHECKSDATA=LVT_CHECKCALLSTACK
Table reference: 219
TABH+ 0(20) = E8C3863B0000000000000000DB000000EB050000
TABH+ 20(20) = 1500000034000000F00000000491010058090000
TABH+ 40( 8) = 15000000C1248000
store = 0xE8C3863B
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 219 (0xDB000000)
label = 1515 (0xEB050000)
fill = 21 (0x15000000)
leng = 52 (0x34000000)
loop = 240 (0xF0000000)
xtyp = TYPE#000033
occu = 21 (0x15000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x90BF863B
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 21 (0x15000000)
lineAlloc = 21 (0x15000000)
store_id = 595 (0x53020000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
LVS_CHECKCALLSTACK_WA
80000018BUS2030 SD_PCHECK_PAYER_IN_CREDITAREA XX
3333333345533332225455444445545455445454445454422255
80000018253203000034F03853BF01952F9EF325494125100088
GT_MARKED_FOR_DEL_PARTNERS
Table[initial]
LVS_CHECKCALLSTACK_WA-FUNCNAME
SD_PCHECK_PAYER_IN_CREDITAREA
545544444554545544545444545442
34F03853BF01952F9EF32549412510
GC_NO_ACTION
2
0
GC_NEW_PARTNER
I
4
9
GVC_PARTNER_CONTEXT
CONTEXT_X_SD_PARTNER_CONTEXT fò####################################################
44454555555455455445544454552222222222226F0000000000000000000000000000000000000000000000000000
3FE4584F8F34F0124E52F3FE4584000000000000620000000000000000000000000000000000000000000000000000
GC_ERROR
E
4
5
GC_PROCESSMODE_DIALOG
D
4
4
LVF_MSGTYP
E
4
5
BUFFER_FULL_FILLED
F
4
6
POS_NUL
000000
333333
000000
BUFFER_PARTITIAL_FILLED
P
5
0
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCS_PARTNER_ROLETYPES
0001000200030004000500060007000800090010001100120013NONE
33333333333333333333333333333333333333333333333333334444
0001000200030004000500060007000800090010001100120013EFE5
GCS_PARTNER_TYPE
KUAPLIPE
45454454
B510C905
LVF_RTYPE
0003
3333
0003
GCS_PARTNER_CALL_BACK_EVENTS
CHANGE DELETE NEW
444444222244445422224452222222
381E75000045C5450000E570000000
%_PRINT
000 0 ##
2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCF_INITIAL_PARTNER
0
32
00
GCF_CALLER_TRANSPORT
T
5
4
TPACHECKRELATION
0000000000
2223333333333
0000000000000
GC_APPL_LOG
SDBFPD
54445422222222222222
34260400000000000000
SY-REPID
SAPLV09B
5454533422222222222222222222222222222222
310C609200000000000000000000000000000000
GVC_PARTNER_CONTEXT-B0007-PARVW
RG
54
27
No. 9 Ty. FUNCTION
Name SD_PARTNER_CHECK_BEFORE
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BEFORE
2
0
FIF_CHECKTYPE
I
4
9
FIF_DIALOG
2
0
FIF_NRART
KU
45
B5
FIF_PARGR
TA
5422
4100
FIF_PARNR
7000000000
3333333333
7000000000
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_RTYPE
0003
3333
0003
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FRF_MESSAGES
0
0000
0000
FRF_MESSAGE_COUNT
0
0000
0000
LS_STATISTICS
########################4 ################
00000000000000000000000032220000000000000000
00000000000000000000000040000000000000000000
No. 8 Ty. FUNCTION
Name SD_PARTNER_SINGLE_MODIFY
FIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
FIC_OBJECTTYPE
BUS2032
4553333222
2532032000
FIF_BOKRE
2
0
FIF_CLEAR_APPL_LOG
X
5
8
FIF_DIALOG
2
0
FIF_HARD_DELETION
2
0
FIF_HISTUNR
00
33
00
FIF_HZUOR
00
33
00
FIF_INITIAL_VALUE
X
5
8
FIF_KNREF_PARNR
2222222222
0000000000
FIF_KUNNR_NEW
7000000000
3333333333
7000000000
FIF_KUNNR_OLD
2222222222
0000000000
FIF_LISTPROCESSING
2
0
FIF_MANUAL_ADDRESS
2222222222
0000000000
FIF_MANUAL_ADDRESS_ORIGIN
2
0
FIF_NO_CPD_DIALOG
2
0
FIF_NO_DIALOG
2
0
FIF_NO_MESSAGES
2
0
FIF_PARGR
TA
5422
4100
FIF_PARTIAL_NEW_DETERMINATION
2
0
FIF_PARVW
RG
5422
2700
FIF_POSNR
000000
333333
000000
FIF_PRFRE
2
0
FIF_VKORG
2222
0000
FIS_SDORGDATA
T000S4SMZSOR
533353545545222222
4000343DA3F2000000
FEV_ACTION_DONE
I
4
9
FRF_LOG_COUNT
0
0000
0000
SYST-REPID
SAPLV09A
5454533422222222222222222222222222222222
310C609100000000000000000000000000000000
GVT_LOCAL_CALL_BACK_MEMORY[]
Table[initial]
%_SPACE
2
0
SY-REPID
SAPLV09A
5454533422222222222222222222222222222222
310C609100000000000000000000000000000000
LVF_ACTION_TODO
I
4
9
GC_UPD_PARTNER
U
5
5
%_VIASELSCR
0
4
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
GCS_PARTNER_ROLETYPES-SHIP_TO
0002
3333
0002
LVF_NRART
KU
45
B5
LVF_KUNNR_NEW
7000000000
3333333333
7000000000
GCS_ADDRESS_GROUP
SD01CA01
54334433
34013101
GCF_APPL_TABLE_SD
VBUK
5454222222
625B000000
LVF_ROLETYPE
0003
3333
0003
RSJOBINFO
00000000000000 ####
222222222222222222222222222222223333333333333322222222222222222222222222222222220000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000
LVF_MESSAGE_COUNT
0
0000
0000
%_DUMMY$$
2222
0000
GCF_ADDRESS_TYPE_CONT_PERSON
3
3
3
No. 7 Ty. FORM
Name PARTNER_SELECTION
TVTA
000
222222222222222222222222222222222333222222222222222
000000000000000000000000000000000000000000000000000
TPAER
00
22222222222222332222
00000000000000000000
LVS_XVBPA
000000RG7000000000 0000000000000000000000050510
2222222222222333333543333333333222222222233333333333333333333333333332222222222222222222222222
0000000000000000000277000000000000000000000000000000000000000000505100000000000000000000000000
LVF_PARNR
7000000000
3333333333
7000000000
PIC_OBJECTKEY
2222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000
PIC_OBJECTTYPE
BUS2032
4553333222
2532032000
PIF_NO_DIALOG
2
0
PIF_PARGR
TA
5422
4100
LVF_PARVW
RG
5422
2700
PIF_POSNRHi Kartik,
Could you please be more clearer as to how do you want me to proceed so that this syntax error stops bothering me while creating a standard order thru TCode VA01.Also what do you mean by "well comment the code in the include and activate the include"
I created a projet in CMOD and than added the enhancement V45A0002.The components shown as EXIT_SAPMV45A_002(Predefined sold to party when making the standard order),i double click on the exit and entered into the function module.After that i double clicked on the include ZXVVZU04 and entered in and wrote E_KUNNR=100171
While activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite the error .After that i tried to create a order and program terminated error came after entering sold to party no. in sales order
so now i have deactivated the project which i created in CMOD & deleted the project also inspite of this i am getting the program terminated error while making the order
I would be great ful if somebody helps me *** out of this syntax error.
Thanks
Rishi -
Trying to add sales area data to sold to party in CRM using
Hi all,
i am trying to add sales area data to a sold to party business partner and i used the BAPI BAPI_BUPA_FRG0010_ADD. it executes i dont get runtime error but i get the error "invalid sales and distribution area" in return table.
also i see that the sales area data of the sold to party is not updated after i execute my program
can anyone tell me what i am missing
Edited by: jessica sam on Nov 13, 2008 8:17 PMhey Rob i dont know if the configuration is done.but if i try to create a sold to party business partner in the screen in CRM i sales area data tab----->sales area, i find the drop down list with the values for sales organization, ditribution channel and division.
i am able to create a sold to party in CRM and it is replicating in ECC. but if i try to display the sales area data of a sold to party that i created using the function module BAPI_BUPA_FRG0010_GETDETAIL
it throws me an error saying invalid sales area data.
Also i find that data is there in CRMM_BUT_LNK0021, CRMM_BUT_LNK0031 tables but not even one entry in CRMM_BUT_LNK0011
Also i find that data is there in CRMM_BUT_SET0020, CRMM_BUT_SET0030 tables but not even one entry in CRMM_BUT_SET0010
is some thing missing in functional configuration. the CRM guy did an intial upload from R3 and brought the sales organization to CRM. -
Err.Sold-to party 1 not mainted for sales area EL01 01 01
Hello SAP Gurus
I am trying to save a quote from an external application using .NET connector which calls the bapi 'BAPI_QUOTATION_CREATEFROMDATA2'.
I am getting back an error
E VP 197 Sold-to party 1 not mainted for sales area EL01 01 01 .
I am trying to search for this error on all SAP related areas and am not able to find anything that answers my question.
Any feedback will be highly appreciated.
Thanks
Ram>
Ram Prasad wrote:
> Fortunately or unfortunately I am the only SAP guy in my company and I am actually certified in XI and but am wearing different caps at different time.
..Exactly You remind me my early career of SAP,I was the Only Person In My project,No matters it was kind of Support one,But i had been asked to handle some Tedious Asset Accounting isses-Some how i servived and turn the things around me,And Believe me The Stuff i learnt in such tiny 7 month is far More than i learnt my rest of my Life.
Fortunately~ -
Sales Order Sold-to-party becomes blank after download from ECC
Hi
In our project scenario we creating quotaion in CRM & then uploading it to ECC. I have activated scenario A (note 642944) so that I can change it in both systems. Now problem is when I do some change to it in ECC. The downloaded quotation contains error as Sold-to-Party becomes blank, so are Ship-to-party. I had checked BDOC, it contains one entry for partner, i.e. Payer(PF 4) and not for others. I believe this is the reason for error.
Initially we were not using quotation or sales order download, so no initial load has been done for object SALESDOCUMENT. I have activated for it in R3AC4.
Please help me in resolving it.
Thanx in advance.
Cheers
HitsHi,
If you open the downloaded quotation in ECC in display mode, do you see the sold-to and ship-to values?
If so, then only in the change mode the values are being lost. Am I right? In that case the partner re-determination on ECC may be causing this. Did you check the logs on ECC and CRM for any error on this issue?
Also try creating a quotation in ECC with the same sold-to and ship-to to make sure there is no issue on ECC side.
Reward if it helps
Regards,
Paul Kondaveeti -
CRM To ECC Sold to party Communication Details Not populated in ECC
Hi All
i have one problem when we create sales order through crmd_order we need to give sold to party and ship to party numbers suppose like
8000002166 for both and status i keep as order created and in partner tab i i seem all partner funtions(sold to, ship to ,bill to, payer)with 8000002166
in header overivew i given posting date as feature date like 30-09-2013 then i try to save this order.
the order generated sucussfully but problem is i am not getting sold to party details in ECC when i check VA03 And open cretaed order in CRM and clicking on sold to party and i seem details for this but i am not getting communication details like telephone number and email id extension number.
for this sold to party we already maintained all communication details in CRM.When i open this sold to party BP i am able to see all details
didnt understand why these details not replicated to ECC?
We implemented one custom class there we implemented badi.
IF_EX_CRM_DATAEXCHG_BADI~CRM_DATAEXCH_AFTER_BAPI_FILL
i am not getting BAPI ADDRESS Table values into CT_BAPIADDR1
how can i send communciation details to ECC For sold to party?
The code part we follow like below
TYPES : BEGIN OF t_otc, " Type to create a table with the given columns.
bpid TYPE bu_partner, " variable of store processed business partner ID's
otcid TYPE bu_partner, " variable of store processed OTC ID's
otcguid TYPE bu_partner_guid, " variable of store processed OTC GUID's
address TYPE bapibus1006_address,
tel1_numbr TYPE ad_tlnmbr1,
tel1_ext TYPE ad_tlxtns1,
e_mail TYPE ad_smtpadr,
END OF t_otc.
*& V A R I A B L E S &*
DATA : lv_bp_payer TYPE bu_partner, " Variable To Cast the payer Id into BU_Partner data type.
lv_partner_fct TYPE crmt_partner_fct, " Variable To Store Partner Function Number.
lv_partner TYPE bu_partner, " Variable To Store Current Business Partner ID.
lv_process_type TYPE crmt_process_type, " Variable to Store process type.
lv_sales_org TYPE crmt_sales_org, " Variable to store sales org. name of order
lv_dis_channel TYPE crmt_distribution_channel, " Variable to store distribution channel of order.
lv_division TYPE crmt_division, " Variable to store division of sales org. data.
lv_role TYPE comt_partner_parvw, " Variable to store retrieved role from FM.
lv_role_value TYPE parvw, " Variable to store the role value of Partner Functions.
lv_otc_guid TYPE bu_partner_guid, " Variable to store OTC GUIDs for the OTC ID.
lv_otc_id TYPE kunnr. " Varaible to OTC ID revocered from Table.
DATA: lv_busspartner TYPE bapibus1006_head-bpartner,
lw_central_data TYPE bapibus1006_central,
lw_centraldata_person TYPE bapibus1006_central_person.
*& W O R K A R E A S &*
DATA : lw_address TYPE bapibus1006_address, " Work Area to store address recovered for BPID.
*Start of code change for Defect 904 Fix
lw_tel TYPE bapiadtel,
lw_email TYPE bapiadsmtp.
*End of code change for Defect 904 Fix
*& INTERNAL TABLES &*
DATA : li_otc TYPE TABLE OF t_otc, " Internal Table to Store the OTC IDs and BPS.
li_values TYPE zconst_values_t,
*Start of code change for Defect 904 Fix
li_tel TYPE STANDARD TABLE OF bapiadtel,
li_email TYPE STANDARD TABLE OF bapiadsmtp.
*End of code change for Defect 904 Fix
* F I E L D - S Y M B O L S *
FIELD-SYMBOLS: <f_orderadm> TYPE bad_orderadm_h_mess,
<f_otc> TYPE t_otc, " Field-Symbol to Read the OTC TABLE data.
<f_partner> TYPE bad_partner_mess, " Field-Symbol of Partner Table For Looping.
<f_bapiparnr3> TYPE bapiparnr3, " Field-Symbol to Store The Row of BAPIPARNR3.
<f_bapiaddr1> TYPE bapiaddr1,
<f_orgman> TYPE bad_orgman_mess, " Field-Symbol to Read the ORGMAN table.
<f_values> TYPE zcr_const_values.
*& C O N S T A N T S &*
CONSTANTS : lc_program_name TYPE progname VALUE 'ZOTC',
lc_param_payer TYPE paramname VALUE 'PAYER', " Constant to Store Payer Parameter name.
lc_ref_kind TYPE crmt_object_kind VALUE 'A',
lc_req_1 TYPE zrequest_no VALUE '1',
lc_req_2 TYPE zrequest_no VALUE '2'.
* Retrieving the general and Common Data for a Order.
READ TABLE it_bus_trans_msg-orderadm_h INDEX 1 ASSIGNING <f_orderadm>.
IF sy-subrc EQ 0.
lv_process_type = <f_orderadm>-process_type.
ENDIF.
* Reading the Orgnisation Details from ORGMAN Table.
READ TABLE it_bus_trans_msg-orgman WITH KEY ref_kind = lc_ref_kind ASSIGNING <f_orgman>.
IF sy-subrc EQ 0.
* Storing the Sales Organisational Data to find the OTC_ID.
lv_sales_org = <f_orgman>-sales_org.
lv_dis_channel = <f_orgman>-dis_channel.
lv_division = <f_orgman>-division.
ENDIF.
* Retrieving the partner function number for the payer by giving requirement no 2 and rule no 1.
CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
EXPORTING
pi_program_name = lc_program_name
pi_req_no = lc_req_2
IMPORTING
po_const_values = li_values.
IF sy-subrc <> 0.
RETURN.
ENDIF.
* Reading the value for the constant with the name as PAYER.
READ TABLE li_values WITH KEY param_name = lc_param_payer ASSIGNING <f_values>.
IF sy-subrc NE 0.
RETURN.
ENDIF.
* Retrieving the Partner ID for the PAYER.
READ TABLE it_bus_trans_msg-partner ASSIGNING <f_partner> WITH KEY ref_partner_fct = <f_values>-constant_value.
IF sy-subrc EQ 0.
* Storing the current partner ID.
lv_bp_payer = <f_partner>-ref_partner_no.
ENDIF.
REFRESH li_values.
* Retrieving the Partner Function Number which are to be checked for replacing with the OTC ID with request no 1 and rule no 01.
CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
EXPORTING
pi_program_name = lc_program_name
pi_req_no = lc_req_1
IMPORTING
po_const_values = li_values.
IF sy-subrc <> 0.
RETURN.
ENDIF.
* Transferring the constant value to our table for Partner Fucntion.
LOOP AT li_values ASSIGNING <f_values>.
* Read Partner table for Header data and the reference partner function retrieved.
READ TABLE it_bus_trans_msg-partner WITH KEY ref_kind = lc_ref_kind ref_partner_fct = <f_values>-constant_value ASSIGNING <f_partner>.
IF sy-subrc EQ 0.
* Storing Current Partner Function.
lv_partner_fct = <f_partner>-ref_partner_fct.
* Storing Current Partner No.
lv_partner = <f_partner>-ref_partner_no.
* Retrieving the Partner Role (R/3) for the current partner function of CRM.
CALL FUNCTIONThe problem is in the Lotus Notes security level, not in SAP.
-
How to capture the different sold-to party for a single WBS Element
Hello,
The client wants to automatically populate the Partner field in the WBSE. The Sold-to party that is indicated in the Sales Order will be the same with the Partner Field in the WBSE. I would like to ask regarding on how can we capture the different sold-to party for a single wbs element, since in our project there is a system constraint where it is not possible to have multiple u2018sold tou2019 rows assigned to partner field in the WBSE.
Hoping for your suggestions and comments. Thanks in advance.
- Irica
Edited by: Irica Vaile Dalisay on May 25, 2011 3:45 PMTry using the Customer Enhancement
-
Sold-to-party not getting updated
Hi
we are trnasferring outboud deliveries from system A to system B. in system a the delivery is with reference to order and when it comes to B we have custom delivery type which without order reference. we are using BAPI_OUTB_DELIVERY_CREATENOREF to transfer the delivery. all the data is updated correctly but the sold-to-party is not updated. In fact in the FM there is not import parameter for entering sold-to-party.
In system B we tried to create a delivery without order reference using the same ship to party , in this case the sold-to-party is picked up by the system automatically. So when only replicating with the BAPI the sold-to-party is not picked up automatically. How do i update the sold-to-party. is there any FM to do this??
thanks
sankarTake a look at the OSS note 1069352 - it won't solve the issue but might explain something.
Try using EXTENSION_OUT / EXTENSION_IN to add sold-to. Otherwise you might have to use something different. E.g. FM BAPI_DELIVERYPROCESSING_EXEC technically allows creating the deliveries in a scenario that you're describing:
The preceding document can be in another system. To ensure that the entire requested quantity is generated in the delivering system and the corresponding requirements are planned in the planning system, for example, for cross-system deliveries SAP recommends creating unchecked deliveries (techn_control-check_mode = 'A').
There are also IDocs for deliveries. Hope this helps...
Maybe you are looking for
-
Adding my Macbook Pro to my Apple ID (for Apple Service purposes)
I tried registering/adding my MBP's serial # to my Apple ID but it told me that it's been registered to another Apple ID. Then I think I was able to add it to my Apple ID; but then I'm still waiting for confirmation. I still haven't received the e-ma
-
Acrobat Pro 9- turn of update for all users in terminal environment
I have Adobe Pro 9 installed on several terminal servers. Everytime users login they are seeing an insufficient rights for updating Adobe. I don't want to give them rights but the Configuration Wizard isn't out yet. The sales department conveniently
-
hi icant sync my photos from itunes to iphone ..it shows copying 1 out of something but afterwards it stops and no photos in iphone ..i formatted several times ..and from my utunes i have sync my brothers iphone it synced prefectly only its problm of
-
Does the 12 Watt USB adapter hurt the iPad mini's battery in any way?
Hey. I am looking to buy a 12 watt USB power adapter because my iPad mini takes about 8-12 hours to do a full charge with the 5 watt that was included. Does the 12 watt adapter hurt the battery of the iPad mini in any particular way? (i.e. battery li
-
How do I disable the toolbar across the bottom of Firefox
When I sign on to the internet my default page is Firefox. At the bottom of the page is a banner with icons in it. This is a pain and i do not want it there. Those icons are available else ware on the page