Partner Roles for Ship-To/Bill-To in BAPI SalesOrder
Hi,
I am currently developing a .NET web application that is using BO SalesOrder (e.g. BAPI Bapi_Salesorder_Simulate).
My problem is that I need to list all defined partner roles of a customer (debitor) to give an appropriate selection for the BAPIPARTNR as a SalesOrder parameter
e.g. (specify a Ship-To Address)
[BAPIPARTNR].Partn_Role = "WE"
[BAPIPARTNR].Partn_Numb = "<SAPCustomerNr>"
In the web application I want to list all pre-definied partner roles for "WE" of the given customer to be able to set it as "<SAPCustomerNr>" in the BAPI parameter.
This seemed like a standard requirement to me, but I could not find any BAPIs/RFCs to realize this. Does anybody have a suggestion ?
Thanks for a short reply,
Andreas Koschinsky
Hi again Andreas,
I get the hint, I have included the source together with the corrections you would need to make to get it working in your system (no warranty calls please!).
FUNCTION CUSTOMER_PARTNERFS_GET.
*"*"Local interface:
*" IMPORTING
*" VALUE(IV_KUNNR) LIKE KNA1-KUNNR
*" VALUE(IV_VKORG) LIKE E1KNVVM-VKORG
*" VALUE(IV_VTWEG) LIKE E1KNVVM-VTWEG
*" VALUE(IV_SPART) LIKE E1KNVVM-SPART
*" TABLES
*" ET_E1KNVPM STRUCTURE E1KNVPM
DATA LV_ACCOUNT_GROUP LIKE KNA1-KTOKD.
DATA LS_E1KNVPM LIKE E1KNVPM.
DATA LT_E1KNVPM LIKE E1KNVPM OCCURS 0.
DATA LT_KNVP LIKE KNVP OCCURS 0.
DATA LS_KNVP LIKE KNVP.
>>> BW Omit this section <<<
* Get account group of the current customer
SELECT SINGLE KTOKD FROM KNA1 INTO LV_ACCOUNT_GROUP
WHERE KUNNR = IV_KUNNR.
IF SY-SUBRC NE 0.
* The customer is new so prepare to create roles.
PERFORM CUSTOMER_CREATE_R3FUNCTIONS TABLES LT_E1KNVPM
USING IV_KUNNR
LV_ACCOUNT_GROUP.
ELSE.
>>> Up to here <<<
* The customer exists and has an account group.
* so read the knvp to get all available functions.
SELECT * FROM KNVP INTO TABLE LT_KNVP
WHERE KUNNR = IV_KUNNR
AND VKORG = IV_VKORG
AND VTWEG = IV_VTWEG
AND SPART = IV_SPART.
IF SY-SUBRC = 0.
* data available so read them
LOOP AT LT_KNVP INTO LS_KNVP.
MOVE-CORRESPONDING LS_KNVP TO LS_E1KNVPM.
PERFORM PARTNER_NUMBER_EXTRACT(SAPLVV01) USING LS_KNVP
CHANGING LS_E1KNVPM-KUNN2 .
APPEND LS_E1KNVPM TO LT_E1KNVPM.
CLEAR LS_KNVP.
ENDLOOP.
>>> BW Omit this section <<<
ELSE.
* create new roles according to the delivered salesarea
PERFORM CUSTOMER_CREATE_R3FUNCTIONS TABLES LT_E1KNVPM
USING IV_KUNNR
LV_ACCOUNT_GROUP.
ENDIF.
>>> Up to here <<< <<< - moved this line in change
ENDIF.
ET_E1KNVPM[] = LT_E1KNVPM[].
ENDFUNCTION.
That should get you going.
Cheers,
Brad
Oops! Just made a small change to ensure that the if statement was correctly closed.
Message was edited by: Brad Williams
Similar Messages
-
How to Created custom report for Ship not Billed (SD/FI)?
Hi all,
I am anticipating to write some abap reports..Here is one of them..
Anyone can help me with writing a Report , how to do 'Custom Report for shipped not Billed(SD/FI)' ..But since I am new to Abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea, how it can be acheived...what kind of report should be used , techniques, tables etc...:)
Appreciate your help!
Regards,
BobyHi Boby,
You need to create custom transaction to achive these results.
you will have selection-screen ,it would be :
Date : Here date would be mandatory - Ranges Option
Customer - Optional field - Ranges
Order # Sales Order (Optional) Ranges
Invoice # - Invoice # (Optional) Ranges
You will get the data based on ur selection-screen criteria ...
First you will have customer order details from diffrent table
VBAK,
VBAP,
LIKP
LIPS
VBRK,
VBRP
KNA1,
VBFA Tables ( See the my sample program )
Output would be :
Customer # Custome Name Order # Delivery # Invoice # Netpr, Netquantity ,
Check the condition whether invoice table has VBRK-RFBSK = ''.
See the my sample program : This is sales report by monthly..
REPORT ZFDSALES_REPORT no standard page heading
message-id zwave.
Data Declaration Part
TYPE-POOLS
type-pools : slis.
Tables
tables : VBAK,
VBAP.
Internal table for VBAK Table
data : begin of i_vbak occurs 0,
vbeln like vbak-vbeln,
bstnk like vbak-bstnk,
vdatu like vbak-vdatu,
end of i_vbak.
Internal table for VBAP and MATNR
data : begin of i_vbap occurs 0,
vbeln like vbap-vbeln,
matnr like vbap-matnr,
kdmat like vbap-kdmat,
kwmeng like vbap-kwmeng,
netpr like vbap-netpr,
maktx like makt-maktx,
end of i_vbap.
Internal tables
data : begin of i_sales occurs 0,
vdatu like vbak-vdatu,
bstnk like vbak-bstnk,
matnr like vbap-matnr,
maktx like makt-maktx,
kdmat like vbap-kdmat,
kwmeng like vbap-kwmeng,
netpr like vbap-netpr,
end of i_sales.
Variable for ALV
data : v_repid like sy-repid,
gt_fieldcat type slis_t_fieldcat_alv.
Selection-screen
selection-screen : begin of block blk with frame title text-001.
select-options : s_vbeln for vbak-vbeln,
s_erdat for vbak-erdat,
s_ernam for vbak-ernam,
s_vdatu for vbak-vdatu obligatory,
s_BSTNK for vbak-BSTNK,
s_KUNNR for vbak-kunnr,
s_matnr for vbap-matnr,
s_KDMAT for vbap-KDMAT.
selection-screen : end of block blk.
Initilization
initialization.
v_repid = sy-repid.
S T A R T - O F - S E L E C T I O N ****************
start-of-selection.
Get the data from VBAK and VBAP Tables
perform get_vbak_vbap.
E N D - O F - S E L E C T I O N *****************
end-of-selection.
Display the data
perform dispolay_data.
*& Form get_vbak_vbap
Get the data from VBAK and VBAP Table
FORM get_vbak_vbap.
Get the data from VBAK Table
select vbeln bstnk vdatu from vbak into table i_vbak
where vbeln in s_vbeln
and bstnk in s_bstnk
and vdatu in s_vdatu
and kunnr in s_kunnr
and erdat in s_erdat
and ernam in s_ernam.
if sy-subrc ne 0.
message e000(zwave) with 'No data found for given selection'.
endif.
Get the data from VBAP Table
select avbeln amatnr akdmat akwmeng a~netpr
b~maktx into table i_vbap
from vbap as a inner join makt as b on bmatnr = amatnr
for all entries in i_vbak
where a~vbeln in s_vbeln
and a~kdmat in s_kdmat
and a~abgru = space
and a~matnr in s_matnr
and a~matnr ne '000000000000009999'
and a~matnr ne '000000000000004444'
and a~matnr ne '000000000000008888'
and a~matnr ne '000000000000001111'
and a~werks = '1000'
and b~spras = 'E'
and a~vbeln = i_vbak-vbeln.
if sy-subrc ne 0.
message e000(zwave) with 'No data found for given selection'.
endif.
sort i_vbak by vbeln.
sort i_vbap by vbeln matnr.
loop at i_vbap.
read table i_vbak with key vbeln = i_vbap-vbeln
binary search.
if sy-subrc eq 0.
i_sales-bstnk = i_vbak-bstnk.
i_sales-vdatu = i_vbak-vdatu.
i_sales-matnr = i_vbap-matnr.
i_sales-kdmat = i_vbap-kdmat.
i_sales-maktx = i_vbap-maktx.
i_sales-netpr = i_vbap-netpr.
i_sales-kwmeng = i_vbap-kwmeng.
append i_sales.
else.
continue.
endif.
clear : i_sales,
i_vbap,
i_vbak.
endloop.
sort i_sales by vdatu bstnk matnr.
refresh : i_vbap,
i_vbak.
ENDFORM. " get_vbak_vbap
*& Form dispolay_data
Display the data
FORM dispolay_data.
Fill the Fiedlcat
PERFORM fieldcat_init using gt_fieldcat[].
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
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 =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = gt_fieldcat[]
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_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = i_sales
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDFORM. " dispolay_data
*& Form fieldcat_init
text
-->P_GT_FIELDCAT[] text
FORM fieldcat_init USING e01_lt_fieldcat type slis_t_fieldcat_alv.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
Delivery Date
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'VDATU'.
LS_FIELDCAT-OUTPUTLEN = 12.
LS_FIELDCAT-TABNAME = 'I_SALES'.
ls_fieldcat-seltext_L = 'Delivery Date'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Purchase Order #Material Description
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'BSTNK'.
LS_FIELDCAT-OUTPUTLEN = 25.
LS_FIELDCAT-TABNAME = 'I_SALES'.
ls_fieldcat-seltext_L = 'Purchase Order #'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Material
CLEAR LS_FIELDCAT.
LS_FIELDCAT-REF_FIELDNAME = 'MATNR'.
LS_FIELDCAT-REF_TABNAME = 'MARA'.
LS_FIELDCAT-FIELDNAME = 'MATNR'.
LS_FIELDCAT-TABNAME = 'I_SALES'.
ls_fieldcat-seltext_L = 'Material #'.
ls_fieldcat-seltext_M = 'Material #'.
ls_fieldcat-seltext_S = 'Material #'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Material Description
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'MAKTX'.
LS_FIELDCAT-OUTPUTLEN = 40.
LS_FIELDCAT-TABNAME = 'I_SALES'.
ls_fieldcat-seltext_L = 'Material Description'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Customer Material #
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'KDMAT'.
LS_FIELDCAT-OUTPUTLEN = 35.
LS_FIELDCAT-TABNAME = 'I_SALES'.
ls_fieldcat-seltext_L = 'Customer material no.'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Quantity
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'KWMENG'.
LS_FIELDCAT-OUTPUTLEN = 15.
LS_FIELDCAT-TABNAME = 'I_SALES'.
ls_fieldcat-seltext_L = 'Quantity'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
Net Price
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'NETPR'.
LS_FIELDCAT-OUTPUTLEN = 15.
LS_FIELDCAT-TABNAME = 'I_SALES'.
ls_fieldcat-seltext_L = 'Net Price'.
APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
ENDFORM. " fieldcat_init
Reward Points if it is helpful
Thanks
Seshu -
E-Recruiting 6.0: Business Partner Role For Branches
Hi Experts,
In the IMG, SAP E-Recruiting > Basic Settings > Enterprise Structure > Define Business Partner Role for Branches
Can anyone help in the following:
1) What is the purpose of Business Partner Role and how does it relate the Branches? Or how can i make use of it?
2) If i am going to maintain the Company & Branches via the Administrator function instead of IMG, do I still need to configure this step: Define Business Partner Role for Branches
Thanks. Will reward points for any helpful tips.
WilliamHello William,
the Business Partner is an application / module which belongs to the base components of the SAP. It is used and partly extended by various other applications / modules. Next to E-Recruiting it is used for example by CRM and the financial service solution (FS-CS, FS-PM, FS-RI). All of these modules can put their data for a person or an organization into the same tables. Depending on the installation / system environment or even within one single module the requirements for available fields and business checks as on authorization differ between kinds of business partners (e.g. in FS-CS the commission solution for the financial service sector knows external agents and internal employees which have to be treated differently). The business partner is the element to assign the logical / business role in which a person is handled by the system.
For E-Recruiting you have 2 kinds of business partners, too. On the one and there are people being candidates and on the other hand there are branches of your company which hire people. The configuration allows you to seperate them if you need to identify anywhen which business partner is a branch and which is a candidate. So far I never tried if this is really working as there is no real use for this I never set it up. The attributes and the business checks are the same anyways.
Hope that helps a bit to understand the context
Best Regards
Roman Weise
PS: please remember that you have to maintain the branches via administrator bsp application. Using the IMG entry won't work. -
Creation of partner roles for customer master
Hello,
when I try to create one or more partner roles while creating a customer with IDOC DEBMAS basic type DEBMAS06 I get the error message:
No customer ID found for partner .
The required fields PARVW and KUNN2 are filled with valid values.
Can anybody help ?
Regards
AlexHi Alex,
Could you specify what error message you are getting?
Thanks!
Rudra -
EDI: partner profile for shipping point or plant
I want to issue idocs for delivery notes based on shipping point or plant, not shipto party as is usual.
How can I go about this?
It looks like I need to create a new partner type. Or can I use logical systems?
If logical system is used, then how do I make the connection document->LS?
The external system uses the RCVPRN to determine which warehouse to handle the delivery for.
I am changing the RCVPRN in a user exit now, but this still requires creating/ changing all partner profiles for shipto parties.
Any ideas? previous experiences?
Thanks,
phillipHi Phillip,
it looks like I need to create a new partner type. Or can I use logical systems?
> Yes, you can use LS
If logical system is used, then how do I make the connection document->LS?
> You can use FM: MASTER_IDOC_DISTRIBUTE to send the outbound IDOC...
Regards,
Hendy -
Table for shipping and billing documents ?
hi experts,
how can we come to know that what shipping (VL01n), and billing(VF01) documents has been created for any particular date.
actually the problem is that i want to modify some documents that i have created a few days ago, plz help me?
thanks in advance.Hi Vishal,
Some of the tables for Delivery and Billing are LIKP, LIPS, VBRK, VBRP, ...
If you want to modify document, modify at transaction level and it is not recommended to go and do the changes in the tables, as it is difficult to understand the impact of the same. if it is done at table level.
Assuming that you want to amend the quantity in Delivery and billing of the same, some of the recommended options are:
1. Cancel the Billing Document >> Reverse Post goods Issue >> make necessary changes in the quantity >> again do PGI >> Billing.
2. Create a return document to for necessary quantity >> Return delivery >> Post Goods receipt >> Credit Note (optional)
In the case of Price difference, follow the path of Debit Memo, Credit Memo or Invoice correction.
Identify Standard solution, so that it will update all the tables and records necessary.
Regards,
Rajesh Banka -
The same output message for different partner roles
Hi All,
Is it possible to create automaticaly in PO the same output message type ( for example - 'mail') for different partner roles( for example - 'VN' and 'OA') ?
If it's possible,then how?
Thanks.
LizaHi,
Thank you ,but I have a next problem:
When I tried in transaction mn05 to add second record for the same output type for other partner roles.
I got error message "The condition record entered already exists".
Regards,
L. -
Automatic Vendor Evaluation - Partner Roles
Hi SAP Gurus,
Please try to help me with the following scenario.
My client has different Goods Suppliers (GS1, GS2 and GS3) for a particular vendor (VN). They have been attached as three different partner roles for the vendor (VN).
They do evaluation for QUALITY - Subcriteria GR Inspection for each of the manufacturing locations (GS1, GS2 and GS3) through Automatic Vendor Evaluation for Quality - at GR Inspection.
The question is, when an Automatic Evaluation for Quality is done at the main vendor (VN) level, will those scores which have already been evaluated at the three Goods Supplier locations (GS1, GS2 and GS3), will be considered for the Automatic Vendor Evaluation for Quality - at GR Inspection at the main Vendor (VN) level?
Thanks in advanceIt is consider only main vendor not GS level
-
Hello gurus,
short and simple question (cannot test it myself right now):
I defined a partner determination procedure for a certain PO document type (e.g. with just one role).
Then I created a vendor master, but did NOT maintain any partner roles in it.
Now, if I create a PO for that vendor, SAP will still create one partner role in the PO with the vendors vendor number in it, correct?
So this means, there is no need to maintain the partner role for all existing partners, right?
Thanks
AliciaOk, I found out myself: Fact is, if there are no partner roles maintained in vendor master, the system automatically selects the vendor number as a partner in the PO. But there is a warning that the specific partner role has not been created in vendor master.
So, you do not really have to maintain partner roles in vendor master, but it will give you annoying warnings if you do not. -
Hi,
I'm creating a partner role for Plant & S.Loc.
I selected a role type
For the role type when I select transport system (F4) getting msg "no values".
I have a transport system created.
Pls help me in solving this.Hi
Please enter correct transport system you created by copy pest from O4TV transaction ... -
Incorrect display Business Partner roles when creating Individual account
Hi,
The problem occurs in CRM 5.2. I have changed some business partner roles for both the business partner categories 'Organization' & 'Person'. My settings al correctly displayed in de SAP GUI but not in de webclient (my new business partner roles are only displayed correctly for 'Corporate Account' but not for 'Individual Account'.)
Does anyone has a clue?
Kind regards,
Nigel de la RambeljeHi Joost,
Thank you for your reply.
The issue is that different roles are displayed in the webclient compared to the gui.
For the business partner category 'Person' the following roles are displayed: Contact Person, Employee, Portal Provider & Sold-to Party (and which are the roles we would like to have).
But, if I create an Individual Account in the webclient, the following roles are displayed: Member, Patient, Physician, Portal Provider & Sold-To Party. The roles Member, Patient and Physician should not be displayed. Where are these roles defined? I would like to hide these roles.
Kind regards,
Nigel -
Partner roles in vendor master
Dear All,
we have raised a PO to vendor 400035, goods are supplied from vendor 400036 and invoice is received from vendor 400037. we have defined partner roles for vendor 400035(<b>account group COMP</b>).
VN-400035
GS-400036
IP-400037.
These partner roles are assigned to account group:
GS-0001- GOODS SUPPLIER
IP-0002-INVOICING PARTY
Defined partner schema H1 under partner settings in vendor master record.
this schema is assigned to account group COMP( That have vendor 4500035) at POrg, VSR, Plant Level.
Partner schema for purchasing document is defined.
it is assigned to document type.
<u><b>ISSUE</b></u>
1.When we are raising a PO the schema is appearing in partner Tab. The different invoicing party 400037 is pulled from vendor master record into PO. when doing <b>MIRO</b>, it is not appearing subsequently as the default value when invoice is posted. in MIRO it is appearing as 400035 instead of 400037.
2.same is the case in MIGO, in partner TAB 400035 is appearing instead of 400036.
please help on both issues where invoicing party should appear autimatically in MIRO and goods supplier in MIGO.
<u><b>QUESTIONS</b></u>
1. Is it necessary to have VN in schema. is the partner role VN required in schema. if VN is removed output determination doesnot take place.
2. what is difference between assigning vendor role to account group and to a document type? why it is required ?
can be use only one of them.
regardsHi,
There are just 4 mandatory steps:
1: Define partner role
2: Define permisssable partner roles per account group
3: Define Partner Schemas
4: Assign Partner Schemas to Account Groups
You have setup your partner determination on purchasing org level.
But you forgot that you create a purchase order on plant level, which is a lower (more detailed) level. If the higher level box is left blank in your partner determination setup, then SAP tries to find partner on plant level. As you don't have partner on plant level maintained in your vendor, SAP can't find the vendor.
IMG > Materials Management > Purchasing > Partner determination > Partner Settings in Purchasing Documents > Define Partner Schemas
select your partner schema and then double click Partner roles in schema on the left.
In the appearing screen you can see the colomn for higher level
Then create a fresh PO and check.
Go through the below link:
http://help.sap.com/saphelp_47x200/helpdata/en/a1/7b373944f7a97ce10000000a114084/frameset.htm
Hope this clarifies.
Thanks,
Viswanath -
CRMXIF_ORDER_SAVE for deletion of partner-role
Hello there,
I need to delete a partner-role from an order so I'm using BAPI CRMXIF_ORDER_SAVE. However, the partner is not being deleted. Please have a look at the content of the CRMXIF_BUSTRANS_T structure:
OBJECT_TASK U
OBJECT_GUID 46986070E6C6005702000000C0A8974B
OBJECT_ID
PROCESS_TYPE 0
OBJECT_TYPE BUS2000126
POSTING_DATE 20070730
DESCRIPTION Systemtechnik S1
DESCR_LANGUAGE D
DESCR_LANGUAGE_ISO
LOGICAL_SYSTEM
CRM_RELEASE
CLIENT
CREATED_AT 0
CREATED_BY
CHANGED_AT 0
CHANGED_BY
LOCAL_TIMEZONE
ARCHIVING_FLAG
OBJECT_ID_OK
HIGHEST_ITEM_NO 0
CRM_CHANGED_AT 0
DESCRIPTION_UC
EARLY_ORDER_NO
CALC_SCHEMA
SCENARIO
TEMPLATE_TYPE
VALID_FROM_EXT 0
VERIFY_DATE 0
ACTIVITY
LEAD
OPPORTUNITY
PARTNER
PARTNER_NO 260485
PARTNER_GUID
ALT_PARTNER_NO
ALT_PARTNER_NO_TYPE
IDENT_NUMBERS Table[initial]
PARTNER_FCT 15
PARTNER_PFT
PFT_SUBTYPE
MAINPARTNER
RELATION_PARTNER_NO
RELATION_PARTNER_GUID
CALENDAR
DISABLED
KIND_OF_ENTRY
ADDR_ORIGIN
STD_BP_ADDRESS
ADDR_OPERATION
ADDR_NR
ADDR_NP
ADDR_TYPE
DISPLAY_TYPE
ERROR_FLAG
DOC_ADDRESS
TERRITORY Table[initial]
OBJECT_TASK D
INPUT_FIELDS
ORGDATA
PRICING_PARAMS
BILLPLAN
BILLING
CANCELATION
SUBJECT
REF_OBJECT
SALES
SHIPPING
PAYPLAN
DATES
CUMULATION_HEAD
CONDENSED_STATUS
STATUS
DOC_FLOW
ATTACHMENT_LINK Table[initial]
TEXT
CUSTOMER_H
IPM_RCHAR
ITEM Table[initial]
CONTROL_SWITCHES
INPUT_FIELDS
Adding new partners to the order is working fine though.
Is there anything I got wrong?
Regards,
AnjaI still could use a little help here. For better testing I extracted the relevant coding into an evaluation-report:
DATA data TYPE crmxif_bustrans_t.
DATA is_data TYPE crmxif_bustrans.
data is_data_f type CRMXIF_BUSTRANS_F.
DATA is_actx TYPE crmxif_activity_x.
DATA is_act TYPE crmxif_activity.
DATA is_datesx TYPE crmxif_appointment_xt.
DATA it_dates TYPE crmxif_appointment_t.
DATA is_dates TYPE crmxif_appointment.
DATA is_statusx TYPE crmxif_status_xt.
DATA it_status TYPE crmxif_status_t.
DATA is_status TYPE crmxif_status.
DATA it_partnerx TYPE crmxif_partner_xt.
DATA it_partner TYPE crmxif_partner_t.
DATA is_partner TYPE crmxif_partner.
DATA is_partner_f TYPE crmxif_partner_f.
DATA lv_return TYPE bapiretm.
* HEADER
is_data-object_task = 'U'.
is_data-object_guid = '46AE8865377D005900000000C0A8974B'.
is_data-process_type = '0000'.
is_data-object_type = 'BUS2000126'.
is_data-posting_date = '20070731'.
is_data-description = 'Systemtechnik S1'.
is_data-descr_language = 'D'.
* ACTIVITY
is_act-category = 'Z99'.
is_act-extern_act_id = '420006760000124133'.
MOVE is_act TO is_actx-data.
is_actx-datax = 'X'.
MOVE is_actx TO is_data-activity.
* DATES
is_dates-appt_type = 'ORDERACTUAL'.
is_dates-timestamp_from = '20070801070000'.
is_dates-timestamp_to = '20070802130000'.
APPEND is_dates TO it_dates.
MOVE it_dates TO is_datesx-data.
is_datesx-datax = 'X'.
MOVE is_datesx TO is_data-dates.
*STATUS
is_status-status = 'E0003'.
is_status-user_stat_proc = 'CRMACTIV'.
is_status-active = 'X'.
is_status-language = 'D'.
append is_status to it_status.
move it_status to is_statusx-data.
is_statusx-datax = 'X'.
move is_statusx to is_data-status.
* PARTNER
is_partner-partner_guid = '42004B723E57004300000000C0A89748'.
is_partner-partner_fct = '00000015'.
is_partner-object_task = 'D'.
is_partner_f-partner_guid = 'X'.
is_partner_f-partner_fct = 'X'.
move is_partner_f to is_partner-INPUT_FIELDS.
APPEND is_partner TO it_partner.
MOVE it_partner TO it_partnerx-data.
it_partnerx-datax = 'X'.
MOVE it_partnerx TO is_data-partner.
APPEND is_data TO data.
CALL FUNCTION 'CRMXIF_ORDER_SAVE'
EXPORTING
data = data
IMPORTING
return = lv_return.
COMMIT WORK.
Does s.o. see anything conspicuous?
Regards,
Anja -
Vendor Creation ,Partner role OA not allowed for Vendor of a/c group ZLOV
Dear Freinds,
I am facing problem of Vendor creation , i am getting message PARTNER ROLE OA NOT ALLOWED FOR VENDOR OF ACCOUNT GROUP ZLOV.
While creation of Vendor in Partner function i could not enter partner number, system is not accepting any data, message is getting as above.due to which i could not create any vendor.
Presently I am in process/ setting of ERS functionality in MM,
now all my Vendor creation is stuck up ,
please help me how to solve the problem
Regards
DilipHi Dilip,
Check first have you Define Permissible Partner Roles per Account Group..
Check the path:
SPRO-Materials Management-Purchasing-Partner Determination-Define Permissible Partner Roles per Account Group
Here check whether OA is assigned with ZLOV or not...If no then click on new entries and enter partner function as OA and Vendor account group ZLOV...Save nd come out...
Now proceed...Hope it helps..
Utsav -
No business partner found for ERP partner "Vendor" (role:LF)
Dear Experts,
When we create Inbound Delivery in ERP, it is getting distributed.
But the IBD is not created in EWM.
We checked in SLG1 and the deliveries were failed in the queue.
The error message says "No business partner found for ERP partner EWM_TEST (role:LF)".
We have maintained Business partner and IT type = CRM004 in Identification Tab.
Still, no idea how we can solve this issue.
Please suggest with your valuable inputs.
Thanks,
ShettyHi Ulf ,
Yes i have CIF ed vendor and seems ok now , but while task creation am getting error Please refer below screen shots and kindly guide me on error message .
Maybe you are looking for
-
How to cancel my backup storage plan?
How can i cancel my bicloud backup storage plan?
-
Hi experts - is there a way to compare different versions of the same workflow? I'm familiar with displaying the different versions, but I'm interested in having a side-by-side comparison between versions, much as we can with ABAP code. Thanks for
-
Iphone 4 stuck in recovery mode loop (non-jailbroken)
This is frustrating me to no end!! I tried to update my iphone 4 to IOS6 via itunes, didn't work because my mac needed at least itunes 6.3.1 but it said everything was up to date. So i tried using a newer mac with an updated itunes, failed after abou
-
What are the improvements in versions 7.0
I know portal is a must BFR are added in Version what elese is improved or introduced in 7.0 over previous versions
-
hy! one more question: is it true, that each page in the folder "WEB-INF" or a subfolder of "WEB-INF" cannot be reached from the address line? or does the action also be in the mentioned folder? or is this nonesense?? if yes, how can i make my projec